9
SECTION 2
CompoWay/F Communica-
tions Protocol
This section describes the protocol for communications using the
CompoWay/F format.
2.1 Data Format................................................................... 10
Command Frame.................................................... 10
Response Frame .................................................... 11
Communications Data ............................................ 12
2.2 Structure of Command Text ........................................... 14
PDU Structure ........................................................ 14
Addresses............................................................... 14
Number of Elements............................................... 14
List of Services ....................................................... 15
2.3 Detailed Description of the Services.............................. 16
Read Variable Area ................................................ 16
Variable Type and Read Start Address .................. 16
Bit Position.............................................................. 16
Number of Elements............................................... 16
Response Code...................................................... 16
Reading Timers, Counters, and Comparators........ 17
Reading Work Bits and HR Bits.............................. 20
Write Variable Area ................................................ 21
Writing Timer and Counter Set Values ................... 22
Writing Work Bits and HR Bits................................ 26
Read Controller Attributes ...................................... 26
Read Controller Status ........................................... 27
Read Time Data ..................................................... 28
Write Time Data...................................................... 29
Echoback Test........................................................ 31
Operation Command .............................................. 32
2.4 Response Code List ...................................................... 34