
5.6.2 RTU Mode
Numerals written below the command represent the number of characters.
(1) Read (Slave address 1, PV)
• A request message from the master
3.5 idle
characters
Slave
address
(01H)
Function
code
(03H)
Data item
(0100H)
Amount of data
(0001H)
Error check
CRC-16
(85F6H)
3.5 idle
characters
1
1
2
2
2
• Response message from the slave in normal status [When PV is 600
(0258H)]
3.5 idle
characters
Slave
address
(01H)
Function
code
(03H)
Number of
response bytes
(02H)
Data
(0258H)
Error check
CRC-16
(B8DEH)
3.5 idle
characters
1
1
1
2
2
(2) Write (Slave address 1, SV1)
• A request message from the master [When SV1 is set to 600 (0258H)]
3.5 idle
characters
Slave
address
(01H)
Function
code
(06H)
Data item
(0001H)
Data
(0258H)
Error check
CRC-16
(D890H)
3.5 idle
characters
1
1
2
2
2
• Response message from the slave in normal status
3.5 idle
characters
Slave
address
(01H)
Function
code
(06H)
Data item
(0001H)
Data
(0258H)
Error check
CRC-16
(D890H)
3.5 idle
characters
1
1
2
2
2
• Response message from the slave in exception (error) status (When a value out of the setting range is set)
The function code MSB is set to 1 for the response message in exception (error) status, and 86H is
returned.
Exception code 03H (Value out of the setting range) is returned (error).
3.5 idle
characters
Slave
address
(01H)
Function
code
(86H)
Exception code
(03H)
Error check
CRC-16
(0261H)
3.5 idle
characters
1
1
1
2
(3) Read [Slave address 1
,
SV1)
• A request message from the master
3.5 idle
characters
Slave
address
(01H)
Function
code
(03H)
Data item
(0001H)
Data
(0001H)
Error check
CRC-16
(D5CAH)
3.5 idle
characters
1
1
2
2
2
• Response message from the slave in normal status [When SV1 is 600
(0258H)]
3.5 idle
characters
Slave
address
(01H)
Function
code
(03H)
Number of
response bytes
(02H)
Data
(0258H)
Error check
CRC-16
(B8DEH)
3.5 idle
characters
1
1
1
2
2
• Response message from the slave in exception (error) status (When a data item is misread)
The function code MSB is set to 1 for the response message in exception (error) status, and 83H
is returned. Exception code 02H (Non-existent data address) is returned (error).
3.5 idle
characters
Slave
address
(01H)
Function
code
(83H)
Exception code
(02H)
Error check
CRC-16
(C0F1H)
3.5 idle
characters
1
1
1
2
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]