PLC Subroutines Manual
Operating Instructions, 12/2012, 6FC5397-2EP10-0BA0
5
Table of contents
Preface ...................................................................................................................................................... 3
1 Ove
rview.................................................................................................................................................... 7
2 P
LC Programming Tool ........................................................................................................................... 11
2.1 Ins
talling the 808D Toolbox .........................................................................................................11
2.2 PLC ins
tructions...........................................................................................................................12
2.3 Data management
.......................................................................................................................13
2.4 Program organiz
ation...................................................................................................................13
2.5 Tes
ting and monitoring your program..........................................................................................14
2.6 Es
tablishing a connection with the RS232 interface....................................................................17
2.7 PLC appli
cation Download/Upload/Copy/Compare.....................................................................22
3 Des
criptions of the PLC subroutines........................................................................................................ 31
3.1 PLC mac
hine data .......................................................................................................................31
3.2 Conv
entions for the symbols used in the subroutines .................................................................32
3.3 Subroutine 20 - AUX_M
CP (machine auxiliary functions) ...........................................................34
3.4 Subroutine 21 - AUX_LAMP (work
ing lamp)................................................................................35
3.5 Subroutine 22 - AUX_
SAFE_DOOR (safe door)..........................................................................35
3.6 Subroutine 23 - AUX_CHI
P (chip remover) .................................................................................36
3.7 Subroutine 31 - PLC_
ini_USR_ini (user initialization)..................................................................37
3.8 Subroutine 32 - PLC_
INI (PLC initialization)................................................................................37
3.9 Subroutine 33 - EMG_
STOP........................................................................................................38
3.10
Subroutine 37 - MCP_NCK (MCP and HMI signal processing)...................................................39
3.11
Subroutine 38 - MCP_Tool_Nr (display tool number on the MCP)..............................................40
3.12
Subroutine 39 - HANDWHL (selecting a handwheel according to HMI interface signals) ..........41
3.13 S
ubroutine 40 - AXIS_CTL (controlling the spindle and axes) ....................................................42
3.14 S
ubroutine 41 - MINI_HHU (handwheel hand-held unit) .............................................................45
3.15 S
ubroutine 42 - SPINDLE (spindle control) .................................................................................47
3.16 S
ubroutine 43 - MEAS_JOG (measurement in the JOG mode)..................................................48
3.17 S
ubroutine 44 - COOLING (cooling control)................................................................................49
3.18 S
ubroutine 45 - LUBRICAT (control of lubricate).........................................................................51
3.19
Subroutine 46 - PI_SERVICE (Asynchronous Subroutine Program)...........................................52
3.20
Subroutine 47 - PLC_Select_PP (PLC selects a subroutine) ......................................................54