B–17

SJ300 Inverter

Communications Reference Information

Inverter Affirmative Reply

The standard affirmative reply from the inverter uses the ACK character (acknowledge) in the data field. The frame format of this reply follows the diagram and specification table.

Frame format

STX Node ACK BCC [CR]

Element

Description

Size

Value

 

 

 

 

 

 

 

Appendix

 

 

 

 

 

STX

Control code (STart of TeXt)

1 byte

STX (0x02)

 

 

 

 

 

 

 

 

 

Node

Node (station) address of inverter

2 bytes

01 to 32

 

 

 

 

 

 

 

 

ACK

Control code (ACKnowledge)

1 byte

ACK (0x06)

 

B

 

 

 

 

 

BCC

Block check sum code

2 bytes

Exclusive OR of Node and ACK

 

 

 

 

 

 

 

 

[CR]

Control code (carriage return)

1 byte

[CR] (0x0D)

 

 

 

 

 

 

 

 

 

Inverter Negative Reply

The standard negative reply from the inverter

 

 

Frame format

 

 

 

uses the NAK character (negative acknowl-

 

 

 

 

 

 

 

 

 

edge) in the data field. The frame format of

STX

Node

NAK

 

Error

BCC

[CR]

 

code

this reply follows the diagram and specifica-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

tion table.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Element

Description

 

Size

 

 

 

Value

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

STX

Control code (STart of TeXt)

 

1 byte

STX (0x02)

 

 

 

 

 

 

 

 

 

 

 

 

 

Node

Node (station) address of inverter

 

2 bytes

01 to 32

 

 

 

 

 

 

 

 

 

 

 

 

 

NAK

Control code

 

1 byte

NAK (0x15)

 

 

 

(Negative ACKnowledge)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Error code

Code representing error type

 

2 bytes

(See next table below)

 

 

 

 

 

 

 

 

 

 

BCC

Block check sum code

 

2 bytes

Exclusive OR of Node, Data,

 

 

 

 

 

and NAK

 

 

 

 

 

 

 

 

 

 

 

 

 

[CR]

Control code (carriage return)

 

1 byte

[CR] (0x0D)

 

 

 

 

 

 

 

 

 

 

 

 

 

The error codes for a NAK (negative acknowledge) are:

Error

Error Description

Error

Error Description

Code

Code

 

 

 

 

 

 

 

 

 

 

01H

Parity error

07H

Receive buffer overrun error

 

 

 

 

02H

Check sum error

08H

Receive time-out error

 

 

 

 

03H

Framing error

11H

Abnormal command code error

 

 

 

 

04H

Overrun error

13H

Test error code

 

 

 

 

05H

Protocol error

16H

Abnormal parameter code/value

 

 

 

error

 

 

 

 

06H

ASCII code error