Manual VIPA CPU 21x Chapter 11 Integrated OBs SFBs SFCs
HB103E - Rev. 05/45 11-3
Integrated OBs and SFBs
The system program of the CPU 21x offers you some additional functions,
that you may use by calling FBs, FCs or OBs. Those additional functions
are part of the system program and don't use any work memory. Although
the additional functions may be requested, they can not be read or altered.
The calling of an additional function via FB, FC or OB is registered as block
change and influences the nesting depth for blocks.
The following organization blocks (OBs) are available:
OB Description
OB 1 Free cycle
OB 10 Clock alarm
OB 20 Delay alarm
OB 35 Prompter alarm
OB 40 Process alarm
OB 80 Cycle time exceeded or clock alarm run out
OB 82 Diagnostic alarm
OB 85 OB not available or
Periphery error at update process image
OB 86 Slave failure res. restart
OB 100 Reboot
OB 121 Synchronous errors
OB 122 Periphery error at n
th
access
The following system function blocks (SFBs) are available:
SFB Label Description
SFB 0 CTU Count forward
SFB 1 CTD Count backwards
SFB 2 CTUD Count forward and backwards
SFB 3 TP Create pulse
SFB 4 TON Create switch-on delay
SFB 5 TOF Create switch-off delay
SFB 32 DRUM Realization of a step sequential circuit with a
max. of 16 steps
General
Integrated OBs
Integrated SFBs