Outputting additional informations at block end (#ADD)
The #ADD command can be used to create additional information in the NC block. The possibilities for structuring this additional information (message texts) are fully identical to the scope of the #MSG commands. However, as opposed to the #MSG commands, different NC commands can be programmed before #ADD. Therefore, #ADD must always be programmed as the last command at NC block end. The following comments are permitted.
Syntax: |
#ADD [<receiver>] ["<additional_information>"] |
It is not necessary to specify a mode (SYN) as this would produce an error message since the message is automatically always output synchronously to the processing state in the interpolator.
The same requirements as for the #MSG commands apply to the receiver specification.
Additional information must be enclosed in quotation marks "...".
Programming Example
Outputting additional information at block end