Page 1
General Monitors. Instruction Manual Modbus 07-08 General Monitors reserves the right to change published specifications and designs without prior notice. MANIR4000MM Part No. MANIR4000M Modbus...
Page 2
Model IR4000M This page intentionally left blank.
Model IR4000M Table of Contents MODEL IR4000M .......................... I MULTI-POINT MONITOR......................I MODBUS PROGRAMMING GUIDE ..................... I 1. MODBUS RTU........................5 Serial Communications Protocol for IR4000M............5 1.1.1 Baud Rate ......................... 5 1.1.2 Data Format ......................5 ...
Model IR4000M user manual; section 4. The factory default settings for Modbus can be restored by connecting the RELAY RESET terminal (TB2-7) to the power supply common and turning on power to the IR4000M. After 10 seconds, remove the connection between RELAY RESET and common.
Model IR4000M 1.1.3.2 Modbus Read Response Message Byte Modbus Range Referenced to IR400 Slave Address 1-247* (Dec) IR400 ID (Address) Function Code Read Holding Registers Byte Count No. of Data Bytes Data Hi 00-FF (Hex) IR400 Hi Byte Status Data...
Model IR4000M 1.2 Function Codes Supported Function Code 03 (Read Holding Registers) will be used to read status from the slave unit. Function Code 06 (Preset Single Register) will be used to write a command to the slave unit. 1.2.1 Exception Responses and Exception Codes 1.2.1.1 Exception Response...
Page 8
Model IR4000M 1.2.1.2 Exception Code Exception Code Field: In a normal response, the IR400 returns data and status in the data field, which was requested in the query from the master. In an exception response, the IR400 returns an exception code in the data field, which describes the IR400 condition that caused the exception.
Model IR4000M IR4000 Modbus Registers Summary Table Register Data Address Parameter Function Data Range Access Type (Hex) 0000H Analog Output 0-20mA current Numeric 0-65535 Dec, output Value (scale to range 0-21.7mA) 0001h Operating Mode Set/View operating Bit Map See register...
Page 10
Model IR4000M Register Data Address Parameter Function Data Range Access Type (Hex) 000Eh Warning Relay Read or change Bit Map See description settings settings for warning 000Fh Address for CH1 Set/View CH1 Numeric 1-247 decimal address Value 0010h Baud Rate for...
Page 11
Model IR4000M Register Data Address Parameter Function Data Range Access Type (Hex) 0023h Starting Register Number of CH2 Numeric 0-65535 decimal Address errors for Starting Register Value Address errors. 0024h Reserved CRC errors HI for Number of CH2 CRC Numeric...
Page 12
Model IR4000M Register Data Address Parameter Function Data Range Access Type (Hex) Running Time Running Time Low Numeric 0 - 65535 0038h for Warning Event Value log entries Clock Time Hi Hi byte = year, Lo Numeric 1 –99 year, 1–...
Page 13
Model IR4000M Register Data Address Parameter Function Data Range Access Type (Hex) Clock Time Hi 0049h Hi byte = year, Lo Numeric 1 –99 year, 1– 12 byte month: Fault Value month clock time Clock Time Mid Hi byte = Day, Lo Numeric 1 –...
Page 14
Model IR4000M Register Data Address Parameter Function Data Range Access Type (Hex) Clock Time Hi 0059h Hi byte = year, Lo Numeric 1 –99 year, 1– 12 byte month: Value month Calibration clock time Clock Time Mid Hi byte = Day, Lo Numeric 1 –...
Page 15
Model IR4000M Register Data Address Parameter Function Data Range Access Type (Hex) 0078h Solenoid State 1 Solenoid Code 10 – Solenoid On Enabled/Disabled for 20 – Solenoid Off IR400 unit 1 30 – Solenoid disabled 0079h Reserved Reserved 007Ah Reserved...
Page 16
Model IR4000M Register Data Address Parameter Function Data Range Access Type (Hex) 008Eh % of Full Scale 2 Show % of full scale Numeric 0 – 99 for IR400 unit 2 Value 008Fh Reserved Reserved 0090 Detector 3 Registers 009F...
Operating Mode (0001h, Read) This register reports the current operating mode for the IR4000 base unit. A Read command to this register returns the present IR4000M mode, represented by the enabled bits. The following table shows the Mode associated with each bit in the 16-bit register.
Model IR4000M 1.4.3 Status Error (0002h, Read-Only) A Read command returns the bit map for any Error that is presently occurring, The following table shows the errors that are represented by each bit in the register.
Model IR4000M Table 9 Bitmap for IR4000 Status Error Bit Position Low Line Gas Left Fault NVM Fault Misc. Fault Error Bit Value 8 hex / 8 dec 4 hex / 4 dec 2 hex / 2 dec 1 hex / 1 dec...
Model IR4000M 1.4.8 Number of Detectors Online (0009h, Read/Write) Returns (via Read command) and sets (via Write command) the number of IR400 detectors connected to this IR4000. Writing to this register is equivalent to setting the Number of Detectors using the IR4000 menu options 1.4.9 Number of Votes (000Ah, Read/Write)
Model IR4000M 1.4.12 Set CH1 Address (000Fh, Read/Write) A Read returns the Modbus Channel 1 address for the IR4000 unit. A Write changes the address to the requested address. The range of addresses you can specify is from 1 to 247 decimal.
Model IR4000M 1.4.15 Modbus Address for CH2 (0012h, Read/Write) A Read returns the Modbus Channel 2 address of the unit. A Write changes the address to the requested address. The range of the addresses you can specify is from 1 to 247 decimal 1.4.16 Baud Rate for CH2 (0013h, Read/Write)
Model IR4000M 1.4.19 Total Receive Errors for CH1 (0017h, Read-Only) A Read returns the total number of Communication Receive Errors that occurred for Modbus Channel 1. The maximum count is 65,535 and then the counter will roll over to zero and begin counting again.
Model IR4000M If you use HART, make sure that these parameters have correct values. If HART is not used, ignore the fault. Event region error means that power interruption happened when an events were logged, and one or more events may not be logged or logged incorrectly.
Model IR4000M 1.4.31 CRC Hi Errors for CH2 (0025h, Read-Only) A Read indicates the number of RXD Cyclical Redundancy Check (CRC) High- Byte errors that occurred in the IR4000 for Modbus Channel H. The maximum count is 65,535, and then the counter will roll over to zero and begin counting again.
Model IR4000M decimal value must be scaled in proportion to an analog current value from 0- 21.7mA. 1.5.2 Operating Mode (Read-Only) This register reports on the current operating mode for the IR400 detector. A Read command returns the present IR400 mode, represented by the enabled bit.
Model IR4000M 1.5.3 Status Error (Read-Only) A Read returns the bit map for any error that is presently occurring. The following table shows the errors that are represented by each bit in the register. Table 16 Bitmap for Status Error Delayed...
Model IR4000M 1.5.4 Gas Selection (Read-Only) A Read command to this register returns the present gas selection for the detector. Table 17. Gas Selection Codes Code (decimal or hex) Gas Type Methane Propane N-Butane Hexane % by volume Methane Other...
Need help?
Do you have a question about the IR4000M and is the answer not in the manual?
Questions and answers