Alarm (alm a)
This command is used to trigger an alarm within the program. When the system enters the alarm state, execution halts at this line. A total of 16 different alarms can be created. The value of a must be between 0 and 15. If a value outside this range is specified, a macro alarm with number 15 is generated. The descriptions of these alarms can be customized by the machine manufacturer.
Example:
(CREATE MACRO ALARM 0)
G65 L99 P0
When this line is reached, <ALM288> Macro Alarm 0 error is triggered.
Example:
(CREATE MACRO ALARM 0)
ALM 5
When this line is reached, <ALM293> Macro Alarm 5 error is triggered.
