Table of contents
PLC Subroutines Manual
6 Operating Instructions, 12/2012, 6FC5397-2EP10-0BA0
3.21 Subroutine 48 - ServPlan (service plan) ..................................................................................... 55
3.22 Subroutine 49 - GearChg1_Auto (automatic spindle gear change)............................................ 56
3.23
Subroutine 50 - GearChg2_Virtual (virtual spindle gear change) ............................................... 57
3.24
Subroutine 51 - Turret1_HED_T (turret with Hall effect device position sensor) ........................ 58
3.25
Subroutine 52 - TURRET2_BIN_T (turret with binary coding function) ...................................... 61
3.26
Subroutine 53 - Turret3_CODE_T (tool change control for turret with coding function) ............. 63
3.27
Subroutine 54 - Turret2_3_ToolDir (tool change direction)......................................................... 65
3.28
Subroutine 55 - Tail_stock_T (Tailstcok control program for turning machines)......................... 67
3.29
Subroutine 56 - Lock_unlock_T (clamping control for turning machines)................................... 68
3.30 Subroutine 58 (MM_
MAIN).......................................................................................................... 69
3.31 S
ubroutine 59 (MM_MCP_808D) ................................................................................................ 72
3.32
Subroutine 60 - Disk_MGZ_M (disk-style tool magazine for milling) .......................................... 73
3.33 S
ubroutines 34 to 36, 57, 61 and 62........................................................................................... 75
3.34 S
ubroutine 63 - TOGGLES ......................................................................................................... 75
4 Use
of user alarms in the PLC subroutines.............................................................................................. 77
5 P
LC sample applications ......................................................................................................................... 79
5.1 PLC sample
application (turning)................................................................................................ 79
5.2 PLC sample
application (milling)................................................................................................. 82
I
ndex........................................................................................................................................................ 85