
5 PLC Interface
01.99
5.1.3 Function blocks (FB, FX)
5.1.3
Function blocks (FB, FX)
Function blocks of class FB
Function blocks FB 0 to FB 199 are reserved for Siemens applications.
Function blocks FB 200 to FB 255 can be employed by the user.
FB No. FB designation FB name
Pack-
age
11 *
12 *
1)
17
27
30
31
32
33
34
35
36
37
38
39
40
41
42
43
45
45
47
48
48
49
50
51
52 *
54
55
56
57
58
59
EINR-DB
WDTRG
STATUS
IM308C
MUL:16
DIV:16
DIV:32
DIV/100
ADD:32
SUB:32
DUAL/BCD
COD:16
COD:32
COD:B4
COD:B8
ANLAUF
GST-FMBM
PSP:FMBM
FMBM:HSG
FMBM:MMC
UP:57/58
UP:FB49
UP:FB45
BTR 8 16
FM-ANZ
BM-ANZ
MG-ANZ
FM-ABFR
BM-ABFR
MG-ABFR
Setting up the data blocks
Retriggering of cycle time monitoring
PLC status channel
2)
Profibus interface module
Multiplication of two binary-coded numbers of 16 bits each
Division of two binary-coded numbers of 16 bits each
Division of two binary-coded numbers of 32 bits each
Divide by 100
Addition of two binary-coded numbers
Subtraction of two binary-coded numbers
Code conversion BINARY/BCD 4 decades
Conversion of a fixed point binary number (16 bits) to a
number in BCD code
Conversion of a fixed point binary number (32 bits) to a
number in BCD code (flags used: FW 220, 222)
Conversion of a number in BCD code (4 decades) to a
fixed point binary number
Conversion of a number in BCD code (8 decades) to a
fixed point binary number
Basic setting alarms and messages
3)
Basic setting error messages/operational messages
2)
Buffer memory error/operational messages
Auxiliary signals for FM/OM
Auxiliary signals for FM/OM
3)
Subroutines FB57, FB58
Subroutine FB49
Subroutine FB4
Block transfer between 8 bit and 16 bit memory
Display error messages
Display operational messages
Display message groups
2)
Scan error message
Scan operational messages
Scan message groups
2)
OS
OS
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
OS
0
0
0
0
0
0
Abbreviations:
OS PLC operating system
0
FB package 0
Note:
The blocks marked with * are function macros integrated in the
PLC operating system.
(see Function Macros manual)
_______
1)
The data blocks marked
1)
are part of the operator interface example of tool management.
2)
Up to SW 2
3)
SW 3 and higher
5–6
© Siemens AG 1992 All Rights Reserved 6FC5197- AA60
SINUMERIK 840C (IA)
Summary of Contents for SIMODRIVE 611-D
Page 2: ......