Page 1
User’ s Guide Shop on line at ® ® www.omega.com e-mail: info@omega.com For iSeries info: www.omega.com/specs/iseries For latest product manuals: www.omegamanual.info Monitor / Controller C C o o m m m m u u n n i i c c a a t t i i o o n n M M a a n n u u a a l l...
Page 2
It is the policy of OMEGA to comply with all worldwide safety and EMC/EMI regulations that apply. OMEGA is constantly pursuing certification of its products to the European New Approach Directives. OMEGA will add the CE mark to every appropriate device upon certification.
Communication Interfaces............5 Wiring RS-232 Interface .............5 Wiring RS-485 Interface .............6 Part 4: Communication Setup ................9 Flow Chart ..................9 Setup the i-Series Device Through the Front Panel ....10 Abbreviations, Range, Default Setup........10 Part 5: i-Series Protocol..................13 Command Structure ..............13 Command Formats ..............14 Response Format ..............19...
Page 4
Part 6: Modbus Protocol...................34 Introduction................34 RTU Mode ...................34 Device Address ................35 Function Code................35 Data Field..................35 CRC Checking................36 Modbus RTU Registers .............37 Command Format ..............38 6.8.1 Read Multiple Register (03 or 04) .........38 6.8.2 Write to Single Register (06) ........39 6.8.3 Diagnostic Command ............41 6.8.4 Error Response ..............41 Appendix A Reading Scale and Offset ............43 Appendix B ASCII Chart.................48...
Page 5
NOTES, WARNINGS and CAUTIONS Information that is especially important to note is identified by following labels: • NOTE • WARNING or CAUTION • IMPORTANT • TIP NOTE: Provides you with information that is important to successfully setup and use the Programmable Digital Meter. CAUTION or WARNING: Tells you about the risk of electrical shock.
PART 1 BEFORE YOU BEGIN Customer Service If you need assistance, please call the nearest Customer Service Department, listed in this manual. Manuals, Software The latest Operation and Communication Manual as well as free configuration software and ActiveX controls are available from the website listed in this manual or on the CD-ROM enclosed with your shipment.
INTRODUCTION TO DIGITAL COMMUNICATION 2.1 Overview This manual describes how to use a digital communication link and i-SERIES or MODBUS communication protocols to operate the i-Series controllers. It has been assumed that the user has some experience of communication protocols and some familiarity with i-Series controllers.
A data communication protocol defines the rules and structure of messages used by all devices on a network for data exchange. This protocol also defines the orderly exchange of messages, and the detection of errors. i-Series controllers use i-SERIES and MODBUS communication protocols.
• The RS-232 standard (point-to-point) allows a single device to be connected to a PC. The i-Series devices operate with full-duplex RS-232 using three wires: a Rx - receive wire, a Tx - transmit wire and a common ground wire. RS-232 cable length is limited to 50 feet.
Figures 3.1 and 3.2 show the three-wire RS-232 connections between the host computer using a 9-pin or 25-pin “D” connector and the i–Series device. DB-9 CONNECTOR i-SERIES Figure 3.1 Wiring between DB9 computer connector and RS-232 controller interface DB-25 CONNECTOR...
Figure 3.3 shows multipoint, half-duplex RS-485 interface connections for i-Series. Figure 3.3 Multipoint, Half-Duplex RS-485 wiring Value of the termination resistor is not critical and depends on the cable impedance.
PIN FUNCTION DB9 DB25 COMPUTER i-Series LABEL SIDE SIDE Rx/Tx SEE CONVERTER’S -Rx/-Tx Rx/Tx MANUFACTURING +Rx/+Tx Common ground SPECIFICATION Communication Interfaces shown above are those which used on i-Series devices. Other types of Communication Interfaces are not covered in this chapter.
4.2 Setup the i-Series Device Through the Front Panel You can setup your device by pressing the push buttons on the front panel. ENTER COMMUNICATION OPTION MENU: Press a 1) Press a until CNFG prompt appears. Press d 2) Display advances to INPT Input Menu.
Page 15
Abbreviations, Range, Default Setup Continued SEPR (SPCE, _cR_) Data Separation Space – space inserted after each SPCE Character piece of data. Carriage Return – carriage return inserted after each piece of data dAt.F Data Format: stAt Alarm Status Yes – enables the transmission of _No_ Alarms Value No –...
Page 16
Communications Parameters Submenu Allows the user to adjust Serial Communications settings of the device. When connecting an instrument to a computer or other device, the Communication Parameters must match. Generally the default settings shown in Table 4.1 should be utilized. Bus Format Submenu Determines communications standards and command/data formats for transferring information into and out of the device via the Serial Communications Bus.
PART 5 i-SERIES PROTOCOL To Enable the i-Series Protocol, set Modbus menu item to “No” in the Bus Format Submenu of the Communication Menu. Refer to Section 5.7.11. A Data Communication Protocol defines the rules and structure of messages used by all devices on a network for data exchange.
“<nn>” are the two ASCII characters for the device Bus Address of RS-485 communication . Use values from “00” to hex “C7” (199 decimal). Table 5.3 and 5.4 shows the command letters and suffix for i-Series devices. Table 5.3 Command Letters and Suffix for Temperature/Process and Process/Strain Gauge...
Page 19
Command Letters and Suffixes Continued Command Command Function Command # Of Default Index Bytes Characters Value ANLSCL 9186A0 COMM.PARAMETERS COLOR AL1LO A003E8 AL1HI 200FA0 GPRW RDGSCL 100001 AL2LO A003E8 AL2HI 200FA0 GPRW PB1/DEAD BAND 00C8 GPRW RESET 1 00B4 GPRW RATE 1 0000 GPRW...
Table 5.4 Command Letters and Suffix for Process/Strain Gauge Instrument with 10 Linearization Points Command Command Function Command # Of Default Index Bytes Characters Value 200000 200000 GPRW RDGOFF 200000 ANLOFF 400000 0000 INPUT GPRW RDGCNF AL1CNFG AL2CNFG LOOP BREAK TIME 003B OUT1CNF OUT2CNF...
Page 21
Command Letters and Suffixes Continued Command Command Function Command # Of Default Index Bytes Characters Value INPUT FOR SCALE 1 INPUT FOR SCALE 2 INPUT FOR SCALE 3 INPUT FOR SCALE 4 INPUT FOR SCALE 5 Linearization Points INPUT FOR SCALE 6 INPUT FOR SCALE 7 INPUT FOR SCALE 8 INPUT FOR SCALE 9...
Page 22
After modifying any settings with use of W prefix commands, a Hard Reset command should be sent in order to load changes into Volatile memory. Examples: 1. To reset the controller, send *Z02 (Table 5.3 & 5.4) 2. To read Setpoint 1, send *R01 (Table 5.3 & 5.4) 3.
5.3 Response Format Table 5.5 and 5.6 show response format with ECHO and without ECHO Mode selection. Table 5.5 Echo Mode For “P” and “W” For “G” and “R” For “X”,”V” and “U” For “D”, “E” and “Z” Command Command Command Command classes:...
4. Serial Device Address Error occurs if the new value is larger than 199 decimal. 1. The i-Series device will not respond to a command if the command‘s recognition character does not match the meter’s recognition character. 2. When in Multipoint mode, the device will not respond to the command if addresses do not match.
5.6 Examples of Transmitted Data 1. The following menu items have been selected: Standard – RS-232, Mode – Continuous, Linefeed – No, Separation – Space, Status - No Echo – No, Reading – Yes, Valley – Yes, Peak – Yes, Unit of measurement – Yes Assume that instrument has the following data: Reading value = 74.2°F, Peak value = 75.1°F, Valley value = 73.2°F Alarm 1 –...
5.7 Command Formats The following conditions are assumed in the examples of this section. 1. The recognition character is the asterisk (*). 2. The meter use RS-232 interface standard (point-to-point communication). 3. When “W” command is given, a reset is necessary to initiate the command. 4.
5.7.1.2 Input Type Format for Process/Strain Gauge Instrument BIT POSITION INPUT CLASS, RANGE OR TYPE Voltage 0 ~ 100 mV Voltage 0 ~ 1 V Voltage 0 ~ 10 V Voltage 0 ~ 20 mA Ratio Disable Ratio Enable Low Resolution High Resolution Peak Value Gross Value...
5.7.2.2 Reading Configuration Format for Process/Strain Gauge Instrument BIT NUMBER FUNCTION Not Allowed Decimal Point 1 (FFFF) Decimal Point 2 (FFF.F) Decimal Point 3 (FF.FF) Decimal Point 4 (F.FFF) Load (On line Cal) Disable Load Enable Filter Constant 1 Filter Constant 2 Filter Constant 4 Filter Constant 8 Filter Constant 16...
5.7.4 Color Display (Command Index 11) Description: CLR.76543210 means 8 bit positions of the Command Data. BIT NUMBER FUNCTION Alarm 2 Color AMBER Alarm 2 Color GREEN Alarm 2 Color RED Alarm 1 Color AMBER Alarm 1 Color GREEN Alarm 1 Color RED Normal Color AMBER Normal Color GREEN Normal Color RED...
5.7.6 Alarm 1 Low (Command Index 12) Description: AL1LO.23~0 means 3 bytes x 8 bit positions of the Alarm Low Data AL1LO.23 = AL1LO.22~20 = AL1LO.19~0 = 0 = positive sign 000 – Not Allowed Setpoint data 1 = negative sign 001 –...
5.7.8 Output 1 Configuration (Command Index 0C) Description: OUT1CNG.76543210 means 8 bit positions of the Command Data. BIT NUMBER FUNCTION Auto Tune PID Stop Auto Tune PID Start Anti Wind Up Disable Anti Wind Up Enable Auto PID Disable Auto PID Enable Reverse Direct Analog Proportional 0 –...
5.7.10 Communication Parameters (Command Index 10) Description: COMM.PAR.76543210 means 8 bit positions of the Command Data. BIT NUMBER FUNCTION 1 Stop Bit 2 Stop Bit 7 Bit 8 Bit No Parity Even 300 Baud 1200 2400 4800 9600 19200 Example: Set Baud Rate 9600, Odd Parity, 7 Bit, 1 Stop. The command data is 00001101Bin = 0Dhex.
5.7.12 Data Format (Command Index 20) DATAFORMAT is used for V01 command or continuous mode (RS-232) Description: DATAFORMAT.76543210 means 8 bit positions of the Command Data. BIT NUMBER FUNCTION No Unit Unit No Valley or Gross Valley or Gross No Peak Peak No Reading Reading...
5.7.14 % Low and % Hi (Command Indexes 27 and 28) Make sure the values of % Low and % Hi submenus are entered correctly (% Hi can’t be more than 99% or % Hi should be always more than % Low). If values entered incorrectly, instrument will reset these values to factory defaults (% Low = 0, % Hi = 99 (63 Hex) 5.7.15 Reading Scale and Offset (Command Indexes 14 and 3A)
Page 35
Scaling: Y = mX + b WHERE: m - SLOPE (SCALE) b - OFFSET (Y2 - Y1) (X2 - X1) To remap 4 – 20 mA to a displayed reading from 0 to 100 then use slope: Rd2 – Rd1 Slope (Scale) = ------------------- In2 –...
Page 36
Binary Code: Send command: *W1481E858 (scale = 81E858) Offset: Offset is found in the following equation: Reading = Scale x Input value + Offset (Y=mX+b) or the equation can be rewritten as: Offset = Reading – Scale x Input Value (b=Y-mX) 1.
5.7.16 Grouping Commands with the Same Formats 1. The following are of the same format as the Alarm 1 Low data format: Set Point 1 (command index 01), Set Point 2 (command index 02) Alarm 1 High (command index 13), Alarm 2 Low (command index 15), Alarm 2 High (command index 16), C.J.
The function code field of a message frame contains eight bits (RTU). Valid codes are in the range of 1 ... 255 decimal. Of these, some codes are applicable for i-Series controllers. When a message is sent from a master to a slave device the function code field tells the slave what kind of action to perform.
CRC Code from the message it has received and compare against transmitted CRC Code. If these CRC Codes are different, there has been a communication error. i-Series devices will not reply if they detect a CRC Error. Sequences of CRC calculation: 1.
6.7 Modbus RTU Registers The table below shows the Modbus registers supported by i-Series devices. Table 6.2 Modbus Registers FUNCTION REGISTER FUNCTION VALUE, RANGE CODE (Decimal) 03/04, 06 SETPOINT 1 -1999 to 1999 03/04, 06 SETPOINT 2 -1999 to 1999...
Where: HB – High Order Byte LB – Lower Order Byte Unused bits are set to zero i-Series devices support only Read Single Register, so the number of registers should always set to 1. Example: SENT TO DEVICE: Address 1, Read (03) register 1 (Setpoint 1)
SEND TO DEVICE: Address 20 (14 Hex), write (06) to register 18 (12 Hex) value 300 (12C Hex) DEVICE FUNCTION REGISTER DATA/ ADDRESS CODE VALUE RETURNED FROM DEVICE: DEVICE FUNCTION REGISTER DATA/ ADDRESS CODE VALUE i-Series devices support only Write to Single Register command...
Example: Set Alarm2 Low to –100.0 on Device address 20 We have to send two commands to accomplish this task. First, we have to set decimal point into the position 2 (FFF.F) and then, set value of Alarm 2 Low to –1000 counts (disregard decimal point). 1.
1 BYTE 1 BYTE Where: Diagnostic Code is two byte code to determine the type of test to be performed. i-Series devices supported only “00” code which requested slave to echo sent command back to the master. Example: SEND TO DEVICE: Address 01, Diagnostic command (08), data value 8755 Dec...
Page 46
Example: SEND TO DEVICE: Address 05, read (03) register 04 - inactive (see Table 6.2) DEVICE FUNCTION STARTING NUMBER OF ADDRESS CODE REGISTER REGISTERS RETURNED FROM DEVICE: DEVICE FUNCTION ERROR ADDRESS CODE RESPONSE Example: SEND TO DEVICE: Address 120 (Hex 78), write (06) to register 35 (Hex 23) - inactive (see Table 6.2) DEVICE FUNCTION...
APPENDIX A Reading Scale and Offset for Process/Strain Gage Instrument with 10 Linearization Points (Command Indexes 2B to 33, 34 to 3C, 3D to 45) Description: RDGOFF.23~16, 15~8, 7~0 means 3 bytes x 8 bit positions of the Reading Offset RDGSC.23~16, 15~8, 7~0 means 3 bytes x 8 bit positions of the Reading Scale RDGOFF.23 =...
Page 48
Determine correct values for Display reading (Rd min and Rd max). In most cases, Rd min and Rd max are equal to the minimum and maximum of the transducer output range. Rd min = 0 Rd max = 100.0 We have to scale our meter to have an input 0 to 3000 (30 mV) displayed as 0 to 100.0 (lbs) Assume that the shape of the transducer response characteristic is equal to the shape of the parabola (Y=KX^2) Output = K x Input^2, there K = Output / Input^2 = 100.0 / (3000^2) = 1 / (9 x 10^4)
Page 49
1. The command for number of linearization points is 29 (Table 5.4) and the data has offset -2. Send command: *W2905 means 7 point of linearization are active. 2. Out of ten points the very first one is not available through the communication commands.
APPENDIX C Example of CRC Calculation Device address 06, read (03), starting register 0008, number of registers 0001 CRC Calculation Function code Two byte (16 bit) Register Overflow Load 16 bit register to all 1’s 1111 1111 1111 1111 First byte is address 06 0000 0110 Exclusive OR...
Page 55
CRC Calculation Continued Function code Two byte (16 bit) Register Overflow A001 1010 0000 0000 0001 Exclusive OR 1101 1001 0001 0101 5th shift 0110 1100 1000 1010 A001 1010 0000 0000 0001 Exclusive OR 1100 1100 1000 1011 6th shift 0110 0110 0100...
Page 56
CRC Calculation Continued Function code Two byte (16 bit) Register Overflow A001 1010 0000 0000 0001 Exclusive OR 1001 0010 1010 1010 7th shift 0100 1001 0101 0101 8th shift 0010 0100 1010 1010 A001 1010 0000 0000 0001 Exclusive OR 1000 0100 1010...
Example of CRC calculation in “C” language This subroutine used to do CRC calculation #define POLY 0xA001; unsigned int crc_calculation (unsigned char *start_string, unsigned char number_byte) unsigned int crc; unsigned char bit_counter; unsigned char *data_pointer; data_pointer= start_string; crc = 0xffff; // Initialize crc while (number_byte>0) crc ^= data_pointer...
Page 58
CE APPROVALS INFORMATION This product conforms to the EMC directive 89/336/EEC amended by 93/68/EEC, and with the European Low Voltage Directive 72/23/EEC. Electrical Safety EN61010-1:2001 Safety requirements for electrical equipment for measurement, control and laboratory. Double Insulation Pollution Degree 2 Dielectric withstand Test per 1 min •...
Page 59
WARRANTY/DISCLAIMER OMEGA ENGINEERING, INC. warrants this unit to be free of defects in materials and workmanship for a period of one (1) year from the date of purchase. In addition to OMEGA’s standard warranty period, OMEGA Engineering will extend the warranty period for four (4) additional years if the warranty card enclosed with each instrument is returned to OMEGA.
Page 60
Where Do I Find Everything I Need for Process Measurement and Control? OMEGA…Of Course! Shop on line at www.omega.com TEMPERATURE Thermocouple, RTD & Thermistor Probes, Connectors, Panels & Assemblies Wire: Thermocouple, RTD & Thermistor Calibrators & Ice Point References Recorders, Controllers & Process Monitors...
Need help?
Do you have a question about the i-SERIES and is the answer not in the manual?
Questions and answers