Download Installation Manual

Transcript
X4 Network/Fieldbus
2.4.1
Fieldbus Data-Interface
Combination of Write and Simultaniously Read
E.g. gross reading and set tare:
Value in Byte 4
Value in Byte 5
read-dattyp_request
write-datatyp_request
read_value_select
write_value_select
=
=
08
113
Beispiel
Byte 4
read_value_select
08
08
2.5
Byte 5
write_value_select
113
114
gross reading and set tare
gross reading and reset tare
Data Formats
Note:
2.5.1
Dependent on protocol, the data format is different. This applies to all data types consisting
of more than one byte INT, DINT, LINT.
Intel Format
This format is the exchanged format of a 16-bit value.
Another description is ‚big-endian’ or ‚most-significant byte’ (MSB)
Internal format of a byte:
Internal format of a 16-bit value:
Used only for DeviceNet
e.g. write/read window
Byte 0
Byte 1
Byte 2
Byte 3
2.5.2
Write data: LSB
"
"
Write data: MSB
76543210
7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8
DINT field for e.g. weight 7598.1 kg = 000128CDhex
CD hex
28 hex
01 hex
00 hex
Motorola Format
Die verdrehte Darstellung von Intel wurde später von Motorola korrigiert.
Die Bezeichnungen für das Motorola Format sind ‚little-endian’ bzw. ‚least-significant byte’ (LSB).
Interne Darstellung eines Byte:
Interne Darstellung eines 16 Bit- Wertes:
Used for: ProfiBus-InterBus-ModBus
e.g. write/read window
Byte 0
Byte 1
Byte 2
Byte 3
Sartorius
Write data: MSB
"
"
Write data: LSB
76543210
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DINT field for e.g. weight 7598.1 kg = 000128CDhex
00 hex
01 hex
28 hex
CD hex
EN-51