Chapter 5 Parameters
|
VFD-S Series
Revision August 2006, SE08, SW V2.61
5-67
RTU mode:
Command message:
Response message:
ADR 01H
ADR 01H
CMD 03H
CMD 03H
21H
Starting data
address
02H
Number of data
(count by byte)
04H
00H
17H
Number of data
(count by word)
02H
Content of address
2102H
70H
CRC CHK Low
6FH
00H
CRC CHK High
F7H
Content of address
2103H
00H
CRC CHK Low
FEH
CRC CHK High
5CH
(2) 06H: single write, write single data to register.
Example: writing data 6000(1770H) to register 0100H. AMD address is 01H.
ASCII mode:
Command message:
Response message:
STX ‘:’
STX ‘:’
‘0’
‘0’
ADR 1
ADR 0
‘1’
ADR 1
ADR 0
‘1’
‘0’
‘0’
CMD 1
CMD 0
‘6’
CMD 1
CMD 0
‘6’
‘0’
‘0’
‘1’
‘1’
‘0’
‘0’
Data address
‘0’
Data address
‘0’
‘1’
‘1’
‘7’
‘7’
‘7’
‘7’
Data content
‘0’
Data content
‘0’
‘7’
‘7’
LRC CHK 1
LRC CHK 0
‘1’
LRC CHK 1
LRC CHK 0
‘1’
CR
CR
END 1
END 0
LF
END 1
END 0
LF
RTU mode:
Command message:
Response
message:
ADR 01H
ADR 01H
CMD 06H
CMD 06H
01H
01H
Data address
00H
Data address
00H
17H
17H
Data content
70H
Data content
70H
CRC CHK Low
86H
CRC CHK Low
86H
CRC CHK High
22H
CRC CHK High
22H
(3) Command code: 10H, write n word, n<=12
For example, writing 6000(1770H) to Pr 5-00 (address 0500H) and1000(03E8H) to Pr 5-01
(address 0501H) with slave address 01H.