MACALL

The MACALL option allows you to define the format of the MACALL postprocessor command.

 
APT Command

 

Description:

This command generates code to execute a previously defined subroutine.

 

Parameter Definitions:

1 ."n" defines the subroutine to which the control will branch.

2. "NUMBER,m,n" specifies the starting and ending sequence numbers of the subroutine.

3. "REPEAT,r" specifies the number of times the subroutine is to be repeated. If "r" is not programmed, the subroutine will be executed only once.

4. "AUTO" outputs modal G code that causes subroutine to be called at every motion block.

5. "AUTO,OFF" outputs G code to cancel the modal G code.

 

Considerations:

1. MACALL should not be programmed between MACST and MACND commands.

2. The word "NUMBER" must be programmed if two numbers are required for the calling sequence.

 

ISO Command

None

 

APT Command

MACH/mdf name (without extension)

 

Description:

This command will invoke a Machine Data File. The character "without extension" is the MDF name. This provides a convenient way of switching MDF files within the same part program.

 

 Parameter Definitions:

1. The character string is the name of an existing Machine Data File (without extension). If the name specification has no path, the current directory is first searched. If the file is not found in the current directory, the directory defined by the environment variable UGII_MDF_DIR is searched next. Finally, if the file is not found there, the directory defined by the environment variable UGII_UTIL is searched.

 

ISO Command

MACH/mdf name (without extension)

 

MACALL - MDFG Options

When you select MACALL, you have the following options.

This option allows you to specify the validity and value of the Non-Modal G Code, the Modal G Code, and the G Code To Cancel The Modal G Code.

You are prompted for the validity and format of MACST Word Address Code. You are also asked if you want sequence numbers in MACST blocks.

You are prompted for the validity and format of MACND Word Address Code. You are also asked if you want sequence numbers in MACND blocks.

You are prompted for the validity and format of MACALL Word Address Code. You are also asked if you want sequence numbers in MACALL blocks.

You are prompted for the validity and format of MACALL 2ND NUMBER Word Address code. You are also asked if you want sequence numbers in MACALL 2ND NUMBER blocks.

You are prompted for the validity and format of MACALL REPEAT Word Address code. You are also asked if you want sequence numbers in MACALL REPEAT blocks.

 

MACND

 
APT Command

MACND

 

Description:

This command is used to terminate the definition of a subroutine.

 

Parameter Definitions:

"n" is a number that designates the number of the subroutine being defined.

 

Considerations:

None

 

ISO Command

None

 

MACST

 
APT Command

MACST/n

 

Description:

This command generates code to define a subroutine.

 

Parameter Definitions:

"n" designates the number of the subroutine being defined.

 

Considerations:

None

 

ISO Command

None

 

MCHTOL

 
APT Command

MCHTOL/n

 

Description:

This command accepts the programmed value for the allowable overshoot for deceleration span calculations.

 

Parameter Definitions:

"n" is the allowable overshoot in inches or millimeters.

Considerations:

1. "n" must be in the same units as the overshoot values that were used to build the maximum feed rate and allowable overshoot value table in the MDF.

2. If "MCHTOL/n" is not programmed, GPM will use the default value assigned in the MDF.

3. This command provides input for calculating deceleration spans specifically for Cincinnati Acramatic IV controls. See description in Section 3 of MDFG System Operation Manual for possible adaptation to requirements of other controls.

 

APT Command

None