ErrMsg
1min
Shows an error message in the message log and stops current action of the machine.
ErrMsg "<message text>"
Parameters
- message text parameter specifies the message to be displayed
- if variable numbers are included outside of quotation marks, this results in the value of that variable being appended to the message e.g. Msg "value of variable 4000 is " #4000
- if %t... is included outside of quotation marks, this results in the tool description of the tool number being appended to the message e.g. Msg "T1 is " %t1 or msg "Current tool: " %t#5011
- if %d is included outside of quotation marks, this results in the current date and time being appended to the message e.g. Msg "Time: "%d will output Time: 2022-10-28 13:35:52