PLC Subroutines Manual
6 6FC5397-0FP40-0BA0, 08/2013
23 AUX_CHIP
Chip remover control, called in the subroutine "AUX_MCP" of a milling
application.
31 PLC_ini_USR_INI Reserved for the initialization by the manufacturer (this subroutine is
automatically called by subroutine 32)
32 PLC_INI PLC initialization
33 EMG_STOP Emergency Stop
37 MCP_NCK Signals from the MCP and the HMI are sent to NCK interfaces
38 MCP_Tool_Nr Display tool numbers via the LED of the MCP
39 HANDWHL Handwheel selection via HMI
40 AXIS_CTL Control of feed axis enable and spindle enable
41 MINI_HHU Handwheel hand held unit
42 SPINDLE Spindle function
43 MEAS_JOG Tool measurement in the JOG mode
44 COOLING Coolant control (Manual Machine key and M code: M07, M08, M09)
45 LUBRICATE Lubrication control (interval and time)
46 PI_SERVICE ASUP (Asynchronous Subroutine Program)
47 PLC_Select_PP PLC selects a subroutine.
48 ServPlan Service plan
49 Gear_Chg1_Auto Automatic gear change of the spindle
50 Gear_Chg2_Virtual Dummy gear change of the spindle
51 Turret1_HED_T Turret control of the turning machine (turret type: Hall element
transistor, 4/6 position)
52 Turret2_BIN_T Turret control of the turning machine (turret type: position detection
with encodings)
53 Turret3_CODE_T Hydraulic turret control of the turning machine (turret type: position
detection with encodings)
54 Turret2_3_ToolDir Evaluate tool direction and calculate tool position (called by
Turret2_BIN_T, Turret3_CODE_T)
55 Tail_stock_T Tail stock control for the turning machine
56 Lock_unlock_T Clamp or release control for the turning machine
58 MM_MAIN Manual machine
59 MM_MCP_808D Spindle signal processing for the manual machine
60 Disk_MGZ_M Disk tool magazine for a milling machine
61, 62 Reserved for the subroutine
63 TOGGLE Six key-operated switches: K1 to K6
Two delay switches: K7, K8
MCP interface description
Input (MCP ->
PPU),
DB1000
DB1000.DBB0 M01 Program
test
MDA Single
block
AUTO REF.
POINT
JOG Hand-
wheel
DB1000.DBB1 Key 16 Key 15 Key 14 Key 13 Key 12 Key 11 Key 10 ROV
DB1000.DBB2 100
(INC)
10 (INC) 1 (INC) Key 21 Key 20 Key 19 Key 18 Key 17
DB1000.DBB3 Key 32 Key 31 Cycle
start
Cycle
Stop
RESET Spindle
right
Spindle
Stop
Spindle
left
DB1000.DBB4 Key 39 Key 38 Key 37 Key 36 RAPID Key 34 Key 33
DB1000.DBB5