Omega CN1166 manual Read Coil Status Read n Bits 01/02, CRC16

Page 56

Number. The contents of the remainder of the message depends upon the function number.

In most cases the instrument is required to reply by echoing the address and function number, together with an echo of all or part of the message received (in the case of a request to write a value or carry out a command) or the information requested (in the case of a read parameter operation). Broadcast Messages (to which the controller responds by taking some action without sending back a reply) are supported at instrument address zero. Commands which can be broadcast are marked with the symbol B.

Data is transmitted as eight-bit binary bytes with 1 start bit, 1 stop bit and optional parity checking (None, Even or Odd).

A message is terminated solely by a delay of more than three character lengths at the given Baud Rate, and any character received after such a delay is treated as a potential address at the start of a new message.

The following individual message formats apply. Since only the RTU form of the protocol is being supported, each message is followed by a two-byte CRC16. Details of how the checksum must be calculated are given at the end of this section.

A. Read Coil Status (Read n Bits)

01/02

The message sent to the controller will consist of 8 bytes, as follows:

 

 

Addr. of

 

 

 

 

Addr.

Func.

1st Bit

No. of bits

CRC16

 

 

 

 

 

 

 

 

 

 

 

1/2

HI

LO

HI

LO

HI

LO

 

 

 

 

 

 

 

 

The normal reply will echo the first two characters of the message received, and will then contain a single-byte data byte count, which will not include itself or the CRC. For this message, there will be one byte of data per eight bits-worth of information requested, with the LSbit of the first data byte transmitted depicting the state of the lowest-numbered bit required.

Addr. Func. Count 1 - 8 9 - 16 17 - 24

1/2

Last

CRC16

 

 

 

 

HI

LO

 

 

 

4-2

Volume II

O077-4

Image 56
Contents Page Page RAMP/SOAK Profile Volume Installation & Configuration Instructions Volume Operating InstructionsContents Unpacking Procedure PANEL-MOUNTING the ControllerConnections and Wiring Rear Terminal Connections Mains Line Input 2 24V Nominal AC/DC SupplyThermocouple Input RTD InputsLinear Inputs Remote Run/Hold InputRelay Outputs SSR Drive OutputsDC Outputs 11 RS485 Serial Communications LinkInternal Links and Switches Removing the Profile Controller from ITS HousingRemoving the Output 2/Output 3 Option PCBs Replacing the Instrument in ITS Housing REMOVING/REPLACING the Output 2/OUTPUT 3 Option PCBsSelection of Input Type and Output 1 Type Input TypePrimary Output Output 1 Type CPU PCB Relay/SSR Drive/Solid State OutputOutput 2 TYPE/OUTPUT 3 Type Entry Into Configuration Mode Hardware Definition CodeConfigurat ion Mode Wit h Hardw are Definit ion Code displayedOption Selection Hardware Definition Code Input/Output Type SelectionConfiguration Mode Parameters Wit h Hardw are Definit ion Code displayedParameter AL1 OFF, AL2 OFF Parameter Page Exit from Configuration Mode Base Mode Controller SET-UP Mode Program Definition Mode CREATING/EDITING a ProgramModbus Communications Alphabetic IndexBase Mode Display Sequence no Program RunningStarting a Program Putting a Program in HoldReleasing a Program from Hold Aborting a ProgramDisplay Sequence Program Running Read Only whilst Program is running/heldRaPID Control Feature PRE-TUNE FeatureEngaging Both PRE-TUNE and RaPID Features Indication of PRE-TUNE and RaPID StatusRaPID Status when Viewing the Hardware Definition Code Hardware Definition Code has the following significanceManual Control Press till front panel shows Press or to change display toController SET-UP Mode Lower display = Parameter Function Adjustment Range Default Value Parameter DetailsON/OFF Parameter Function Adjustment Range Default Value Power Alarm Operation Deviation Exit from Controller SET-UP Mode When this display showsProgram Definition Mode CREATING/EDITING a Program EntryCreating a Program Basic GuidelinesDefining Segments Rate Mode To make a Soak segmentDefining Segments Time Mode Program Options Guaranteed Soak Band T p o i n tSegment Event Status Press key To display Default Values and Adjustment Ranges Exit from Program Define ModeMessage Formats IntroductionModbus Functions Supported Read Coil Status Read n Bits 01/02 CRC16Read Holding Registers Read n Words 03/04 Force Single Coil Write 1 BitPreset Multiple Registers Write n Words 16 B Preset Single Register Write 1 Word 06 BLoopback Diagnostic Test Error and Exception Responses CRC16 CalculationReversed BIT Order Used Parameter Numbers Bit Parameters Controller Status ByteWord Parameters Controller ParametersInstrument ID Parameters Volume O077-4 Profiler Commands Profiler Status ByteUniversal Input GeneralInput Range Remote RUN/HOLD Input Option Output RelaySSR Drive/TTL Solid StateTypes Available Relay, SSR drive, solid state and DC Solid State SSR Drive/TTL Alarm Control Loop ControlPerformance Under Reference Conditions PerformanceReference Conditions S077-A Volume Physical EnvironmentalSee Performance Appendix B Summary of Displays Program Define Mode Parameters Configuration Mode Parameters AppendixC RaPID Control Feature AT OFF Alphabetical Index S077-IDX Volume Making a Soak Segment S077-IDX Volume Unpacking Procedure Word Parameters II/4-8