Chapter 8 Communication Functions

(3) Response format (ACK response)

Format name

Header

Station No.

Command

Command type

Tail

Frame check

Frame (Example)

ACK

H20

W(w)

SS

ETX

BCC

ASCII value

H06

H3230

H57(77)

H5353

H03

 

 

Item

 

 

 

 

 

 

 

 

 

 

 

Explanation

 

 

 

 

 

 

 

 

 

 

BCC

 

 

When command is lowercase(r), only one lower byte of the value resulted by adding 1 Byte

 

 

 

 

each to ASCII values from ACK to ETX is converted into ASCII and added to BCC, and sent.

 

 

 

 

 

 

 

 

(4) Response format (NAK response)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Format name

 

 

 

 

Header

 

 

Station No.

 

 

Command

 

 

Command type

 

 

Error code

 

 

Tail

 

 

Frame

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Hex 2 Byte)

 

 

 

 

check

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Frame (Example)

 

 

 

NAK

 

 

H20

 

 

W(w)

 

 

SS

 

H4252

 

 

ETX

 

 

BCC

 

 

ASCII value

 

 

 

H15

 

 

H3230

 

 

H57(77)

 

 

H5353

 

H34323532

 

 

H03

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Item

 

 

 

 

 

 

 

 

 

 

 

Explanation

 

 

 

 

 

 

 

 

 

 

BCC

 

 

When command is lowercase(r), only one lower byte of the value resulted by adding 1 Byte

 

 

 

 

each to ASCII values from NAK to ETX is converted into ASCII and added to BCC, and sent.

 

 

 

 

 

 

 

 

 

Error code

 

 

Hex and 2 bytes(ASCII code, 4 bytes) indicate error type. For the details, see 8.1.8 Error

 

 

 

 

codes.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8-16

Page 206
Image 206
LG Electronics 120S user manual Nak