Chapter 8 Communication Functions

(3) Response Format (ACK response)

Format name

Header

Station No.

Command

Registration No.

Tail

Frame check

Frame (Example)

ACK

H10

X(x)

H09

ETX

BCC

ASCII value

H06

H3130

H58(78)

H3039

H03

 

 

 

Item

 

 

 

 

 

 

 

 

 

 

 

Explanation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

BCC

 

 

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

 

 

Registration

 

 

Error code

 

 

Tail

 

 

Frame

 

 

 

 

 

 

 

 

 

 

 

 

No.

 

 

(Hex 2Byte)

 

 

 

 

check

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Frame (Example)

 

ACK

 

H10

 

 

X(x)

 

 

H09

 

H1132

 

 

ETX

 

 

BCC

 

 

 

ASCII value

 

H06

 

H3130

 

 

H58(78)

 

 

H3039

 

H31313332

 

 

H03

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Item

 

 

 

 

 

 

 

 

 

 

 

Explanation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

BCC

 

 

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-22

Page 212
Image 212
LG Electronics 120S user manual H06 H3130 H5878 H3039 H03