Operation with SIMATIC S5
3.2.5
FB101/111/131/161: WEG-705
3.2.5.1 Description
Depending on the CPU, FB101, FB111, FB131, FB161 have to be called for position
measurement (see chapter 3.1).This block reads out the actual position values of up to 12
axes. The requested actual values are available in DBBG DW24...47 (see chapter 3.2.5, data
block interface) once execution of the FB is finished.
3.2.5.2 Execution Times
CPU
Block
FB101
CPU 943B
FB111
CPU 944B
FB111
CPU 945
FB131
CPU 928B
FB161
CPU 948
•
FBs to be loaded: FB100, FB103 (for start up)
•
The block must be called once for each module.
•
The user has to enter the DB No. and the axis No.
•
Used flags: none
3.2.5.3 Block Call
FB 111-WEG-705
B
DBBG
I, W
ACHS
*
The parameters are not shown with designators if CPU 943B is used.
In this case, the parameters are assigned via a flag interface to save cycle time.
3.2.5.4 Block Parameters
DBBG
Module DB
Number of the axis between 1 and 12 for which the actual
ACHS
values FW230 are to be read-out (DUAL).
This parameter signals a break or a short-circuit in the cable,
FEHL
wrong parameter assignment or wrong axis selection.
3 - 6
Duration of
Running time
FB call
per channel
[ms]
2.61
3.69
0.3
0.4
0.025
0.275
0.33
0.37
0.11
0.29
*
FEHL
O, W
©
Siemens AG 1990 All Rights Reserved
Example: Running time
for 3 channels
[ms]
[ms]
3×3.69+2.61
3×0.4+0.3
3×0.275+0.025
3×0.37+0.33
3×0.29+0.11
6ZB5 440-0AA02
WF 705 (Description)
11.96
MB 229
FW 230
FW 242