Commissioning Manual
166 6FC5397-4EP10-0BA8, 07/2018
Example for calling subroutine 51
Subroutine 52 - Turret2_BIN_T (turret with binary coding function)
Purpose
Subroutine 52 is used to control the turret with encoder positioning signals and function of dual-direction adjacent tool
change. Contact the turret vendor for the working theory and the timing diagram of a tool change.
During a tool change, the NC interface signals "Read-in disable" (
) and "Feedhold" (
) are
set, so the part program can continue running only after the tool change action.
The turret position action is forbidden in case of an emergency stop, turret motor overload or program test/simulation.
This subroutine can activate the following alarms:
● Alarm 700022: Turret motor overload
● Alarm 700023: Programmed tool number higher than the max. tool number of the turret
● Alarm 700024: Wrong setting of the max. tool number for the turret
● Alarm 700026: Not able to find expected tool in monitor time
● Alarm 700011: Not able to lock tool in expected time
Local variable definition
Inputs
Total tools on the turret
Tm_Lck WORD Tool lock monitor time (unit: 0.01s)
Tool change monitor time (unit: 0.1s)
Turret motor overload (NC)
Turret pre-indexing sensor
Manual key for tool change