TOMATECH AUTOMATION
� Control parameter
� PLC status parameters
K 1 4 SGSP SPB4 PB4
PB4 =0: Protection door detection function is invalid;
=1: Protection door detection function is valid;
SPB4 =0: When SAGT is at low level (disconnect with +24V), the protection door is
closed;
=1: When SAGT is at high level (connected with +24V), the protection door is closed;
SGSP =0: Spindle is disabled when the protection door is open;
=1: Spindle is not disabled when the protection door is open;
� Function description (defined by standard PLC program)
①When PB4=1, SPB4=0, CNC confirms that the safety door is closed as SAGT is
connected
to 0V;
②When PB4=1, SPB4=1, CNC confirms that the safety door is closed as SAGT is
connected
to +24V;
③In Auto mode, if CNC detects the safety door is open, alarm is issued as cycle starts;
④In auto running, if CNC detects the safety door is open, the axis feed is held, and alarm
is
issued by CNC;
⑤The safety door detection function is only active in Auto mode;
2.8.19 CNC macro variables
� Relevant signal
Macro output signal: standard PLC defines 5 macro output interfaces #1100~#1105;
Macro input signal: standard PLC defines 16 macro output interfaces #1000~#1015
� Signal diagnosis
Macro variable number #1105 #1104 #1103 #1102 #1101 #1100
Diagnosis address Y3.7 Y3.6 Y3.5 Y3.4 Y3.3 Y3.2
364
Ⅲ Connection
Macro variable number #1007 #1006 #1005 #1004 #1003 #1002 #1001 #1000
Diagnosis address X0.7 X0.6 X0.5 X0.4 X0.3 X0.2 X0.1 X0.0
Macro variable number #1015 #1014 #1013 #1012 #1011 #1010 #1009 #1008
Diagnosis address X1.7 X1.6 X1.5 X1.4 X1.3 X1.2 X1.1 X1.0
� Function description (defined by standard PLC program)
U00~U05 signal output may be changed if macro variable #1100~#1105 are
assigned. If
they are assigned for “1”, it outputs 0V, if they are assigned for “0”, it turns off their output
signals.
Detect the macro variable #1000~#1015 values (input signal state), they may be used
for
various processing if combined with other transfer judgment macro code.