Chapter 8 Communication Functions

Remark

1)The numerical data of all frames are ASCII codes equal to hexadecimal value, if there’s no clear statement. The terms in hexadecimal are as follows.

Station No.

When the main command is R(r) or W (w) and the command type is numerical (means a data type)

All of the terms indicating size of all data in the Formatted data area.

Monitoring registration and command registration number of execution commands.

All contents of data

2)If it is hexadecimal, H is attached in front of the number of frames like H01, H12345, H34, H12, and H89AB

2)Sequence of command frame

(1)Sequence of command request frame

ENQ

Station No.

Command

Fomatted data

EOT

BCC

 

 

(PLC ACK response)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACK

Station No.

 

Command

Data or null

ETX

BCC

 

 

 

 

 

 

 

 

 

 

 

 

 

NAK Station No. Command

Error code

ETX BCC

(PLC NAK response)

8-6

Page 196
Image 196
LG Electronics 120S user manual Sequence of command frame, Eot Bcc, Etx Bcc