Specification of macro content (P-CHAN-00062)

P-CHAN-00062

Specify macro content

Description

This parameter specifies the macro content (NC syntax).

Parameter

makro_def[i].nc_code

Data type

STRING

Data range

Maximum of 80 characters (application-specific)

Dimension

----

Default value

*

Remarks

Example 1: The parameter calculation is replaced by the macro CALC_P5.

makro_def[4].symbol       CALC_P5

makro_def[4].nc_code     P5 = P2 + 3

 

Example 2: The programming of a motion block is replaced by the macro RELPOS1.

makro_def[6].symbol      RELPOS1

makro_def[6].nc_code    G01 G91 X10 Y20 F100

* Note: The default value of variables is a blank string.