Chapter 4 Parameters
|
VFD-L-I Series
Revision July 2009, SW V1.1
4-53
The format of data characters depends on the command code. The available
command codes are described as followed:
(1) Command code: 03H, read N words.
The maximum value of N is 12. For example, reading continuous 2 words from starting address
2102H of AMD with address 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
‘3’
CMD 1
CMD 0
‘3’
‘2’
‘0’
‘1’
Number of data
(Count by byte)
‘4’
‘0’
‘1’
Starting data
address
‘2’
‘7’
‘0’
‘7’
‘0’
Content of starting
address
2102H
‘0’
‘0’
‘0’
Number of data
(count by word)
‘2’
‘0’
‘D’
‘0’
LRC CHK 1
LRC CHK 0
‘7’
Content of address
2103H
‘0’
CR
‘7’
END 1
END 0
LF
LRC CHK 1
LRC CHK 0
‘1’
CR
END 1
END 0
LF
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.
Summary of Contents for VFD-L-I Series
Page 1: ...PLC1 ir...
Page 2: ......
Page 3: ......