Chapter 4 Parameters|
||
|
4-76 Revision 2016/03, 6ELE, V1.14
RTU mode:
START A silent interval of more than 10 ms
Address Communication address: 8-bit address
Function Command code: 8-bit command
DATA (n-1)
to
DATA 0
Contents of data:
n×8-bit data, n<=40 (20 x 16-bit data)
CRC CHK Low
CRC check sum:
16-bit check sum consists of 2 8-bit characters
CRC CHK High
END A silent interval of more than 10 ms
3.2 Address (Communication Address)
Valid communication addresses are in the range of 0 to 254. A communication address equal to 0, means
broadcast to all AC drives (AMD). In this case, the AMD will not reply any message to the master device.
00H: broadcast to all AC drives
01H: AC drive of address 01
0FH: AC drive of address 15
10H: AC drive of address 16
:
FEH: AC drive of address 254
For example, communication to AMD with address 16 decimal (10H):
ASCII mode: Address=’1’,’0’ => ‘1’=31H, ‘0’=30H
RTU mode: Address=10H
3.3 Function (Function code) and DATA (data characters)
The format of 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 VFD-EL 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