8
5.4 Command Example
Numerals written below the command represent number of characters.
(1) Read [Address 1, PV]
• Read command from the master
Header
(02H)
Address
(21H)
Sub
address
(20H)
Command
type
(20H)
Data item
[0080H]
(30H 30H 38H 30H)
Checksum
(44H 37H)
Delimiter
(03H)
1 1 1 1 4 2 1
• A response from the slave in normal status [When PV=25 (0019H)]
Header
(06H)
Address
(21H)
Sub
address
(20H)
Command
type
(20H)
Data item
[0080H]
(30H 30H 38H 30H)
Data
[0019H]
(30H 30H 31H 39H)
Checksum
(30H 44H)
Delimiter
(03H)
1 1 1 1 4 4 2 1
(2) Read [Address 1, SV1]
• Read command from the master
Header
(02H)
Address
(21H)
Sub
address
(20H)
Command
type
(20H)
Data item
[0001H]
(30H 30H 30H 31H)
Checksum
(44H 45H)
Delimiter
(03H)
1 1 1 1 4 2 1
• A response from the slave in normal status [When SV1=600 (0258H)]
Header
(06H)
Address
(21H)
Sub
address
(20H)
Command
type
(20H)
Data item
[0001H]
(30H 30H 30H 31H)
Data
[0258H]
(30H 32H 35H 38H)
Checksum
(30H 46H)
Delimiter
(03H)
1 1 1 1 4 4 2 1
(3) Write [Address 1, SV1 600 (0258H)]
• Write command from the master
Header
(02H)
Address
(21H)
Sub
address
(20H)
Command
type
(50H)
Data item
[0001H]
(30H 30H 30H 31H)
Data
[0258H]
(30H 32H 35H 38H)
Checksum
(44H 46H)
Delimiter
(03H)
1 1 1 1 4 4 2 1
• A response from the slave in normal status
Header
(06H)
Address
(21H)
Checksum
(44H 46H)
Delimiter
(03H)
1 1 2 1