LG MASTER-K 120S Series User Manual page 211

Programmable logic controller
Table of Contents

Advertisement

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
Frame (Example)
ENQ
ASCII value
H05
Item
BCC
Register No.
Register Format
※ 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)
② Continuous reading of device
RSB
Station No.
Command
H10
X(x)
H3130
H58(78)
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.
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.
This is used to before EOT in command of Formats of separate reading of variable,
continuous reading, and named variable reading.
Device length (2 Byte)
Device length (2 Byte)
Registration No.
Registration Format
H09
Refer to registration Format
H3039
[※]
Explanation
Device name (16 Byte)
1 block(max. 16 blocks)
Device name (16 Byte)
8-21
Frame
Tail
check
EOT
BCC
H04
...
Number of data

Advertisement

Table of Contents
loading

Table of Contents