Chapter 4 Parameters
VFD-EL-W 
4-80 
 
3. Function (Function code) and DATA (data characters) 
The format of the data characters depends on the function code.  
03H: Read data from register 
06H: Write single register 
08H: Loop detection 
 
The available function codes and examples for the VFD-EL-W drive are described in the following tables. 
(1) 03H: multi-read, read data from registers. 
Example: reading two continuous 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 
 
(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  ‘:’ 
Address 
‘0’ 
Address 
‘0’ 
‘1’ 
‘1’ 
Function 
‘0’ 
Function 
‘0’ 
‘6’ 
‘6’ 
Data address 
‘0’ 
Data address
‘0’ 
‘1’ 
‘1’ 
‘0’ 
‘0’ 
‘0’ 
‘0’ 
Data content  
‘1’ 
Data content 
‘1’ 
‘7’ 
‘7’