06.03
8.2 PLC program
8-253
Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
8.2.3
PLC user program
The organization blocks:
S
OB100 (cold restart)
S
OB1 (cyclic processing)
S
OB40 (process alarm)
contain the entry points for the appropriate parts of the PLC user program.
Process alarm
Cyclic
processing
Start
GP_PRAL
GP–OB 1
NCK
Mode grp.
Channel
Axis
Spindle
TOOLMAN
(not FMNC)
User
program
User
program
User
program
OB 40
OB 1
OB 100
G group
distributor
FB 1
FC 14
FC 3
MCP,
HHU
FC 6
ASUB,
con. axes/
spindles
FC 19/25
Read/ write
var., PI
services
FB 2/3/4
MCP:
MCP_IFM
MCP_IFT
TM:
TM_Trans
TM_Dir
FC 7/8/22
Restart
FC 2
FC (9/15/16/18)
Error and
operational
messages
FC 10
Star/delta
FC 17
HHU:
Display
control
FC 13
Fig. 8-1
Structure of PLC program
8 PLC Start-Up