PI8100a Protocol
PI8100a Protocol
120
Appendix I.RS485 Communication Protocol
Appendix I
When using RS485 running control methods, set F05=0/1/2(Keypad + RS485/CAN)
Mach Resisitors
TX 120ohm 1/4W
RX RS485 T+
GND ConventerT-
121
Appendix I.RS485 Communication Protocol
122
Appendix I.RS485 Communication Protocol
Slave response
Frame start Slave Function Register Register Register CRC frame end
…
address adress code N. add.1 add. n. checksum adress
Appendix I
Interval> Interval>
1 bytes 1 bytes 1 bytes 2 bytes … 2 bytes 2 bytes
2ms idle bit 2ms idle bit
0x06 = write to slave a single register (power-down does not save)
0x26 = write to slave a single register (power-down save)
Host Command
Frame start Slave Function Register Register CRC frame end
address adress code address data checksum adress
Interval> 2ms Interval> 2ms
1 bytes 1 bytes 2 bytes 2 bytes 2 bytes
idle bit idle bit
Slave response
Frame start Slave Function Register Register CRC frame end
address adress code address data checksum adress
Interval> 2ms Interval> 2ms
1 bytes 1 bytes 1 bytes 2 bytes 2 bytes…
idle bit idle bit
0x16 = Write multiple registers to the slave (power-down does not save)
0x36 = Write multiple registers to the slave (power-down save)
Host Command
Frame Slave CRC frame
Functio Registe Registe Registe Registe Registe
start adres … checksu end
n code r N. r add.1 r data 1 r add. n r data n
address s m adress
Interval Interval
1
> 2ms 1 bytes 1 bytes 2 bytes 2 bytes … 2 bytes 2 bytes 2 bytes > 2ms
bytes
idle bit idle bit
Response command
Frame start Slave Function Registers CRC
frame end adress
address adress code N. checksum
Interval> 2ms idle Interval> 2ms idle
1 bytes 1 bytes 1 bytes 2 bytes
bit bit
If slave response and get back to below function code, it means communications abnormal.
0xA0 = Invalid operation, setting under this state is invalid
0xA1 = function code is invalid
0xA2 = Fault record is empty
0xA3 = register address is invalid
0xA4 = slave is busy, EEPROM delay.
0xA5 = administrator restricted
0xA6 = set value is beyond limit.
0xA7 = CRC checksum error
0xA8 = frame format error
The register address includes two bytes, data setting is constituted by a two-byte.
123
Appendix I.RS485 Communication Protocol
Function code Register Address high byte Register Address low byte
Parameter group Parameter serial number
F 0x00 0~63
Appendix I
A 0x01 0~63
o 0x02 0~71
H 0x03 0~55
U 0x04 0~15
P 0x05 0~15
0x03/0x13 E 0x06 0~23
(read slave
C 0x07 0~47
function code
parameter) b 0x08 0~23
y 0x09 0~23
L 0x0A 0~31
S 0x0B 0~15
0x00 Running statusNOTE 2
0x01 Reserved status 1
R 0x10
0x02 Reserved status 2
0x03 Reserved status 3
Parameter group High byte data Low byte data
F 0x00 0~63
A 0x01 0~63
0x06/0x16(set o 0x02 0~71
slave function H 0x03 0~55
code parameter
U 0x04 0~15
and write
RAM) P 0x05 0~15
E 0x06 0~23
C 0x07 0~47
0x26/0x36(set b 0x08 0~23
slave function
y 0x09 0~23
code parameter
and write L 0x0A 0~31
EEPROM) 0x00 Running commandNOTE 3
0x01 Reserved status 1
R 0x10
0x02 Reserved status 2
0x03 Reserved status 3
Fault record data Fault inquiry content data
Faulty typeNOTE 4 0x00
Set frequency 0x01
Fault history record 1 0x00 Actual frequency 0x02
0x02(read the Fault history record 2 0x01
Actual current 0x03
fault record) Fault history record 3 0x02
Dc voltage 0x04
Fault history record 4 0x03
Fault history record 5 0x04 Running status NOTE 2 0x05
Running time 0x06
IGBT temperature 0x07
124
Appendix I.RS485 Communication Protocol
NOTE 1:
0x06/0x16 writing operation
Function 0x03/0x13 reading operation
0x26/0x36 reading operation
Appendix I
y00 reset the factory
Return 0 Only can write into 5
setting
y01 upload parameter
Return 0 Invalid operation
onto keyboad
y02 latest fault record Valid operation Invalid operation
Empty record 00H
y03~y07
New record 01H Invalid operation
fault history record
Confirmed record 02H
y08 reset fault record Return 0 Valid operation
y09 rated output current Valid operation Invalid operation
y10 rated output voltage Valid operation Invalid operation
80 0 3
Family Function Input voltage
y11 products series Invalid operation
serial code level
The number should be decimalization.
y12 soft ware version Valid operation Invalid operation
y13 product date –year Valid operation Invalid operation
y14 product month–date Valid operation Invalid operation
y15 user decode Valid operation Invalid operation
y16 user input password Valid operation Valid operation
y17 parameter group
Valid operation Valid operation
protection
NOTE 2:
BIT 15 BIT 14 BIT 13 BIT 12 BIT
0: confirmed
0: N fault 0: N fault
0: N fault fault
meaning 1: urgent stopping 1: decelerating
1: alarming fault 1: unconfirmed
fault fault
fault
bit 11 BIT 10 BIT、 9 BIT 8 BIT
0: N JOG.
meanning reserved reserved reserved
1: JOG running
bit 7 BIT 6 BIT 5 BIT 、 4 BIT
0: lower frequency 0: upper frequency 00: stopping 01:
not arriving not arriving accelerating
meaning
1: arrive lower 1: arrive upperer 10: decelerating
frequency frequency 11: running in a even speed
`bit 3 BIT 2 BIT 1 BIT 0 BIT
0: running reverse 0: V/F control
meaning reserve reserve
1: running forward 1: SV control
125
Appendix I.RS485 Communication Protocol
NOTE 3:
bit 15 BIT 14 BIT 13 BIT 12 BIT
Appendix I
126
Appendix I.RS485 Communication Protocol
Appendix I
Data meaning: data frame CRC checkup sum, using 2 bytes.
Checkup sum =all the CRC checkup sum in one data frame.
Valid setup and communications under normal circumstances, the host command and slave
responses are as follows:
Host Command
Host Registers CRC
Slave Setting
Frame start address command address checkup
address data
code sum
Interval> 2ms idle 0x0001
0x08 0x06 0x1388 0xD5C5
bit
Slave response
Host CRC
Slave Registers Setting
Frame start address response checkup
address address data
code sum
Interval> 2ms idle bit 0x08 0x06 0x0001 0x1388 0xD5C5
127