Chapter 8
– RS485 Communication
8-5
2) Description :
*
Request starts with “ENQ” and ends with “EOT”.
*
Acknowledge Response starts with “ACK” and ends with “EOT”.
*
Negative Acknowledge Response starts with ”NAK” and ends with “EOT”.
*
“Inverter Number” is the number of Inverters used and indicated in 2 bytes ASCII-
HEX. (ASCII-HEX
: Hexadecimal consists of ‘0’ ~ ‘9’, ‘A’ ~ ‘F)
* CMD
: Capital letter (“IF Error” when small letter is used.)
Character
ASCII-HEX
Command
‘R’
52h
Read
‘W’
57h
Write
‘X’
58h
Request for monitoring registration
‘Y’
59h
Execution for monitoring registration
Data : ASCII-HEX
Ex) when data value is 3000 : 3000 (dec)
→ ‘0’ ’B’ ’B’ ’8’h → 30h 42h 42h
38h
Error code : ASCII (20h ~ 7Fh)
Receive/Send buffer size : Receive= 39 bytes, Send=44 bytes
Monitor register buffer : 8 Word
SUM : to check the communication error
SUM= ASCII-HEX format of lower 8 bit of (Inverter No. + CMD + DATA)
Ex) Command Message (Request) for reading one address from address
“9000”
ENQ
Inverter
No.
CMD
Address
Number of
address to
read
SUM
EOT
05h
“01”
“R”
“9000”
“1”
“AD”
04h
1 byte
2 bytes
1 byte
4 bytes
1 byte
2 bytes
1 byte
SUM = ‘0’ + ‘1’ + ’R’ + ‘9’ + ‘0’ + ‘0’ + ‘0’ + ‘1’
= 30h + 31h + 52h + 39h + 30h + 30h + 30h + 31h
= 1ADh (except for ENA/ACK/EOT value)
8.4.2
Detail communication protocol
1) Request for Read:
Request for read successive ‘N’ numbers of WORD from
address “XXXX”
ENQ
Inv. No.
CMD
Address
Number of
Address
SUM
EOT
05h
“01” ~ “FA”
“R”
“XXXX”
“1” ~ “8” = n
“XX”
04h
1 byte
2 bytes
1 byte
4 bytes
1 byte
2 bytes
1 byte
Total bytes = 12
The quotation marks (“ ”) mean character.
Содержание SV-xxx-iP5A-2
Страница 8: ......
Страница 35: ...Chapter 3 Installation 3 9 ...
Страница 44: ......
Страница 66: ......
Страница 100: ......
Страница 102: ...Chapter 7 Options 7 2 ...
Страница 118: ......