Chapter 8 Communication Functions

8.1.4 List of commands

 

Classification

 

 

 

Command

 

 

 

 

 

 

 

Main command

 

Command type

 

Treatment

 

Items

 

Code

ASCII code

 

Code

ASCII code

 

 

 

 

Individual

 

r(R)

H72

 

SS

 

5353

Reads data from device of Bit, Byte, Word type.

 

Reading

 

(H52)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

device

Continuous

 

r(R)

H72

 

SB

 

5342

Reads device Word in block unit.

 

 

 

(H52)

 

 

(Continuous reading Bit is unavailable)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Individual

 

w (W)

H77

 

SS

 

5353

Writes data to device of Bit, Byte and Word type.

 

Writing

 

(H57)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

device

Continuous

 

w(W)

H77

 

SB

 

5342

Writes data to Byte and Word type in block unit.

 

 

 

(H57)

 

 

(Continuous reading Bit is unavailable)

 

 

 

 

 

 

 

 

 

 

 

 

 

CPU

 

r(R)

H73

 

ST

 

5354

Reads flag list like PLC operation status and error

 

Status reading

 

(H53)

 

 

information.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Classification

 

 

 

Command

 

 

 

 

 

Main command

 

Register No.

 

Treatment

 

Item

 

 

 

 

Code

 

ASCII code

 

Register

ASCII code

 

 

 

 

 

 

no.

 

 

 

 

 

 

 

 

 

 

 

 

 

Monitoring variable

 

x(X)

 

H78

 

H00~H09

3030 ~ 3039

Register device to monitor.

 

register

 

 

H58

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Execution of

 

y(Y)

 

H79

 

H00~H09

3030 ~ 3039

Execute registered device to monitor.

 

monitoring

 

 

(H59)

 

 

 

 

 

 

 

 

 

 

 

Remark

MASTER-K120S main unit identifies capitals or small letters for main commands, but not for the others.

8-7

Page 197
Image 197
LG Electronics 120S user manual Communication Functions List of commands, Cpu