Chapter 8 Communication Functions

5) Monitor register(X##)

(1) Introduction

Monitor register can separately register up to 10 in combination with actual variable reading command, and carries out the registered one through monitor command after registration.

(2) PC request Format

 

Format name

 

 

Header

 

 

Station No.

 

 

Command

 

 

Registration No.

 

 

Registration Format

 

 

Tail

 

 

Frame

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

check

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Frame (Example)

 

 

ENQ

 

 

H10

 

 

X(x)

 

 

H09

 

 

Refer to registration Format

 

 

EOT

 

 

BCC

 

 

ASCII value

 

 

H05

 

 

H3130

 

 

H58(78)

 

 

H3039

 

 

[]

 

 

H04

 

 

 

 

 

Item

 

Explanation

 

 

BCC

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

 

 

 

 

 

 

 

each to ASCII values from ENQ to EOT is converted into ASCII, added to BCC.

 

 

Register No.

This can be registered up to 10(0 to 9, H00-H09), and if an already registered No. is

 

 

 

 

 

 

 

registered again, the one currently being executed is registered.

 

 

Register Format

This is used to before EOT in command of Formats of separate reading of variable,

 

 

 

reading, and named variable reading.

 

 

 

continuous

 

Register Format : Register Format of request Formats must select and use only one of the followings.

Individual reading of device

RSS

Number of blocks(2 Byte)

Device length (2 Byte)

Device name (16 Byte)

...

1 block(max. 16 blocks)

Continuous reading of device

RSB

Device length (2 Byte)

Device name (16 Byte)

Number of data

8-21

Page 211
Image 211
LG Electronics 120S user manual Monitor registerX##, Rss, Blockmax blocks ② Continuous reading of device, Rsb