Chapter8 Communication Function
8-21
(5) Example
This example supposes that 2 byte HAA15 is written in D000 of station No. 1 and BCC value is checked.
①
Computer request Format (PC
→
MK80S Base Unit)
Format name
Header
Station
No.
Command
Command
type
Device
Length
Device
Number of
data
Data
Tail
Frame
check
Frame (Example) ENQ H01 w
SB H06 %DW0000 H01 HAA15056F EOT BCC
ASCII value
H05
H3031
H77
H5342
H3036 H254457303030
H3031
H414131353
0353646
H04
②
For ACK response after execution of command (PC
←
MK80S Base Unit)
Format name
Header
Station No.
Command
Command type
Tail
Frame check
Frame (Example)
ACK H01 W
SB
ETX BCC
ASCII value
H06
H3031
H77
H5342
H03
③
For NAK response after execution of command(PC
←
MK80S Base Unit)
Format name
Header
Station No.
Command
Command type
Error code
Tail
Frame check
Frame (Example)
NAK 01 W SB Error code (2)
ETX
BCC
ASCII value
H15
H3031
H77
H5342
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...