Macro definition and initialization

Symbolic character strings may be defined in the channel parameters list [1]-4 or via the NC program. The following syntax is required in the NC program:

"<Macro_name>" = "<NC_Code>"

<Macro_name> Macro name

<NC_Code> Character string to be replaced

The macro name (left-hand side of the assignment) and the text that is to be replaced (right-hand side) must both be enclosed in quotation marks. Decoding distinguishes between upper and lower case letters. It is firmly given, wether previously defined macros may be redefined or not [6]-6.39. The macro definitions are valid across programs and are retained up to the next start-up (provided that the initialization of the macro table is not explicitly programmed). The maximum number of macro definitions [6]-6.25 and their length [6]-6.37/-6.38 are firmly given.

Macro definitions and other commands may be together in the same block.

The following command must be used for initializing the macro table

#INIT MAKRO TAB 

This command clears all macro definitions in the macro table that have previously been defined. The macros that have been pre-assigned via the channel parameters list [1]-4 are retained.