SECTION 2 CompoWay/F Communications Procedures
2-2
2.1 Data Format
Hexadecimal values are expressed by adding the prefix H’ before the number, e.g., H’02. Numbers
shown without the H’ prefix are ASCII characters.
The number underneath each item in a frame indicates the number of bytes.
■ Command Frame
SID BCC
STX 0 0 0 ETX
12 21 11
Tex t
Node number Sub-address Command text
BCC calculation range
STX This code (H’02) indicates the beginning of the communications frame (text).
Always set this character in the first byte.
When STX is received again during reception, reception is carried out again from
the point where STX was received.
Node number • This number specifies the transmission’s destination.
• Specify the E5CN’s communications unit number.
• A BCD value between 00 and 99 or an ASCII value of XX can be set.
• Specify “XX” for a broadcast transmission. No responses will be returned for
broadcast transmissions.
• No responses will be returned from node numbers other than the ones in the
above range.
Sub-address The sub-address is not used in the E5CN. Be sure to set the sub-address to “00.”
SID (Service ID) The service ID is not used in the E5CN. Be sure to set the service ID to “00.”
Command text This is the command text area. For details, see 2.2 Structure of Command Text.
ETX This code (H’03) indicates the end of the text.
BCC This is the Block Check Character.
The BCC result is found by calculating the exclusive OR of the bytes from the node
number up to ETX.