MSA Ultima OPIR-5 Programming Manual
MSA Ultima OPIR-5 Programming Manual

MSA Ultima OPIR-5 Programming Manual

Modbus infrared open-path detector for hydrocarbon gases
Hide thumbs Also See for Ultima OPIR-5:
Table of Contents

Advertisement

Quick Links

125
Ultima OPIR-5 Modbus
Infrared Open-Path Detector
for Hydrocarbon Gases
Modbus programming guide
The information and technical data disclosed in
this document may be used and disseminated
only for the purposes and to the extent
specifically authorized in writing by MSA.
Instruction Manual Modbus
MSA reserves the right to change published
specifications and designs without prior notice.
Part No.
MANOPIR5M
Revision
0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Ultima OPIR-5 and is the answer not in the manual?

Questions and answers

Summary of Contents for MSA Ultima OPIR-5

  • Page 1 MSA. Instruction Manual Modbus MSA reserves the right to change published specifications and designs without prior notice. Part No. MANOPIR5M...
  • Page 2 Ultima OPIR-5 Modbus Programming Guide This page intentionally left blank.
  • Page 3: Table Of Contents

    Modbus Write Query/Response Messages.................. 6 Message Function Codes......................7 Exception Response........................7 Exception Codes .......................... 9 3. ULTIMA OPIR-5 MODBUS COMMAND REGISTERS…………………………………………...10 Analog Output 1 (0x0000) ......................15 Operating Mode (0x0001)......................15 Status Error (0x0002) ......................... 17 Product Model (0x0004) ......................17 Software Revision (0x0005) .......................
  • Page 4 Ultima OPIR-5 Modbus Programming Guide 3.33.3 Running Time in seconds hi word (0x00B1)................22 3.33.4 Running Time in seconds lo word (0x00B2)................22 3.33.5 Real-time Clock Year, Month (0x00B3)..................23 3.33.6 Real-time Clock Day, Hour (0x00B4) ..................23 3.33.7 Real-time Clock Minute, Second (0x00B5) ................23 3.33.8...
  • Page 5: Modbus Communication Interface

    (PLCs). By default from the factory, Ultima OPIR-5 Detector Modbus interface is set at the baud rate of 9600 bits per second, data format of 8-N-1, and with a unit address of 1 on the serial channel CH1 and 2 - on the serial channel CH2.
  • Page 6: Message Structure

    Ultima OPIR-5 Modbus Programming Guide 2. Message Structure The following subsections within this section of the document describe the message details for Ultima OPIR-5 Detector Modbus communication with external instruments. Modbus Read Status Query/Response Messages Table 2: Modbus Read Query Message...
  • Page 7: Message Function Codes

    OPIR-5 Detector then returns a normal response to the master. An abnormal communications produces one of four possible events: 1. If the Ultima OPIR-5 Detector does not receive the query due to a communications error, then no response is returned from the Ultima OPIR-5 Detector and the master device will eventually process a timeout condition for the query.
  • Page 8 Ultima OPIR-5 Modbus Programming Guide Table 6: Ultima OPIR-5 Detector Exception Response Message Byte Modbus Range Referenced to Ultima OPIR-5 Detector Slave Address 1-247* (Dec) Ultima OPIR-5 Detector ID (Address) Function Code 83 or 86 (Hex) MSB is set with Function Code...
  • Page 9: Exception Codes

    2.5 Exception Codes Exception Code Field: In a normal response, the Ultima OPIR-5 Detector returns data and status in the data field, which was requested in the query from the master. In an exception response, the Ultima OPIR-5 Detector returns an exception code in the data field, which describes the Ultima OPIR- 5 Detector condition that caused the exception.
  • Page 10: Ultima Opir-5 Modbus Command Registers

    Ultima OPIR-5 Modbus Programming Guide 3. Ultima OPIR-5 Modbus Command Registers This section provides detailed information on the Ultima OPIR-5 Modbus command registers, their functionality, type, range and accessability (read or write). Table 8: Ultima OPIR-5 User Command Registers Addr.
  • Page 11 Ultima OPIR-5 Modbus Programming Guide Addr. Data Name Function Data Range (Hex) Type 0014h Reserved 0015h Reserved 0016h Reset Alarm Resets latching alarms Numeric Value 0017h Reserved 0018h LEL-m Alarm Set Set/View Alarm level as Numeric Warn level –60% Point...
  • Page 12 Ultima OPIR-5 Modbus Programming Guide Addr. Data Name Function Data Range (Hex) Type 002Dh Clear Com Errors Clears communication Numeric 0 – channel 1 error counters Value 1 – channel 2 002Eh Beam Block Fault Number of minutes Numeric 0 – 60 min...
  • Page 13 Ultima OPIR-5 Modbus Programming Guide Addr. Data Name Function Data Range (Hex) Type Read/Set year and Real Time Clock Numeric 1 –99 year, 1– 12 00B3h month of Real-Time Year, Month Value month Clock (RTC) Real Time Clock Read/Set day and hour Numeric 1 –...
  • Page 14 Ultima OPIR-5 Modbus Programming Guide Addr. Data Name Function Data Range (Hex) Type Fault Event Log Running Time Running Time High for Numeric 00C8h 0 - 65535 High Fault Event log entries Value Running Time Running Time Low for Numeric...
  • Page 15: Analog Output 1 (0X0000)

    This read/write accessible register reports the current operating mode for the Ultima OPIR-5 Detector. A Read command returns the present Ultima OPIR-5 Detector mode, represented by the enabled bit. The following table shows the mode represented by each bit in the 16-bit register.
  • Page 16 Ultima OPIR-5 Modbus Programming Guide • Gas Check Mode: Ultima OPIR-5 Detector gas check is in progress. During gas check the analog outputs are held at 1.5mA and the alarm relays are disabled, but the display shows the gas concentration.
  • Page 17: Status Error (0X0002)

    A read-only register returns the model type for the detector, a constant “5500” in decimal format. 3.5 Software Revision (0x0005) A read returns the software revision of the Ultima OPIR-5 Detector in 2 ASCII characters. The most significant byte is the first character, the least significant byte is the second character. For example, if this register reads 0x2042 then the first digit is 0x20 (a space character) and the second is 0x42 (the character B).
  • Page 18: Serial Channel 1 Unit Address (0X0009)

    3.8 Serial Channel 1 Baud Rate (0x000B) A read returns the baud rate of the Ultima OPIR-5 Detector. A write changes the baud rate to the requested baud rate. After the baud rate has been changed to the addressed unit, the Modbus communication will cease because the baud rate has changed;...
  • Page 19: Gas Concentration As Percentage Of Ppm-M Full Scale (0X000D)

    The set points are programmable in steps of 1% of full scale. NOTE: The maximum alarm setting for the Ultima OPIR-5 Detector is 60% full scale which is 3.0 LEL·m for methane detectors and 0.6 LEL·m for heavy hydrocarbon detectors.
  • Page 20: Lel·m Warn Relay Configuration (0X0019)

    A write to this register will not be allowed and a device will return an exception code if an alarm or a warning condition is present. A read request returns the present LEL·m low alarm settings of the Ultima OPIR-5 Detector. A write command changes the settings to the requested values. The set points are programmable in steps of 1% of full scale.
  • Page 21: Total Com Receive Errors For Channel 1 (0X0020)

    3.18 Total COM Receive Errors for Channel 1 (0x0020) A read indicates the total Modbus communication receive errors detected by the Ultima OPIR-5 Detector slave unit on serial channel 1. The maximum count is 65,535; the counter will roll over to zero and begin counting again.
  • Page 22: Starting Address Errors For Channel 2 (0X0038)

    Ultima OPIR-5 Modbus Programming Guide 3.28 Starting Address Errors for Channel 2 (0x0038) The counter is incremented for illegal register address requested on Channel 2. A read indicates the number of Starting Address Errors that occurred in the slave device. The maximum count is 65,535;...
  • Page 23 Ultima OPIR-5 Modbus Programming Guide Table 15: Real Time Clock Time Format Item Description Number Hi Byte =Year, Low Byte = Month Hi Byte = Day, Low Byte = Hour Hi Byte = Minute, Low Byte = Second 3.33.5 Real-time Clock Year, Month (0x00B3) This is used to read/write the real time clock.
  • Page 24 Ultima OPIR-5 Modbus Programming Guide 3.33.12 Warning Clock Time: Year, Month (0x00BA) These registers are described in Table 15 as item number 1. 3.33.13 Warning Clock Time: Day, Hour (0x00BB) These registers are described in Table 15 as item number 2.
  • Page 25 Ultima OPIR-5 Modbus Programming Guide 3.33.26 Fault Clock Time: Minute, Seconds (0x00CC) These registers are described in Table 15 as item number 3. 3.33.27 Fault Code (0x00CD) This register is described in Error! Reference source not found.. 3.33.28 Total Fault Event Counter (0x00CF) This reads the total number of fault events have been stored in the unit.
  • Page 26 Ultima OPIR-5 Modbus Programming Guide 3.33.41 Total Calibration Event Counter (0x00DF) This reads the total number of calibration events have been stored in the unit.

Table of Contents