PLC Subroutines Manual
52
6FC5397-0FP40-0BA0, 08/2013
Example for calling subroutine 50
3.24
Subroutine 51 - Turret1_HED_T (turret with Hall effect device position
sensor)
Purpose
Subroutine 51 is used to control the turret with a Hall effect device positioning sensor, and the turret motor is controlled by
the PLC.
The turret rotates clockwise to search for a tool, and rotates counter-clockwise after positioning the desired tool to clamp it
(the turret CCW rotation time can be adjusted). An alarm occurs if the turret fails to position the desired tool after the
duration expires. The subroutine verifies the time that the turret rotates CCW, and sets a limit of maximum 3 seconds for this
rotation time to prevent the turret motor from being broken.
In the AUTO and MDA modes, the T function starts a tool change operation. In the JOG mode, a short strike on the MCP
key changes a turret position.
During a tool change, the NC interface signals "Read-in disable" (DB3200.DBX6.1) and "Feedhold" (DB3200.DBX6.0) are
set; this means that the part program can only continue to run after the tool change.
The turret positioning is prohibited in the case of an Emergency Stop, turret motor overload or program test/simulation.
The timing diagram for positioning a tool in the turret using the Hall effect device positioning sensor is shown as follows:
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 700025: No turret positioning signals available
●
Alarm 700026: Tool positioning time out