<PREFACE> PREFACE We are grateful for your purchase of Yokogawa’s Infrared Gas Analyzer, Model: IR202. Read this instruction manual carefully. The document numbers of related documents are as follows.The “EN” in the document number is the language code, meaning English.
• No part of the user’s manuals may be transferred or reproduced without prior written consent from YOKOGAWA. • YOKOGAWA reserves the right to make improvements in the user’s manuals and product at any time, without notice or obligation. • If you have any questions, or you find mistakes or omissions in the user’s manuals, please contact our sales representative or your local distributor.
Page 4
(e.g., the upper / lower case). Also note that some of the images contained in this user’s manual are display examples. n Authorized Representative in EEA The Authorized Representative for this product in EEA is Yokogawa Europe B.V. (Euroweg 2, 3825 HD Amersfoort, The Netherlands). n Trademark policy •...
In the following cases, customer will be charged repair fee regardless of warranty period. Failure of components which are out of scope of warranty stated in instruction manual. Failure caused by usage of software, hardware or auxiliary equipment, which Yokogawa did not supply. Failure due to improper or insufficient maintenance by user. Failure due to misoperation, misuse or modification which Yokogawa does not authorize. Failure due to power supply (voltage, frequency) being outside specifications or abnormal.
SI-30FA (isolated type)/SEKISUI ELECTRONICS Co., Ltd. [USB <=> RS-485 converter] (recommended article) Type: USB-485I / SYSTEM SACOM Corp. Programmable controller RS-232C or USB RS-485 RS-485 RS-232C RS-485 Converter RS-485 IR202 IR202 Figure1.1 Configuration between master and slave devices IM 11G02Q02-01EN 2nd Edition : Sep. 04, 2020-00...
Page 9
<1. GENERAL> l RS-485 Interface Electrical specification : Based on EIA RS-485 Transmission system : 2-wire, semi-duplicate Synchronizing system : Start-stop synchronous system Connection format : Maximum connectable units : 31 units Transmission distance : 500 m max.(total extension distance) Transmission speed : 38400 bps Data format Data length ;...
<2.CONNECTION> CONNECTION WARNING Do not turn on the power supply until all wiring have been completed, otherwise electric shock or malfunctions may occur. n RS-485 Interface The terminal allocation of RS-485 (at the rear panel) 5 4 3 2 Signal ground RTxD+ RTxD- 9 8 7 6...
Page 11
<2.CONNECTION> Terminating resistance 100Ω (1/2W) Master Slave RTxD+ Shielded twist pair cable RTxD- IR202 RS-485 interface RS-485 side of RS-232C RS-485 converter (USB) IR202 Terminating resistance 100Ω (1/2W) IR202 • SG does not have to be connected, but it can be used as an effective countermeasure against communication errors due to noise. • When using the micro controller in an area where the imposed noise level is expected to exceed 500V, we recommend using a noise filter on the master side as seen in the figure below.
Page 12
No. from each other. Station No. is never shared with any other IR202 in the same line. Set the station No. in the maintenance mode of IR202. (See the instruction manual.) IM 11G02Q02-01EN 2nd Edition : Sep. 04, 2020-00...
<3. MODBUS PROTOCOL> MODBUS PROTOCOL According to MODBUS protocol, devices communicate using a master-slave technique, in whch only one device (the master) can initiate transactions. The other devices ( the slaves) respond by supplying the requested data to the master, or by taking the action requested. <Message transaction between Master and Slave>...
Data field is required to execute function codes. The data construction depends on function code. For details, refer to “4. DETAILS OF MESSAGE” A register number is assigned to each data in IR202. For reading / writing the data by communication, designate the register number. Note that the register number transmitted on message is expressed as its relative address.
<3. MODBUS PROTOCOL> (3) No response Under any of the following conditions, the slave station takes no action to the command message and sends back no response. • A station number transmitted in the command message differs from the Station No. (station number) specified to the slave station. • An error check code is not matched, or a transmission error (parity error, etc.) is detected. •...
<3. MODBUS PROTOCOL> 3.4 Calculation of error check code (CRC-16) CRC-16 is the 2-byte (16-bits) error check code. From the top of the message (station No.) to the end of the data field are calculated. The slave station calculates the CRC of the received message, and does not respond if the calculated CRC is different from the contents of the received CRC code The following shows the calculation procedure for CRC-16.
Page 18
<3. MODBUS PROTOCOL> Explanation of variables Start CR: CRC error check data (2 bytes) Digits of calculation characters in command message Set FFFF (hexadecimal number) in CR. Check on the number of times of CR calculation Set 1 in I. Exclusive logical sum (XOR) is executed with CR and one character (1 byte) of #I of the message, and its results is set in CR.
(2) Response of IR202 After a frame detection (24 bits time or more vacant status), IR202 carries out processing with that frame as a command message. If the command message is destined to the own station, a response message is returned. Its processing time is 1 to 30 ms (depends on contents of command message).
<4. DETAILS OF MESSAGE> DETAILS OF MESSAGE 4.1 Read-out word data (Function code : 03 Function Max.word number read-out Relative data Register No. Contents code in one message address 64 word 0000-009D 40001-40158 User setting (1) Message composition Command message composition (byte) Response message composition (byte) Station No Station No Function code Function code Upper Read-out byte number...
<4. DETAILS OF MESSAGE> (3) Message transmission (example) The following shows an example of reading out from No. 1 station the setting Ch2 (2nd component) range-1 zero and span calibration concentration. Relative address of Ch2 range-1 zero calibration concentration setting: 0004 Data number: 02 Command message Response message...
Page 22
<4. DETAILS OF MESSAGE> (1) Message composition Command message composition (byte) Response message composition (byte) Station No. Station No. Function code Function code Upper Read-out byte number Read-out word number x 2 Read-out start No. (relative address) Lower Contents of the Upper first word data Upper...
<4. DETAILS OF MESSAGE> 4.3 Write-in word data (1 word) (Function code : 06 Max.word number Relative data Function code write-in one Register No. Description address message 0000 ―009D 40001―40158 User setting 1 word 07D0 ―07D4 42001―42005 Operation command (1) Message composition Command message Response message Station No. Station No. Function code Function code Write-in designate Upper...
<4. DETAILS OF MESSAGE> 4.4 Write-in continuous word data (Function code ; 10 Function Max.word number Relative data Register No. Descriptions code write-in per message address 64 words 0000 -009D 40001-40158 User setting (1) Message composition Command message composition (byte) Response message composition (byte) Station No. Station No.
Page 25
<4. DETAILS OF MESSAGE> (3) Message transmission (example) The following shows an example of writing the Ch1 (1st component) alarm settings to No. 1 station. Ch1 range-1 high alarm setting = 1388 (= 5000D) Ch1 range-1 low alarm setting = 000A (= 10D) Ch1 range-2 high alarm setting = 03E8 (= 1000D)
<5. ADDRESS MAP AND DATA FORMAT> ADDRESS MAP AND DATA FORMAT 5.1 Data format IR202 communicate on a MODBUS network using RTU (Remote Terminal Unit) mode. Transmitted data is numeric value, not ASCII code. 5.1.1 Handling of decimal point position and measurement unit When transmitted, the calibration concentration setting, alarm’s high and low limits, the data of measurement concentration value and range value have no decimal point nor measurement unit.
<5. ADDRESS MAP AND DATA FORMAT> For example, if: Ch3 measurement concentration (register No. 30007) = 1270, Ch3 decimal point position (register No. 30008) = 2, Ch3 measurement unit (register No. 30009) = 0, the value is 12.70 vol% 5.1.2 Handling at measurement data over-range Even if the measurement data is at over-range, with “—...
<5. ADDRESS MAP AND DATA FORMAT> 5.2 Address map For details of functions and settable ranges of different parameters, refer to the instruction manual for IR202. Word data [read-out/write-in]: Function code [03 , 06 , 10 User settings Relative Register Data Memory contents Read-out/write- Remarks or address type in data corresponding parameter 0000 40001 Word Ch1 range-1 zero calibration 0 to 9999...
Page 29
<5. ADDRESS MAP AND DATA FORMAT> Relative Register Data Memory contents Read-out/write- Remarks or address type in data corresponding parameter 0019 40026 Word Ch1 zero calibration switch About zero ( 0: Selectable calibration 001A 40027 Word Ch2 zero calibration switch zero calibration, 001B 40028...
Page 30
<5. ADDRESS MAP AND DATA FORMAT> Relative Register Data Memory contents Read-out/write- Remarks or address type in data corresponding parameter 0037 40056 Word Ch1 alarm mode 0,1,2,3,4 Alarm setting (0: High limit 0038 40057 Word Ch2 alarm mode alarm, 0039 40058 Word Ch3 alarm mode...
Page 31
<5. ADDRESS MAP AND DATA FORMAT> Relative Register Data Memory contents Read-out/write- Remarks or address type in data corresponding parameter 0054 40085 Word 1st order moving average 0000H to 003bH Average period period (0 to 59 min or 1 (option) to 4 h) 0055 40086...
Page 32
<5. ADDRESS MAP AND DATA FORMAT> Relative Register Data Memory contents Read-out/write- Remarks or address type in data corresponding parameter 006E 40111 Word Ch1 range change method 0,1,2 (0:manual, 006F 40112 Word Ch2 range change method 1:remote, 0070 40113 Word Ch3 range change method 2:auto) 0071...
Page 33
O2 concentration limit at the 01H to 14H (1 to time 20%) of oxygen correction 009E 40159 Word Reference Gas Switching 1 to 1Eh(1 to 30 for IR202-C Time sec) 009F 40160 Word Reference Gas Measuring 1 to 3Ch(1 to 60 Time sec)
Page 34
<5. ADDRESS MAP AND DATA FORMAT> Relative Register Data Memory contents Read-out/write- Remarks or address type in data corresponding parameter 00AA 40171 Word Interference compensation IR202-C coefficient Ch4 renge1 00AB 40172 Word Interference compensation coefficient Ch4 renge2 Word data [write-in] : Function code [06 Operation command Relative Register Data Memory Read-out/write-in data Remarks or address...
Page 35
5-10 <5. ADDRESS MAP AND DATA FORMAT> Word data [read-out only] : Function code[04 Measurement value and status Relative Register Data Memory contents Read-out/write-in Remarks or address type data corresponding parameter 0000 30001 Word Concentration: -9999 0001 30002 Word Ch1 decimal point position 9999 0002 30003 Word Ch1 measurement unit (value corresponding...
Page 36
5-11 <5. ADDRESS MAP AND DATA FORMAT> Relative Register Data Memory contents Read-out/write-in Remarks or address type data corresponding parameter 0029 30042 Word Ch5 current range 0, 1 (0; range-1, 1;range-2) 002A 30043 Word Ch1 high/low limit alarm 0, 1, 2, 3, 4 Whether or how alarm is (0: No alarm, currently produced.
Page 37
5-12 <5. ADDRESS MAP AND DATA FORMAT> Relative Register Data Memory contents Read-out/write-in Remarks or address type data corresponding parameter 0083 30132 Word Error 1 0,1 (0: No, 1: Yes) 0084 30133 Word Error 2 0085 30134 Word Error 3 0086 30135 Word...
Page 38
5-13 <5. ADDRESS MAP AND DATA FORMAT> Relative Register Data Memory contents Read-out/write-in Remarks or address type data corresponding parameter 00BA 30187 (Do not use) 00BB 30188 (Do not use) 00BC 30189 Word Manual calibration channel Cursor Ch-1 * (c) 00BD 30190 (Do not use)
Page 39
5-14 <5. ADDRESS MAP AND DATA FORMAT> Word data [read-out only] : Function code[04H] Fixed setting Relative Register Data Memory contents Read-out/write-in Remarks or address type data corresponding parameter 0425 31062 Word Ch1 range numbers 1, 2 1, 2 (1: 1 range, 0426 31063 Word Ch2 range numbers (1: 1 2: 2 ranges) range, 0427...
Page 40
5-15 <5. ADDRESS MAP AND DATA FORMAT> Relative Register Data Memory contents Read-out/write-in Remarks or address type data corresponding parameter 0448 31097 Word Type: 1st digit 0449 31098 Word Type: 2nd digit 044A 31099 Word Type: 3rd digit A, B, G 044B 31100 Word...
5-16 <5. ADDRESS MAP AND DATA FORMAT> 5.3 Supplement to address map *(1) Register No. 30062 to 30131 (error log) You can read up to 14 errors in order of most recent to older ones. The following information is available. Error No.: No. of produced error. Stored value is error number minus 1. Error DAY: Date Error HOUR:...
<6. TROUBLE SHOOTING> TROUBLE SHOOTING If the communication is unavailable, check the following items. • Whether all devices related to communication are turned on. • Whether connections are correct. • Whether the number of connected instruments and connection distance are as specified • Whether communication conditions coincide between the master station (host computer) and slave stations (instrument) Transmission speed : 38400bps Data length : 8 bits...
Revision Information Title: Model IR202 Infrared Gas Analyzer Communication Functions (MODBUS) Manual No.: IM 11G02Q02-51EN Sep. 2020/2nd Edition Corrections and reviews (pages 3-1, 3-2, 3-3, 3-6, 4-2, 4-6, 5-13) June 2017/1st Edition Newly published n Published by Yokogawa Electric Corporation http://www.yokogawa.com/an/ IM 11G02Q01-01EN 2nd Edition : Sep. 04, 2020-00...
Need help?
Do you have a question about the IR202 and is the answer not in the manual?
Questions and answers