Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 394

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

CompoWay/F Master Protocol
Command Frame Contents
Response Frame Contents
Note The end codes are described in the following table.
Item
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. Spec-
ify "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 com-
mand 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.
Item
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 com-
ponents.
SID
"0" for most components. Other values must be set for special com-
ponents.
End code (.)
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.
End code
Name
"00"
Normal end
"0F"
Command error
"10"
Parity error
"11"
Framing error
"12"
Overrun error
"13"
BCC error
"14"
Format error
"16"
Subaddress error
"18"
Frame length error
Meaning
Meaning
Meaning
The command frame was processed normally without any
of the following errors.
The specified command could not be executed. Refer to
the response code for more information.
A parity error was detected for one of the characters that
was received.
A framing error was detected for one of the characters that
was received.
A overrun error was detected for one of the characters that
was received.
The BCC for the receive frame was incorrect.
An illegal command or illegal character was received in the
command and text (characters other than ASCII 0 to 9 or A
to F).
The receive frame contained an illegal subaddress.
The receive frame was too long.
Appendix B
365

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents