Pag. 71 di 152
9.2 “Device dependent” Functions
9.2.1 (0x11) Slave ID Report
(0x11) Report Slave ID
Byte
Description Value
0
address
1
function code
0x11
2
byte count
0x1F
3
slave ID
4
run indicator status
0xFF
5
Application version major
6
Application version minor
7
Loader version major
8
Loader version minor
9 MSB
10
11
12
Serial number
LSB
13 byte/word
swap
- Swap bytes
:
0
≡
Standard;
1
≡
Swapped
- Swap words
:
0
≡
Standard;
1
≡
Swapped
- Swap doublewords
:
0
≡
Standard;
1
≡
Swapped
- Swap words in float values
:
0
≡
Standard;
1
≡
Swapped
- Not Allocated
(Must be set to 0)
14 MSB
15
tx delay (ms)
LSB
16 MSB
17
N coils
LSB
18 MSB
19
N discrete inputs (input status)
LSB
20 MSB
21
N holding registers
LSB
22 MSB
23
N input registers
LSB
24
CN1 option ID
25
CN2 option ID
0x00 = NONE
0x0C = 2 x 4-20 mA
0x0D = DONGLE
0x0E = RS485
0x0F = RS232
0xFF = ERROR
26 MSB
27
28
29
Application checksum
LSB
30 MSB
31
32
33
Loader Checksum
LSB
34
35
CRC