EasyManua.ls Logo

T-solution MASTER-K120S - Page 210

T-solution MASTER-K120S
306 pages
Print Icon
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 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

Table of Contents

Related product manuals