Fb210: read in all measured values – VEGA VEGACOM 557 Profibus FMS User Manual
Page 36

36
VEGACOM 557 Profibus FMS
Setup
FB210: Read in all measured values
With this functional component, all 256 measured values (16 measured value blocks) are read
in.
Important information:
The interface number and the order number must be adapted to your application if necessary.
These values relate to the values set in the CP connection planning.
Call:
The functional component must be called up in every program cycle.
: SPA FB 210
Name: R-MW-ALL
Saving of the measured values in data components:
The 16 measured value blocks are each saved subsequently in one data component. The
Start data component is set in the basic adjustment to 220 and can be modified in DB240.
DB = Start-aim-DB (standard adjustment = 220)
Meas. value-Block = 1
Meas. valueIndex
up from data word (Index, Status, meas. value)
1 DW 0
2 DW 3
3 DW 6
...
...
15 DW 42
16 DW 45
DB = Start-aim-DB + 1 (standard adjustment = 221)
Meas. value-Block = 2
Meas. value Index
up from data word (Index, Status, meas. value)
17 DW 0
18 DW 3
19 DW 6
...
...
31 DW 42
32 DW 45
etc.
DB = Start-aim-DB + 15 (standard adjustment = 235)
Meas. value-Block = 16
Meas. value Index
up from data word (Index, Status, meas. value)
240
DW 0
241
DW 3
242
DW 6
...
...
255
DW 42
256
DW 45