Blocks - Siemens SIMATIC S5 Manual

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

S5-115F Manual
6

Blocks

You can use the following to support the user program in the safety-related S5-115F:
Integral blocks
Loadable standard function blocks
Function blocks generated by the user (subject to acceptance test)
Some standard function and organization blocks are integrated in the operating system of the
central processing units. These integral blocks are programmed in machine code and therefore
execute at high speed. They do not occupy user memory. Integral blocks are called in the same way
as other blocks in the user program and can usually be interrupted by process interrupts. See 6.1
for further information on integral function blocks.
Loadable standard function blocks are supplied on diskette and are loaded into the user memory
of the CPU. 6.3 describes the use of loadable function blocks.
Block
Type
No.
Name
FB
240
COD:
FB
241
COD:
FB
242
MUL :
FB
243
DIV :
FB
250
AGF :
FB
251
AGF :
FB
252
AGF :
FB
253
AGF :
FB
254
AGF :
FB
255
AGF :
OB
251
*
This value is sometimes exceeded by the discrepancy time for analog values
**
Y = Number of user timers.
***
Plus processing time of the test slice ( 10.4)
EWA 4NEB 811 6149-02
Table 6-1. Overview of Integral Blocks
Call
Execution
Length
in Words
B4
5
16
6
16
7
16
10
ANEI
17
ANAU
9
BLUE
8
Send
Block 1:
32 blocks:
Receive
1 block:
32 blocks:
MBXT
3
SYNC
3
(2 to 7 msec.)+
40 µsec. x Y **
2 msec. + OB 2- /
OB 13 timer
DEPA
5
3 to 15***
Time
in msec.
< 0.8
Converts BCD-coded nos. (4-tetrads)
< 1.3
Converts 16-bit fixed-point numbers
< 1.1
Multiplies 16-bit binary numbers
< 2.6
Divides 16-bit binary numbers
5*
Reads in analog value
6
Outputs analog value
Frame transfer to and from the CP 523
1.4
10
2
20
< 0.8
Mailbox transfer for two-channel SINEC L1
LAN
Updating of user timers
Interrupt synchronization
3
SINEC L1 synchronization
2
Programmer synchronization
Depassivation of I/O modules
1.7
PID control algorithm
Blocks
Function
6-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents