PLC Subroutines Manual
6FC5397-0FP40-0BA0, 08/2013
53
Local variable definition
Table 3-26
Inputs
Name
Type
Description
Tmax
WORD
Max. tool number of the turret
C_time
WORD
CCW clamping time (unit: 0.1 s)
M_time
WORD
Monitoring time for the tool change
T_polar
BOOL
Polar selection for the tool change
0: tool position low active
1: tool position high active
T_key
BOOL
Manual tool change key (triggering signal )
T_01 to T_06
BOOL
Tool position sensor (low active)
OVload
BOOL
Turret motor overload (NC)
Table 3-27
Outputs
Name
Type
Description
T_cw
BOOL
Turret positioning
T_ccw
BOOL
Turret clamping
T_LED
BOOL
Status display during the tool change
ERR1
BOOL
No turret positioning signals available
ERR2
BOOL
Programmed tool out of turret range
ERR3
BOOL
Tool positioning time out
ERR4
BOOL
Turret motor overload
ERR5
BOOL
Wrong setting of the max. tool for the turret
ERR6
BOOL
Reserved
Assigned global variables
T_cw_m
M156.0
Position marking for turret CW rotation
T_ccw_m
M156.1
Position marking for turret CCW rotation
CcwDelay
M156.2
Turret CCW rotation delay
K_active
M156.3
Manual key active
Tpos_C
M156.4
Turret position changed
Tp_eq_Tc
M156.5
Programmed tool number equal to the current tool number
Tp_eq_0
M156.6
Programmed tool number equal to zero
T_P_INDX
MD160
Monitoring the tool change buffer zone in the JOG mode
T_CHL
M168.4
Operating mode locked
Tm1_FindT
T15
Monitoring timer for tool searching
T_CLAMP
T13
Clamping timer for turret 1
Relevant PLC machine data
No.
Unit
Description
14510 [20]
-
Max. tool number (4 or 6)
14510 [21]
0.1 s
Turret clamping time
14510 [22]
0.1 s
Monitoring time for tool searching
14512[17].0
-
Activating the turret function of a turning machine