17.REAL-TIME CUSTOM MACRO
PROGRAMMING
B-63944EN/03
- 612 -
- Reset
Even when the CNC is reset by an MDI reset, the external reset signal
(ERS), or the reset and rewind signal (RRW), the axis control
command of an RTM statement does not stop immediately but stops at
the time of termination of the block currently being executed. When
the emergency stop state is set, however, the RTM statement also
stops immediately.
During execution of the axis control command of an RTM statement,
the real time macro being executed can be stopped independently of
the NC statement by setting the group-by-group reset signal (ECLRg)
for PMC axis control corresponding to the axis to 1. To stop also the
axis control command of an RTM statement when the CNC is reset,
control the reset signal (ECLRg) for PMC axis control of the related
group by monitoring the reset signal (RST).
- Alarm stop
Even when a PS alarm is issued with an NC statement, the axis control
command of the RTM statement being executed does not stop
immediately but stops at the time of termination of the block currently
being executed. Moreover, even when an overtravel alarm is issued
for an axis other than the axis controlled by the RTM statement being
executed, the RTM statement being executed does not stop
immediately but stops at the time of termination of the block currently
being executed.
- Alarm reset
When the group-by-group alarm signal (EIALg) for PMC axis control
corresponding to the axis specified by an RTM statement is set to 1,
correct the cause of the alarm, then reset the CNC, and reset PMC axis
control with the reset signal (ECLRg) for PMC axis control of the
related group.
(Tip)
In the following cases, the alarm signal (EIALg) is set to 1:
(1) When a servo alarm is issued
(2) When an overtravel alarm is issued
(3) When P/S0130 alarm is issued
(4) When P/S0139 alarm is issued
- Interlock
In an RTM statement, the interlock signal (*IT) for an NC statement,
interlock signal for each axis (*ITn), interlock signal for each axis
direction (+ITn/-ITn) are invalid. Instead, the axis control temporary
stop signal (ESTPg) for PMC axis control is valid in an RTM
statement. When temporarily stopping the axis controlled by an
RTM statement, control the corresponding axis control temporary stop
signal (ESTPg) for PMC axis control.
The cutting block start interlock signal *CSL (G8.1) and the block
start interlock signal *BSL (G8.3) are invalid.