Omega CN1166 manual Read Holding Registers Read n Words 03/04, Force Single Coil Write 1 Bit

Page 57

This function will be used largely to report controller status information, and so a bit set to 1 indicates that the corresponding feature is currently enabled/active, and a bit reset to 0 indicates the opposite.

If an exact multiple of eight bits is not requested, the data is padded with trailing zeros to preserve the 8-bit format. After the data has been transmitted, the CRC16 value is sent.

B. Read Holding Registers (Read n Words) 03/04

The message sent to the controller to obtain the value of one or more registers is an eight-byte message as follows:

 

 

Addr. of

 

 

 

 

Addr.

Func.

1st Word

No. of words

CRC16

 

 

 

 

 

 

 

 

 

 

 

3/4

HI

LO

HI

LO

HI

LO

 

 

 

 

 

 

 

 

The reply sent by the controller echoes the first 2 characters received and then contains a single-byte data byte count, the value of which does not include either itself or the CRC value to be sent. For this message, the count equals the number of parameters read times two. Following the byte count, that number of parameter values are transmitted, MSB first, followed by the CRC16.

Addr.

Func.

Count

1st value

2nd value

 

 

 

 

 

 

 

 

3/4

 

HI

LO

HI

LO

 

 

 

 

 

 

 

 

Last value

CRC16

 

 

 

 

 

 

HI

LO

HI

LO

 

 

 

 

 

C. Force Single Coil (Write 1 Bit)

 

05

B

The message received by the controller is 8 bytes long, consisting of the standard preamble and the address of the bit to force, followed by a two-byte word whose MSB contains the desired truth value of the bit expressed as 0xFF (TRUE) or 0x00 (FALSE).

Addr.

Func.

Addr. of Bit

State

 

CRC16

 

 

 

 

 

 

 

 

 

 

5

HI

LO

FF/00

 

0

HI

LO

 

 

 

 

 

 

 

 

 

Generally, this function will be used to control such features as Auto/Manual and Tuning.

The normal reply sent by the controller will be a byte-for-byte echo of the message received.

O077-4

Volume II

4-3

Image 57
Contents Page Page RAMP/SOAK Profile Volume Operating Instructions Volume Installation & Configuration InstructionsContents PANEL-MOUNTING the Controller Unpacking ProcedureConnections and Wiring Rear Terminal Connections 2 24V Nominal AC/DC Supply Mains Line InputThermocouple Input RTD InputsRemote Run/Hold Input Linear InputsRelay Outputs SSR Drive Outputs11 RS485 Serial Communications Link DC OutputsRemoving the Profile Controller from ITS Housing Internal Links and SwitchesRemoving the Output 2/Output 3 Option PCBs REMOVING/REPLACING the Output 2/OUTPUT 3 Option PCBs Replacing the Instrument in ITS HousingInput Type Selection of Input Type and Output 1 TypeCPU PCB Relay/SSR Drive/Solid State Output Primary Output Output 1 TypeOutput 2 TYPE/OUTPUT 3 Type Hardware Definition Code Entry Into Configuration ModeWit h Hardw are Definit ion Code displayed Configurat ion ModeHardware Definition Code Input/Output Type Selection Option SelectionWit h Hardw are Definit ion Code displayed Configuration Mode ParametersParameter AL1 OFF, AL2 OFF Parameter Page Exit from Configuration Mode Base Mode Program Definition Mode CREATING/EDITING a Program Controller SET-UP ModeModbus Communications Alphabetic IndexDisplay Sequence no Program Running Base ModePutting a Program in Hold Starting a ProgramReleasing a Program from Hold Aborting a ProgramRead Only whilst Program is running/held Display Sequence Program RunningPRE-TUNE Feature RaPID Control FeatureIndication of PRE-TUNE and RaPID Status Engaging Both PRE-TUNE and RaPID FeaturesRaPID Status when Hardware Definition Code has the following significance Viewing the Hardware Definition CodePress till front panel shows Press or to change display to Manual ControlController SET-UP Mode Lower display = Parameter Details Parameter Function Adjustment Range Default ValueON/OFF Parameter Function Adjustment Range Default Value Power Alarm Operation Deviation When this display shows Exit from Controller SET-UP ModeEntry Program Definition Mode CREATING/EDITING a ProgramBasic Guidelines Creating a ProgramTo make a Soak segment Defining Segments Rate ModeDefining Segments Time Mode Program Options T p o i n t Guaranteed Soak BandSegment Event Status Press key To display Exit from Program Define Mode Default Values and Adjustment RangesIntroduction Modbus Functions SupportedMessage Formats CRC16 Read Coil Status Read n Bits 01/02Force Single Coil Write 1 Bit Read Holding Registers Read n Words 03/04Preset Single Register Write 1 Word 06 B Loopback Diagnostic TestPreset Multiple Registers Write n Words 16 B CRC16 Calculation Error and Exception ResponsesReversed BIT Order Used Bit Parameters Controller Status Byte Parameter NumbersController Parameters Word ParametersInstrument ID Parameters Volume O077-4 Profiler Status Byte Profiler CommandsGeneral Universal InputInput Range Remote RUN/HOLD Input Option Relay OutputSSR Drive/TTL Solid StateTypes Available Relay, SSR drive, solid state and DC Solid State SSR Drive/TTL Loop Control Alarm ControlPerformance Reference ConditionsPerformance Under Reference Conditions S077-A Volume Environmental See PerformancePhysical 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