06.03
5.7 Handheld terminal HT 6
5-164
Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
5.7.3 Parameterization of the PLC
The PLC program has a modular structure. It consists of the following function
blocks:
S Runup and synchronization (OB 100)
S Cyclic operation (OB 1)
S Process alarm processing (OB 40).
The user (machine manufacturer) must call the relevant part of the basic
program in the OBs 1, 40 and 100, as shown in Fig. 5-16.
Process alarm
GP_PRAL
User
program
OB 40
OB 100
G group
distributor
FC 3
Restart
User program
FB 1
Start:
e.g. HHU parameters
Cyclic
processing
GP-OB 1
NCK
Mode grp.
Channel
Axis
Spindle
TOOLMAN
User
program
OB 1
FC 14
MCP,
HHU
FC 6
ASUB,
con. axes/
spindles
Read/ write
var., 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 control
FC 13
FC 19/25/26
MCP:
MCP_IFM
MCP_IFT
HPU_MCP
Star/delta
FC 17
Fig. 5-16 Structure of PLC program
Program structure
5 MPI Communication