Omega Engineering CN8240, CN8260 manual Omega+ Protocol, Message Formats, Start Char, Zone, Example

Page 9

CN8240 & CN8260 Series Communications & Options

Digital

Communications Option

Omega+ Protocol

The Omega+ Protocol provides an easy way to query and modify controller parameters using a personal computer and the optional digital communications option of the 18C/25C.

In this manual, the word “host” refers to the personal computer that’s communicating with the controllers in the serial link, and the word “slave” refers to the controllers themselves.

All transactions between the host and the slaves are done with messages consisting of only printable ASCII charac- ters. There are only two primary types of messages: Requests and Responses. Messages coming from the host are called requests and messages coming from the slaves are called responses.

With the exception of a broadcast request, for every request sent from the host, the slave will send back a response. If a slave does not respond within 100 milliseconds, then the request can be considered lost.

A broadcast request is a request having an ID of ‘00’ (see Message Formats below). It is used to address all slaves on the network. All slaves on the network will perform the actions requested in a broadcast message. However, a response message will not be returned. Therefore, the host can only broadcast Write or Auxiliary Command Requests. All slaves will ignore all Read Broadcast Requests.

Message Formats

All Omega+ messages adhere to the general format of:

[START CHAR][ID][ZONE][TYPE][PARAM][ERROR][DATA][CHKSUM][END CHAR]

START CHAR

This is a single character which designates the start of the message. For a Request message, this character is the ASCII ‘$’ and for a Response message, this character is the ASCII ‘%’.

ID

This is a two-character ID identifying the receiving controller. Controller IDs go from 1-255 inclusively and all slaves in the network must have unique IDs. The ID number of ‘00’, when used in a request, designates a broadcast mes- sage that is used to address all controllers in the network. See the section Request Message for an explanation of the broadcast message.

In order to represent 255 with just two ASCII characters, a number system known as the Message Code Numbering System is used. In this system, the most significant digit is represented with the numbers 0-9 and the letters A-Z and the least significant digit is represented with the numbers 0-9.

The numbers 0-9 have the same values as their decimal counterparts and the letters A-Z have the values of 100 - 50 inclusively in increments of 10.

 

Example:

 

 

Message Code Value

=

Decimal Value

 

 

 

00

 

0 + 0 = 00

99

 

90

+ 9 = 99

A0

 

100

+ 0 = 100

A2

 

100

+ 2 = 102

B8

 

110

+ 8 = 118

P5

 

250

+ 5 = 255

Zone

This is a two character ID identifying the Zone number in multi-zone capable controllers. For the 18C/25C, this num- ber must be 01.

6

Image 9
Contents Series Omega.comTM Table of Contents Option -AL1, -AL2 Relay, N.O. Alarm Output Option -C2 RS-232 one-to-one CommunicationsLoad Type Voltage Limit Option -C4 RS-485 one-to-many Communications Options -XP1, -XP2, -XP3, -XP4 Transducer Power SupplyOptions -DIC, -RSP4, -RSP5, -RSP6, -RSP7 Remote Setpoint Options -PVSV1, -PVSV2 Process OutputOption -DIC Options -RSP4, -RSP5, -RSP6, -RSP7With Remote Communications Options Wiring diagram for digital communicationsMessage Formats Omega+ ProtocolStart Char ZoneType ErrorParam Type character Message TypeEND Char ChksumRead Command to Controller Write Command to ControllerRead Response from Controller Auxiliary Command to Controller Write Response from ControllerAuxiliary Response from Controller Request Message Description Read RequestField Description Type Write RequestAuxiliary Command Request Response MessagesField Description Write Response Read ResponseCN8240/CN8260 Parameter Codes Auxiliary Command ResponseRAM, Eeprom Number Name Read Write Data Field ValueDigital Communications Option PID Digital Communications Option Digital Communications Option Digital Communications Option Or RTD w/ Decimal Auxiliary CommandsCommand Retrieve Display Parameter # Description Command Clear Latched Alarms Parameter # DescriptionRequest Data Fields CN8240 & CN8260 Series Communications & Options CN8240 & CN8260 Series Communications & Options CN8240 & CN8260 Series Communications & Options Warranty / Disclaimer Temperature