Commissioning Manual
01/2017
193
Subroutine 55 - Tail_stock_T (Tailstock control program for turning machines)
Purpose
Subroutine 55 is used to control forward or backward movement of the tailstock on a turning machine.
In JOG mode, press the "Tailstock" key to move the tailstock forward or backward. Pressing "Tailstock" moves the tailstock
forward, and one more pressing moves the tailstock backward.
In AUTO mode, you can use M20 or M21 to control the forward or backward movement of the tailstock.
Local variable definition
Inputs
Tailstock control key: press 1st time, advance; 2nd time, retract
Tail advance/retract flag
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