Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
171
Assigned global variables
Indicate that the spindle is running
Indicates that the tailstock is moving forward
Indicates tailstock is moving backward
Relevant PLC machine data
14512 [17].2
Enable tailstock in turning
Disable tailstock in turning
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
Example for calling subroutine 55
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
ExtIn_LED BOOL External/internal lock LED