Commissioning Manual
6 01/2017
5.1 System startup menu .......................................................................................................................... 142
5.2 Synchronizing drive data files between NC and drive (PPU161.3 and PPU160.2 only) ...................... 143
5.3 Setting the password ........................................................................................................................... 144
5.4 Setting the date and time .................................................................................................................... 146
5.5 Setting the user interface language .................................................................................................... 146
5.5.1 Changing the system language ........................................................................................................... 146
5.5.2 Loading system languages ................................................................................................................. 147
5.6 Activating the optional functions .......................................................................................................... 148
6 Commissioning the PLC ...................................................................................................................................... 150
6.1 PLC programming conventions ........................................................................................................... 150
6.2 Signal overview of PLC interface ........................................................................................................ 150
6.3 Operation symbols of PLC programming languages ........................................................................... 151
6.4 PLC sample applications ..................................................................................................................... 156
6.4.1 PLC sample application (turning) ........................................................................................................ 156
6.4.2 PLC sample application (milling) ......................................................................................................... 158
6.5 PLC machine data............................................................................................................................... 160
6.6 PLC subroutine library ......................................................................................................................... 162
6.6.1 Overview ............................................................................................................................................. 162
6.6.2 Conventions for the symbols used in the subroutines ......................................................................... 165
6.6.3 Subroutine 20 - AUX_MCP (machine auxiliary functions) ................................................................... 166
6.6.4 Subroutine 21 - AUX_LAMP (working lamp) ....................................................................................... 166
6.6.5 Subroutine 22 - AUX_SAFE_DOOR (safety door) .............................................................................. 167
6.6.6 Subroutine 23 - AUX_CHIP (chip conveyor) ....................................................................................... 168
6.6.7 Subroutine 24 - AUX_3Color_LAMP ................................................................................................... 169
6.6.8 Subroutine 31 - PLC_ini_USR_ini (user initialization) .......................................................................... 169
6.6.9 Subroutine 32 - PLC_INI (PLC initialization) ....................................................................................... 170
6.6.10 Subroutine 33 - EMG_STOP ............................................................................................................... 170
6.6.11 Subroutine 37 - MCP_NCK (MCP and HMI signal processing) ........................................................... 171
6.6.12 Subroutine 38 - MCP_Tool_Nr (display tool number on the MCP) ...................................................... 173
6.6.13 Subroutine 39 - HANDWHL (selecting a handwheel according to HMI interface signals) ................... 173
6.6.14 Subroutine 40 - AXIS_CTL (controlling the spindle and axes) ............................................................ 174
6.6.15 Subroutine 41 - MINI_HHU (handwheel on hand-held unit) ................................................................ 176
6.6.16 Subroutine 42 - SPINDLE (spindle control) ......................................................................................... 177
6.6.17 Subroutine 43 - MEAS_JOG (measurement in JOG mode) ................................................................ 178
6.6.18 Subroutine 44 - COOLING (cooling control) ........................................................................................ 179
6.6.19 Subroutine 45 - LUBRICAT (control of lubricate) ................................................................................ 180
6.6.20 Subroutine 46 - PI_SERVICE .............................................................................................................. 181
6.6.21 Subroutine 47 - PLC_Select_PP (PLC selects a subroutine) .............................................................. 183
6.6.22 Subroutine 48 - ServPlan (service planner) ........................................................................................ 183
6.6.23 Subroutine 49 - GearChg1_Auto (automatic spindle gear change) ..................................................... 184
6.6.24 Subroutine 50 - GearChg2_Virtual (virtual spindle gear change) ........................................................ 185
6.6.25 Subroutine 51 - Turret1
_HED_T (turret with Hall effect device position sensor) ................................
. 186
6.6.26 Subroutine 52 - Turret2_BIN_T (turret with binary coding function) .................................................... 188
6.6.27 Subroutine 53 - Turret3_CODE_T (tool change control for turret with coding function) ...................... 190
6.6.28 Subroutine 54 - Turret2_3_ToolDir (tool change direction) .................................................................. 192
6.6.29 Subroutine 55 - Tail_stock_T (Tailstock control program for turning machines) .................................. 193
6.6.30 Subroutine 56 - Lock_unlock_T (clamping control for turning machine) .............................................. 194
6.6.31 Subroutine 58 (MM_MAIN) .................................................................................................................. 195
6.6.32 Subroutine 59 (MM_MCP_808D) ........................................................................................................ 197
6.6.33 Subroutine 60 - Disk_MGZ_M (disk-style tool magazine used for milling)........................................... 198
6.6.34 Subroutine 62 - Trg_key_OR ............................................................................................................... 200
6.6.35 Subroutine 63 - TOGGLES ................................................................................................................. 204
6.6.36 Subroutines 0 to 19, 34 to 36, 57, and 61 ........................................................................................... 204
6.7 PLC Programming Tool ....................................................................................................................... 205
6.7.1 Overview of PLC Programming Tool ................................................................................................... 205
6.7.2 Renaming the default program ............................................................................................................ 206
6.7.3 Changing the display language ........................................................................................................... 207
6.7.4 Selecting a target system .................................................................................................................... 208
6.7.5 Downloading/uploading/comparing PLC applications ......................................................................... 209