Chapter 13 RS-232C function of K200S MASTER-K
13-18
3) Response format (PLC à External device : ACK response)
Format
name
Header Station number Main instruction Instruction type Tail Frame check
Frame
example
ACK h10 W (w) SB EXT BCC
ASCII
value
h06 h3130 h57 (h77) h5342 h03
① Station number, main instruction, and instruction type are same as the request format
② When the main instruction is small character (w), 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
Instruction
type
Error code
(Hex 2 byte)
Tail Frame check
Frame
example
NAK h20 W (w) SB h2232 ETX BCC
ASCII value h15 h3230 h57 (h77) h5342 h32323332 h03
① Station number, main instruction, and instruction type are same as the request format.
② When the main instruction is small character (w), 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.