Data Format; Command Frame - Omron E5CN Manual

Digital temperature controller with 11-segment display
Hide thumbs Also See for E5CN:
Table of Contents

Advertisement

SECTION 2 CompoWay/F Communications Procedures

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

Node number Sub-address
STX
1
2
STX
Node number
Sub-address
SID (Service ID)
Command text
ETX
BCC
2-2
Text
SID
0
0
0
2
1
BCC calculation range
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.
• 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.
The sub-address is not used in the E5CN. Be sure to set the sub-address to "00."
The service ID is not used in the E5CN. Be sure to set the service ID to "00."
This is the command text area. For details, see 2.2 Structure of Command Text.
This code (H'03) indicates the end of the text.
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.
Command text
ETX
1
BCC
1

Advertisement

Table of Contents
loading

Table of Contents