EasyManua.ls Logo

LSIS Master-K K200S - Page 165

LSIS Master-K K200S
238 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 13 RS-232C function of K200S MASTER-K
13-19
5) Example
Write hAA15 and h056F to the P000 and P001 of station number h01. (Without BCC)
Request format (External device à PLC)
Format
name
Header
Station
number
Main
instruction
Instruction
type
Length of
device
definition
Device
definition
Number
of data
Data Tail
Frame
example
ENQ h01 W SB h06 %M W100 h02 h11112222 EOT
ASCII
value
h05 h3031 h57 h5342 h3036
h254D57
313030
h3032
h31313131
32323232
h04
Response format (PLC à External device : ACK response)
Format
name
Header Station number Main instruction Instruction type Tail
Frame
example
ACK h01 W SB EXT
ASCII
value
h06 h3031 h57 h5342 h03
Response format (PLC à External device : NAK response)
Format
name
Header
Station
number
Main
instruction
Instruction
type
Error code
(Hex 2 byte)
Tail
Frame
example
NAK h01 W SB h2232 ETX
ASCII value h15 h3031 h57 h5342 h32323332 h03

Table of Contents

Related product manuals