EasyManua.ls Logo

LSIS Master-K K1000S - Page 167

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-21
3) 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) h06 ETX BCC
ASCII
value
h06 h3031 h58 (78) h3036 h03
Station number, main instruction, and registration number are same as the request
format.
When the main instruction is small character (x), the lower byte of summation from
ACK to ETX is converted into ASCII format and added to frame as BCC check.
4) 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) h06 h1132 ETX BCC
ASCII
value
h06 h3031 h58 (78) h3036 h31313332 h03
Station number, main instruction, and registration number are same as the request
format.
When the main instruction is small character (x), the lower byte of summation from
NAK to ETX is converted into ASCII format and added to frame as BCC check.
The error code is expressed as 2 byte of hexadecimal format ( 4bytes of ASCII
codes) and indicates the type of error. Please refer the error code table for details.

Table of Contents

Related product manuals