01/2007
6.1 General
6-132
© Siemens AG 2007 All Rights Reserved
SINUMERIK 840Di sl Manual (HBIsl) – 01/2007 Edition
6.1.6 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
GP_PRAL
User
program
OB 40
OB 100
G group
Distributor
FC 3
Restart
User Program
FB 1
Start–up:
e.g. HHU parameters
Cyclic
processing
GP–OB 1
NCK
Mode group
Channel
Axis
Spindle
TM
User
program
OB 1
FC 14
MCP,
HHU
FC 6
ASUB,
con. axes/
spindles
Var. read/
write,
PI services
FB 2/3/4
TM:
TM_Trans
TM_Dir
FC 7/8/22
FC 2
FC (9/15/16/18)
Error and
operational
messages
FC 10
HHU:
display contr.
FC 13
FC 19/25/26
MCP:
MCP_IFM
MCP_IFT
HPU_MCP
Star/delta
FC 17
MCP_INT
FC 27 *
* only required, if a MCP or MPI
bus is connected
Fig. 6-1 Structure of the PLC program
6 PLC Commissionin