Commissioning Manual
194 01/2017
Subroutine 56 - Lock_unlock_T (clamping control for turning machine)
Purpose
Subroutine 56 is used to control the clamping or release for the chuck for a turning machine.
In JOG mode, press the "
" key to select either external clamping or inside clamping, and press
"Clamp" or "Unclamp" key to clamp or release the chuck. Furthermore, you can also use the "Foot switch" to clamp or
release the chuck. Pressing the "Foot switch" for once release the chuck, and one more pressing clamps the chuck.
In AUTO mode, you can execute M10/M11 to control the clamping or release of the chuck.
Note
The chuck status should be kept when clamping outputs are zero.
Local variable definition
Inputs
Delay if no in position sensor
Lock/release toggle signal
External/internal lock key
S_velo BOOL Spindle velocity
0: 0 speed; 1: spindle running
Foot switch for clamp/unclamp chuck
External/internal lock LED
Error 1: clamp/unclamp not possible while spindle is operating
Assigned global variables
ChuckLckLED BOOL M239.2 Chuck at released state
External/inside clamping state
TR_Status BOOL M237.6 Chuck release command
Relevant PLC machine data
14512 [17].1
14512 [21].1
Set I0.0 to I2.7/Q0.0 to Q1.7 as the standard I/O wiring in the default PLC
Set I6.0 to I8.7/Q4.0 to Q5.7 as the standard I/O wiring in the default PLC