Omron CQM1H-SCB41 Computer Hardware User Manual


 
Appendix BCompoWay/F Master Protocol
139
Command Frame Contents
Item Meaning
STX A code, 02 Hex, indicating the beginning of a communications
frame (text). This code must always be set as the first byte.
Node number The node number identifies the source of the command frame.
Specify XX to broadcast a transmission. There will be no response
made to a broadcast.
Subaddress Set 00 for most components. Other values must be set for special
components.
SID Set 0 for most components. Other values must be set for special
components.
Command and text The command and required text are placed here. Refer to the
command codes and text for individual sequences.
MRC and SRC The command code specifies the service being used. Refer to the
command codes and text for individual sequences.
ETX A code, 03 Hex, indicating the end of text.
BCC The block check character (horizontal parity, 1 byte). The character
is an exclusive OR of all data from just after the STX to the ETX.
Response Frame Contents
Item Meaning
STX A code, 02 Hex, indicating the beginning of a communications
frame (text). This code must always be set as the first byte.
Node number The node number identifies the source of the command frame. XX
is specified to broadcast a transmission. There will be no response
made to a broadcast.
Subaddress 00 for most components. Other values must be set for special
components.
SID 0 for most components. Other values must be set for special
components.
End code (See note.) The results of executing the command frame.
Note: The response code (MRES and SRES) indicates the results
for the command code; the end code indicates the results for the
command frame. These are not the same.
Response and text The response and requested text are placed here. Refer to the
response and text for individual sequences.
MRES and SRES The response code specifies the results of processing the service
requested by the command code. Refer to the response codes and
text for individual sequences.
ETX A code, 03 Hex, indicating the end of text.
BCC The block check character (horizontal parity, 1 byte). The character
is an exclusive OR of all data from just after the STX to the ETX.