Programming examples mode 1
69
7.2 Requesting the response values of an RCMS470-12
A Modbus RTU Master is to query the defined response values of all 12 channels (BMS in-
struction code 30) from an RCMS470-12 with BMS address 5.
The
Configuration register
must be written as follows:
In this example, the
Read register
provides the following information:
Word
Start address
Config.
register
BMS instruc-
tion code
High-Byte
BMS address
Low-Byte
Meaning
1
041Fh
01Eh
005h
Setting the configuration register
Word
Start address
read register
BMS instruc-
tion code
High-Byte
BMS address
Low-Byte
Meaning
1
001Fh
01Eh
005h
Repetition of configuration data:
instruction code 30 (1Eh), address 5
Address
read register
Data value per channel
Data type per channel
High-Byte Low-Byte
2
0020h
00h
64h
Channel 1
: data value 100 (64h) = measured
value, data value 55 (37h) = residual curr. in mA,
response value => 100 mA
3
0021h
00h
37h
4
0022h
00h
64h
Channel 2
: data value and data type like chan-
nel 1
5
0023h
00h
37h
6
0024h
00h
55h
Chan. 3
: data value 85 (55h) = measured value,
data value 55 (37h) = residual current in mA,
response value => 85 mA
7
0025h
00h
37h
8
0026h
00h
64h
Channel 4
: data value and data type like chan-
nel 1
9
0027h
00h
37h
10
0028h
00h
64h
Channel 5
: data value and data type like chan-
nel 1
11
0029h
00h
37h
12
002Ah
00h
64h
Channel 6
: data value and data type like chan-
nel 1
13
002Bh
00h
37h
14
002Ch
00h
64h
Channel 7
: data value and data type like chan-
nel 1
15
002Dh
00h
37h
16
002Eh
00h
64h
Channel 8
: data value and data type like chan-
nel 1
17
002Fh
00h
37h
18
0030h
00h
64h
Channel 9
: data value and data type like chan-
nel 1
19
0031h
00h
37h
20
0032h
00h
64h
Channel 10
: data value and data type like chan-
nel 1
21
0033h
00h
37h
22
0034h
03h
E8h
Channel 11
: data value 1000 (3E8h) = measured
value, data value 55 (37h) = residual current in
mA, response value => 1000 mA
23
0035h
00h
37h
24
0036h
00h
64h
Channel 12
: data value and data type like chan-
nel 1
25
0037h
00h
37h
Содержание FTC470XMB
Страница 66: ...Function 66 TGH1367en 06 2010...
Страница 76: ...Programming examples mode 1 76 TGH1367en 06 2010...
Страница 99: ......