Chapter 4 Parameters
4-140
The available function codes and examples for VFD-E are described as follows:
(1) 03H: multi read, read data from registers.
Example: reading continuous 2 data from register address 2102H, AMD address is 01H.
ASCII mode:
Command message:
Response message:
STX ‘:’
STX ‘:’
Address
‘0’
Address
‘0’
‘1’
‘1’
Function
‘0’
Function
‘0’
‘3’
‘3’
Starting data
address
‘2’ Number of data
(Count by byte)
‘0’
‘1’
‘4’
‘0’
Content of starting
address
2102H
‘1’
‘2’
‘7’
Number of data
(count by word)
‘0’
‘7’
‘0’
‘0’
‘0’
Content of address
2103H
‘0’
‘2’
‘0’
LRC Check
‘D’
‘0’
‘7’
‘0’
END
CR
LRC Check
‘7’
LF
‘1’
END
CR
LF
RTU mode:
Command message:
Response message:
Address 01H
Address 01H
Function 03H
Function 03H
Starting data
address
21H Number of data
(count by byte)
04H
02H
Number of data
(count by word)
00H
Content of address
2102H
17H
02H
70H
CRC CHK Low
6FH
Content of address
2103H
00H
CRC CHK High
F7H
00H
CRC CHK Low
FEH
CRC CHK High
5CH