System
8.4 SYSTEM - "Service display"
Cylindrical grinding
136
Programming and Operating Manual, 07/2009, 6FC5398-4CP10-2BA0
Table 8- 4
Message text contains a variable
N10 R12=$AA_IW[X]
; Actual position of the X axis in
R12
N20 MSG ("Check position of X axis"<<R12<<)
; Activate message
N20 X… Y… N …
N…
N90 MSG ()
; Delete message from the alarm
display
To output messages to other interfaces, an additional command is located in front of the
actual message text that defines the output interface of this message.
Table 8- 5
Messages to the RS232 output interface
N20 MSG ("V24: Roughing the contour")
; The text "Roughing the contour" is
sent in the ASCII format via the
RS232 interface
Table 8- 6
Messages to the output interface file
N20 MSG ("FILE: Roughing the contour")
; The text "Roughing the contour" is
sent to the selected file
Note
If, in the part program, the text for the messages is repeated unchanged, then after each
output, a command for an empty text must be entered.
e.g.
...
MSG("<interface>: Sample text")
MSG("<interface>:")
...
...
MSG("<interface>: Sample text")
MSG("<interface>:")
...
...
MSG("<interface>: Sample text")
MSG("<interface>:")