Specification of the text to be replaced (P-CHAN-00062)
With this element the text to be replaced can be specified.
Variable name | Type | Permitted range | Dimension |
nc_code | NC_CODE | String | ---- |
The structure NC_CODE consists of the following array:
Variable name | Type | Index | Dimension |
zeichen[m] | ISG_CHAR | m = 0 ... [MAKRO_ERSATZ_LAENGE - 1] | ---- |
Value MAKRO_ERSATZ_LAENGE | Significance |
---|---|
application-dependent | Maximum number of characters of the text to be replaced. |
EXAMPLE: The parameter calculation should be replaced by the string "CODE_1".
Extract from channel parameters list:
# Definition of symbolic character chains
#
makro_def[4].symbol CODE_1
makro_def[4].nc_code P5 = P2 + 3
EXAMPLE: The programming of traverse movement is to be replaced by the string “CODE_2”.
Extract from channel parameters list:
# Definition of symbolic character chains
#
makro_def[6].symbol CODE_2
makro_def[6].nc_code G01 G91 X10 Y20 F100