User manual for flow meter with pulse input SPI-94
3. Change of the device address from 1 to 2 (write to reg. 20h)
ADDR
FUNC
REG H,L
DATA H,L
CRC L,H
01
06
00
20
00
02
09
C1
DATA H - 0
DATA L - new device address (2)
The answer (the same as the message):
ADDR
FUNC
REG H,L
DATA H,L
CRC L,H
01
06
00
20
00
02
09
C1
4. Change of baud rate of all devices connected to the net (BROADCAST message).
ADDR
FUNC
REG H,L
COUNT H,L
CRC L,H
00
06
00
22
00
04
29
D2
DATA H - 0
DATA L - 4, new baud rate 19200 baud
Device do not reply to BROADCAST-type messages.
5. Try to write improper data to register (register 04h):
ADDR
FUNC
REG H,L
DATA H,L
CRC L,H
01
06
00
04
00
10
C9
C7
DATA H, L written value (10h = 16) out of allowable range (0 ÷ 5)
Device response ( with exception code 03h):
ADDR
FUNC
ERR
CRC L,H
01
86
03
09
C1
There is no full implementation of the Modbus Protocol in the device. The
functions presented above are available only.
46
i
i