Descriptions of the PLC subroutines
3.28 Subroutine 55 - Tail_stock_T (Tailstcok control program for turning machines)
PLC Subroutines Manual
Operating Instructions, 12/2012, 6FC5397-2EP10-0BA0
67
3.28 Subroutine 55 - Tail_stock_T (Tailstcok control program for turning
machines)
Purpose
Subroutine 55 is used to control forward or backward movement of the tail stock on a turning
machine.
In the 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 the AUTO mode, you can use M20 or M21 to control the forward or backward movement
of the tailstock.
Local variable definition
Table 3- 32 Inputs
Name Type Description
TailCtrl_K BOOL Tailstock
SP_status BOOL Spindle status
Table 3- 33 Outputs
Name Type Description
TailAdv_O BOOL Output to move the tailstock forward
TailRet_O BOOL Output to move the tailstock backward
Assigned global variables
SP_RUNm BOOL M236.0 Indicate that the spindle is running
TailAdv_m BOOL M229.2 Indicates that the tailstock is moving forward
TailRet_m BOOL M229.3 Indicates tailstock is moving backward
Relevant PLC machine data
None
Example for calling subroutine 55