
Chapter 8 Communication Functions
8-20
(5) Example
This example supposes that 2 byte H’AA15 is written in D000 of station No. 1 and BCC value is checked.
①
Computer request Format (PC
→
MASTER-K120S main 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
←
MASTER-K120S main 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
←
MASTER-K120S main 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-K 120S Series
Страница 26: ...Chapter 4 Names of Parts 4 3 2 K7M DRT60U 3 K7M DT60U 4 1 2 40 points main unit Standard 1 K7M DR40U ...
Страница 27: ...Chapter 4 Names of Parts 4 4 2 K7M DRT40U 3 K7M DT40U 4 1 3 30 points main unit Standard 1 K7M DR30U ...
Страница 28: ...Chapter 4 Names of Parts 4 5 2 K7M DRT30U 3 K7M DT30U 4 1 4 20 points main unit Standard 1 K7M DR20U ...
Страница 29: ...Chapter 4 Names of Parts 4 6 2 K7M DRT20U 3 K7M DT20U 4 1 5 30 points main unit Economic 1 K7M DR30UE ...
Страница 138: ...Chapter 7 Usage of Various Functions 7 54 c Program ...
Страница 306: ...Appendix 3 External Dimensions App3 2 2 Slim type G7E DC08A G7E RY08A G7F ADHB G7F DA2V G7F RD2A ...