![Omron E5AN User Manual Download Page 16](http://html1.mh-extra.com/html/omron/e5an/e5an_user-manual_742571016.webp)
CHAPTER 2 CompoWay/F COMMUNICATIONS PROCEDURES
E5AN/EN/CN/GN
2--2
2.1 Data Format
Unless otherwise indicated, numbers in this manual are expressed in hex-
adecimal. Values in double quotation marks, such as “00”, are ASCII.
The number underneath each delimiter in a frame indicates the number
of bytes.
J
Command frame
STX
0
0
ETX
1
2
2
1
1
1
BCC
SID
Text
BCC calculation range
Node No.
Sub-address
Command text
0
STX
This code (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 E5AN/EN/CN/GN’s “Communications unit No.”.
·
BCD range “00” to “99” and “XX” can be set.
·
Specify “XX” for a broadcast transmission. No response will be returned for broad-
cast transmissions.
·
No responses will be returned from node Nos. set otherwise from the above.
Sub-address
This is not used on the E5AN/EN/CN/GN. Be sure to set the sub-address to “00”.
SID (service ID)
This is not used on the E5AN/EN/CN/GN. Be sure to set the sub-address to “00”.
Command text
Command text area. For details, see “2.2 Structure of Command Text.”
ETX
This code (03) indicates the end of the text.
BCC
Block Check Character
The BCC result is found by calculating the exclusive OR of the bytes from the node
No. up to ETX.