LG MASTER-K 120S Series User Manual page 213

Programmable logic controller
Table of Contents

Advertisement

Chapter 8 Communication Functions
(5) Example
This example supposes that device M000 of station NO. 1 is monitor registered.
① Computer request Format (PC → MASTER-K120S main unit)
Format name
Header Station No. Command
Frame (Example)
ENQ
ASCII value
H05
② For ACK response after execution of command(PC ← MASTER-K120S main unit)
Format name
Frame (Example)
ASCII value
③ For NAK response after execution of command (PC ← MASTER-K120S main unit)
Format name
Frame (Example)
ASCII value
Registration
No.
H01
x
H01
H3031
H78
H3031
Header
Station No.
ACK
H01
H06
H3031
Header
Station No.
Command
NAK
H01
H15
H3031
Registration Format
Number of
R##
Device length Device name
blocks
RSS
H01
H525353
H3031
Registration No.
Command
x
H01
H78
H3031
Registration No.
x
H01
H78
H3031
8-23
Tail
H06
%MW000 EOT
H255457
H3036
H04
303030
Tail
Frame check
ETX
BCC
H03
Error code
Tail
Frame check
Error code (2)
ETX
Error code (4)
H03
Frame check
BCC
BCC

Advertisement

Table of Contents
loading

Table of Contents