Chapter8 Communication Function
8-23
(4) Response Format (NAK response)
Format name
Header
Station No.
Command
Registration
No.
Error code
(Hex 2Byte)
Tail
Frame
check
Frame (Example)
ACK H10 X(x) H09
H1132 ETX
BCC
ASCII value
H06
H3130
H58(78)
H3039
H31313332
H03
Item
Explanation
BCC
When command is one of lower case(r), only one lower byte of the value resulted by adding
1 Byte each to ASCII values from NAK to ETX is converted into ASCII and added to BCC,
and sent.
Error code
Hex and 2 bytes(ASCII code, 4 bytes) indicate error type. For the details, see 8.1.8 Error
codes.
(5) Example
This example supposes that device M000 of station NO. 1 is monitor registered.
①
Computer request Format (PC
→
MK80S Base Unit)
Registration Format
Format name
Header Station No. Command
Registration
No.
R##
Number of
blocks
Device length Device name
Tail Frame check
Frame (Example) ENQ H01 x
H01 RSS H01
H06 %MW000 EOT BCC
ASCII value
H05
H3031
H78
H3031 H525353
H3031 H3036
H255457
303030
H04
②
For ACK response after execution of command(PC
←
MK80S Base Unit)
Format name
Header
Station No.
Command
Registration No.
Tail
Frame check
Frame (Example)
ACK H01 x
H01
ETX BCC
ASCII value
H06
H3031
H78
H3031
H03
③
For NAK response after execution of command (PC
←
MK80S Base Unit)
Format name
Header
Station No.
Command
Registration No.
Error code
Tail
Frame check
Frame (Example)
NAK H01 x H01 Error code (2)
ETX
BCC
ASCII value
H15
H3031
H78
H3031
Error code (4)
H03
Содержание MASTER-K80S
Страница 27: ...Chapter 4 Names of Parts 4 4 1 3 30 points base unit 4 1 4 40 points base unit 4 1 5 60 points base unit...
Страница 66: ...Chapter 6 Input and Output Modules 6 3 30 point base unit 4 40 point base unit DC24V DC24V DC24V...
Страница 67: ...Chapter 6 Input and Output Modules 6 5 60 point base unit DC24V DC24V...
Страница 206: ...Chapter 8 Communication Function 8 63 You can see the frame list which is designated Click OK button...