EasyManua.ls Logo

LSIS Master-K K1000S - Page 162

LSIS Master-K K1000S
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-16
5) Example
Write h1234 to the first word of P area ( P000 ) of the PLC of that station number is h01.
( No BCC check )
Request format (External device à PLC)
Format
name
Header
Station
number
Main
instruction
Instruction
type
Number
of blocks
Length of
device
definition
Device
definition
Data Tail
Frame
example
ENQ h01 W SS h01 h06 %PW000 h1234 EOT
ASCII
value
h05 h3031 h57 h5353 h3031 h3036
h255057
303030
h31323334 h04
Response format (PLC à External device : ACK response)
Format
name
Header
Station
number
Main
instruction
Instruction
type
Tail
Frame
example
ACK h01 W SS EXT
ASCII
value
h06 h3031 h57 h5353 h03
Response format (PLC à External device : NAK response)
Format
name
Header
Station
number
Main
instruction
Instruction
type
Error code Tail
Frame
example
NAK h01 W SS
error code
(2 byte)
ETX
ASCII value h15 h3031 h57 h5353
ASCII value
(4 byte)
h03

Table of Contents

Related product manuals