background image

 

                                                                                    

Model IR4000M

 

 

22 

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) 

A Read command returns the current baud rate setting the IR4000 Modbus 
Channel 2. A Write command changes the setting to the baud rate specified by 
the code (see table).  The code is stored in the register’s Low Data Byte; the 
High Data Byte is not used.   

The factory default is 19,200. 

Table 12.  Baud Rate Codes 

Code 

Function 

Access 

03 

19200 Read/Write 

02 

9600 

Read/Write 

01 

4800 

Read/Write 

00 

2400 

Read/Write 

1.4.16.1  Exceptions 

If you try to Write a value that is not one of the codes shown above, an illegal 
data value (03) exception code is returned in the data field of an Exception 
Response message. 

1.4.17  Data Format for CH2 (0014h, Read/Write) 

A Read returns the current data format for Modbus Channel 2. A Write changes 
the setting to the data format specified by the code (see below). The code is 
stored in the register’s Low Data Byte; the High Data Byte is not used.    

Table 13.  Data Format Codes 

Code 

Format 

Data Bits 

Parity 

Stop Bits 

Access 

00 

8-N-1

 

8

 

None

 

1

 

Read/Write

 

01 

8-E-1 

Even 

Read/Write 

02 

8-O-1 8  Odd  1 Read/Write 

03 

8-N-2 

None 

Read/Write 

1.4.17.1    Exceptions 

If you specify a code that is not listed above, an illegal data value (03) exception 
code is returned in the data field of an Exception Response message. 

   

1.4.18   Reset Alarm (0016h, Read/Write) 

A  Write resets the latching Alarm and Warning relays. 

 

Summary of Contents for IR4000M

Page 1: ...ent may be used and disseminated only for the purposes and to the extent specifically authorized in writing by 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 Revision A 07 08 ...

Page 2: ...Model IR4000M ii This page intentionally left blank ...

Page 3: ...ne 0009h Read Write 20 1 4 9 Number of Votes 000Ah Read Write 20 1 4 10 Alarm Relay Settings 000Dh Read Write 20 1 4 11 Warning Relay Settings 000Eh Read Write 20 1 4 12 Set CH1 Address 000Fh Read Write 21 1 4 13 Baud Rate for CH1 0010h Read Write 21 1 4 14 Data Format for CH1 0011h Read Write 21 1 4 15 Modbus Address for CH2 0012h Read Write 22 1 4 16 Baud Rate for CH2 0013h Read Write 22 1 4 17 ...

Page 4: ...rors for CH2 0029h Read Only 25 1 4 36 Clear Comm Errors for CH1 002Ch Read Write 25 1 4 37 Clear Comm Errors for CH2 002Dh Read Write 25 1 4 38 Enable HART or Modbus for CH2 002Dh Read Write 25 1 5 IR4000 Modbus Registers for IR400 Data 25 1 5 1 Detector Analog Output Read Only 25 1 5 2 Operating Mode Read Only 26 1 5 3 Status Error Read Only 27 1 5 4 Gas Selection Read Only 28 1 5 5 Model Type R...

Page 5: ... 9600 4800 or 2400 bits per second 1 1 2 Data Format The Data Format is a selectable setting via the Modbus Communications Interface The selectable data formats are as follows Data Bits Parity Stop Bit Format 8 None 1 8 N 1 8 Even 1 8 E 1 8 Odd 1 8 O 1 8 None 2 8 N 2 Table 1 Data Format 1 1 3 Modbus Read Status Protocol Query Response 1 1 3 1 Modbus Read Query Message Byte Modbus Range Referenced ...

Page 6: ...ter Address Lo 00 FF Hex IR400 Commands 5th Preset Data Hi 00 FF Hex IR400 Hi Byte Command Data 6th Preset Data Lo 00 FF Hex IR400 Lo Byte Command Data 7th CRC Hi 00 FF Hex CRC Hi Byte 8th CRC Lo 00 FF Hex CRC Lo Byte Table 4 Modbus Write Query Message NOTE Address 0 is reserved for broadcast mode and will not be supported at this time NOTE Start Address can be a maximum of 9999 Address Locations ...

Page 7: ...ll eventually process a timeout condition for the query 3 If the IR400 receives the query without a communications error but cannot process the response to the master within the master s timeout setting then no response is returned from the IR400 and the master device will eventually process a timeout condition for the query In order to prevent this condition from occurring the maximum response ti...

Page 8: ...Illegal Data Address The data address received in the query is not an allowable address for the IR4000 03 Illegal Data Value A value contained in the query data field is not an allowable value for the IR4000 04 Slave Device Failure An unrecoverable error occurred while the IR4000 was attempting to perform the requested action 05 Acknowledge The IR4000 has accepted the request and is processing it ...

Page 9: ... 3 rd digit R 0007h Display LED digit 1 and Alarm Warning LEDs Shows present front panel display digit 1 and Alarm Warning lights 1 ASCII character and LEDs status Hi byte 1st digit Lo byte bit map bit 3 low LED bit 4 hi LED R 0008h Line voltage Measured line voltage 10 Numeric Value 0 65535 R 0009h No of Units Online Defines no of IR400 units connected Numeric Value 1 8 R W 000Ah No of Votes Dete...

Page 10: ...ric Value 0 65535 decimal R 0018h Function code errors for CH1 Number of CH1 function code errors Numeric Value 0 65535 decimal R 0019h Starting Register Address errors for CH1 Number of CH1 Starting Register Address errors Numeric Value 0 65535 decimal R 001Ah NVM region Faults View Reset NVM pages fault Bit map See register description R W 001Bh CRC errors HI for CH1 Number of CH1 CRC HI errors ...

Page 11: ...eric Value See parameter description W 002Dh Clear Comm errors for CH2 Clears CH2 communication errors Numeric Value See parameter description W 002Eh Reserved N A N A N A N A 002Fh Reset Events Clears events of resets event flag Numeric Value 0 Clear Events 1 Resets Event Happened flag W 0030h Run Time hi High word of Run Time in Seconds Numeric Value 0 65535 decimal R W 0031h Run Time low Low wo...

Page 12: ...lue 0 65535 R 003Fh Running Time Hi Running Time Hi for Alarm Event log entries Numeric Value 0 65535 R 0040h Running Time Low Running Time Low for Alarm Event log entries Numeric Value 0 65535 R 0041h Clock Time Hi Hi byte year Lo byte month Alarm clock time Numeric Value 1 99 year 1 12 month R 0042h Clock Time Mid Hi byte Day Lo byte Hour Alarm clock time Numeric Value 1 31 day 0 23 hour R 0043h...

Page 13: ... entries Numeric Value 0 65535 R 0050h Running Time Low Running Time Low for Maintenance Event log entries Numeric Value 0 65535 R 0051h Clock Time Hi Hi byte year Lo byte month Maintenance clock time Numeric Value 1 99 year 1 12 month R 0052h Clock Time Mid Hi byte Day Lo byte Hour Maintenance clock time Numeric Value 1 31 day 0 23 hour R 0053h Clock Time Low Hi byte Minute Lo byte second Mainten...

Page 14: ...t happened Code 0 no events 1 event happened R DETECTOR S REGISTERS Detector 1 Registers 0070h Analog Output 1 0 20mA current output For IR400 unit 1 Numeric Value 0 65535 Dec scale to range 0 21 7mA R 0071h Mode 1 View operational mode for IR400 unit 1 Bit Map See parameter description R W 0072h Status Error 1 View present error for IR400 unit 1 Bit Map See parameter description R 0073h Gas Choic...

Page 15: ...ee parameter description R w 0082h Status Error 2 View present error for IR400 unit 2 Bit Map See parameter description R 0083h Gas Choice 2 View gas chosen for IR400 unit 2 Code 0 8 R 0084h Model 2 View model number for IR400 unit 2 Numeric Value 2200 etc R 0085h Display 2 Show LED digits 2 and 3 for IR400 unit 2 2 ASCII characters LEL or Fault code F1 to FF or device status SU AC or CP R 0086h o...

Page 16: ...f Full Scale 2 Show of full scale for IR400 unit 2 Numeric Value 0 99 R 008Fh Reserved Reserved N A N A N A 0090 009F Detector 3 Registers 00A0 00AF Detector 4 Registers 00B0 00BF Detector 5 Registers 00C0 00CF Detector 6 Registers 00D0 00DF Detector 7 Registers 00E0 00EF Detector 8 Registers ...

Page 17: ...0 hex 128 dec 40 hex 64 dec 20 hex 32 dec 10 hex 16 dec 8 hex 8 dec 4 hex 4 dec 2 hex 2 dec 1 hex 1 dec Bit 15 14 13 12 11 10 9 8 Mode Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Bit Value 8000 hex 32768 dec 4000 hex 16384 dec 2000 hex 8192 dec 1000 hex 4096 dec 800 hex 2048 dec 400 hex 1024 dec 200 hex 512 dec 100 hex 256 dec 1 4 2 1 Mode Descriptions Run Mode Normal o...

Page 18: ...IR4000M 18 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 ...

Page 19: ...384 dec 2000 hex 8192 dec 1000 hex 4096 dec 1 4 4 Model Type 0004h Read Only A Read returns the model type for the base 1 4 5 Software Revision 0005h Read Only A read returns the software revision of the IR4000 which is two ASCII characters 1 4 6 Display LED Digits Two and Three 0006 Read Only A Read returns the two rightmost ASCII character that would appear on the IR4000 front panel Bits 8 15 ho...

Page 20: ...the 11th bit position means the output is normally Energized a 0 means it is normally De Energized The lower byte is the alarm setpoint The Alarm setpoint cannot be set below the Warning setpoint NOTE The maximum alarm setting for the IR4000 is 60 Factory default is 60 FS latching de energized 1 4 10 1 Exceptions Returns an Exception Code 03 illegal data in the Exception Response message if an ill...

Page 21: ...ss 03 19200 Read Write 02 9600 Read Write 01 4800 Read Write 00 2400 Read Write 1 4 13 1 Exceptions If you try to Write a value that is not one of the codes shown above an illegal data value 03 exception code is returned in the data field of an Exception Response message 1 4 14 Data Format for CH1 0011h Read Write A Read returns the current data format for Modbus Channel 1 A Write changes the sett...

Page 22: ...Exceptions If you try to Write a value that is not one of the codes shown above an illegal data value 03 exception code is returned in the data field of an Exception Response message 1 4 17 Data Format for CH2 0014h Read Write A Read returns the current data format for Modbus Channel 2 A Write changes the setting to the data format specified by the code see below The code is stored in the register...

Page 23: ...e errors that are represented by each bit in the register Table 14 Bitmap for IR4000 NVM Errors Bit Position 3 2 1 0 Error Event region HART region User region Critical region Bit Value 8 hex 8 dec 4 hex 4 dec 2 hex 2 dec 1 hex 1 dec If there is no Critical region error NVM faults can be reset by writing 0 to this register If any other value is written data exception will be returned Critical regi...

Page 24: ...ounting again 1 4 26 Framing Errors for CH1 001Eh Read Only A Read indicates the number of Framing errors that occurred in the slave device for Modbus Channel 1 The maximum count is 65 535 and then the counter will roll over to zero and begin counting again 1 4 27 Parity Errors for CH1 001Fh Read Only A Read indicates the number of Framing errors that occurred in the slave device for Modbus Channe...

Page 25: ... will roll over to zero and begin counting again 1 4 35 Parity Errors for CH2 0029h Read Only A Read indicates the number of Framing errors that occurred in the slave device for Modbus Channel 1 The maximum count is 65 535 and then the counter will roll over to zero and begin counting again 1 4 36 Clear Comm Errors for CH1 002Ch Read Write A Write resets the counters to zero for all the IR4000 Mod...

Page 26: ...ode Gas Check Mode Not Used Bit Value 8000 hex 32768 dec 4000 hex 16384 dec 2000 hex 8192 dec 1000 hex 4096 dec 800 hex 2048 dec 400 hex 1024 dec 200 hex 512 dec 100 hex 256 dec 1 5 2 1 Mode Descriptions A Read command returns the present IR400 mode represented by the enabled bit Descriptions of the modes are provided below Run Mode IR400 normal operation mode with LEL measurement taking place CAL...

Page 27: ...alue 8 hex 8 dec 4 hex 4 dec 2 hex 2dec 1 hex 1 dec Bit Position 7 6 5 4 Error Failed to Zero Calibration Mode Fail Low Line Condition Wire Shortage Bit Value 80 hex 128 dec 40 hex 64 dec 20 hex 32 dec 10 hex 16 dec Bit Position 11 10 9 8 Error Heater problem Ref Lamp Problem Active Lamp Prob Gas Left Bit Value 800 hex 2048 dec 400 hex 1024 dec 200 hex 512 dec 100 hex 256 dec Bit Position 16 15 14...

Page 28: ...ns the model type for the detector which is 2104 for IR400 1 5 6 Display Read Only A read returns two ASCII characters which can be displayed by IR4000 such as gas concentration fault code or device status AC CP or SU 1 5 7 Cal IO type Read Only A Read returns Calibration input type 0 for LED switch 1 for manual solenoid and 2 for ARCG automatic solenoid 1 5 8 Solenoid State Read Only A Read retur...

Reviews: