Chapter 13 RS-232C function of K200S MASTER-K
13-22
5) Example
Register monitoring number 1 (Read D000 of station number 1)
① Request format (External device à PLC)
Registration format
Format
name
Header
Station
number
Main
instruction
Registration
number
Instruction
Number
of blocks
Length of
device
definition
Device
definition
Tail
Frame
check
Frame
example
ENQ h01 X (x) h01 RSS h01 h07 %DW0000 EOT
BCC
ASCII
value
h05 h3031 h58 (78) h3031 h525353 h3031 h3037
h4457
30303030
h04
② Response format (PLC à External device : ACK response)
Format
name
Header
Station
number
Main
instruction
Registration
number
Tail Frame check
Frame
example
ACK h01 X (x) h01 ETX BCC
ASCII
value
h06 h3031 h58 (78) h3031 h03
③ Response format (PLC à External device : NAK response)
Format
name
Header
Station
number
Main
instruction
Registration
number
Error code Tail Frame check
Frame
example
ACK h01 X (x) h01 h1132 ETX BCC
ASCII
value
h06 h3031 h58 (78) h3031 h31313332 h03