Contents Of The Data Block - Siemens Simatic S5 IP 240 Manual

Counter/positioning/position decoder module
Hide thumbs Also See for Simatic S5 IP 240:
Table of Contents

Advertisement

IP 240
7.3.3

Contents of the Data Block

The data block to be created must comprise at least 68 words (DW 0 to 67). The number of the
selected data block must be entered under parameter DBNR when an FB is called.
DW 0
DW 1
Machine readable
DW 2
product code
DW 3
of module
DW 4
Version of the
DW 5
module firmware
DW 6
DW 7
Version of the
module hardware
DW 8
Error messages
DW 9
for hardware and
DW 10
communications errors
DW 11
DW 12
DW 13
Error message for para-
meter assignment errors
DW 14
DW 15
DW 16
DW 17
Control bits
DW 18
Status bits
DW 19
DW 20
Interrupt request bytes
for Channel 1
DW 21
Interrupt request bytes
for Channel 2
DW 22
Hysteresis
Identifier of configured
DW 23
mode and DB number
DW 24
DW 25
DW 26
DW 27
DW 28
DW 29
Identifiers of the tracks to
be transferred
This data is transferred from the DB to the IP 240 and must be adapted beforehand in the DB. The hysteresis
is only transferred to the IP 240 during a configuration pass.
If you wish to read the current values of the data areas, you must first call the control FB and initialize it for
Read function 1 or 3.
This data is specified by the initializing parameters for the configuring FB or is transferred from the IP 240
to the DB when the module is configured.
These data words are used internally and are not available for any other purpose.
EWA 4NEB 811 6120-02a
DW 30
Actual value (IST)
DW 31
BCD
DW 32
Actual value (IST)
DW 33
Binary
DW 34
Initial value of
DW 35
Track 1
DW 36
Final value of
DW 37
Track 1
DW 38
Initial value of
DW 39
Track 2
DW 40
Final value of
DW 41
Track 2
DW 42
Initial value of
DW 43
Track 3
DW 44
Final value of
DW 45
Track 3
DW 46
Initial value of
DW 47
Track 4
DW 48
Final value of
DW 49
Track 4
DW 50
Initial value of
DW 51
Track 5
DW 52
Final value of
DW 53
Track 5
DW 54
Initial value of
DW 55
Track 6
DW 56
Final value of
DW 57
Track 6
DW 58
Initial value of
DW 59
Track 7
DW 60
Final value of
DW 61
Track 7
DW 62
Initial value of
DW 63
Track 8
DW 64
Final value of
DW 65
Track 8
DW 66
Zero offset
DW 67
Position Decoding
7-25

Advertisement

Table of Contents
loading

Table of Contents