1. Network Diagram Connect an iR-ETN coupler and a PC to a router with Ethernet cables. The IP address of iR-ETN is set to 192.168.0.212 by default. To change the IP address of the iR-ETN, using EasyRemoteIO utility is necessary.
Page 4
Once the iR-ETN is found, go to [Online] » [Change IP]. Enter a new static IP address and a sub mask. Click [Automatic scan] again, and the iR-ETN will be found with the specified IP address. Set back the IP address of the iR-ETN to DHCP mode. Now all the devices are configured in the same subnet.
2. Power Consumption The iR-ETN coupler supplies power for each connected IO module. To avoid the power requirements exceeding the power supply, you can calculate how much power is required from your IO modules. Type Model Name Consumption(5V) Power Supply(5V) Coupler iR‐ETN...
Page 6
The power consumption can be known by selecting [iR-ETN] » [Parameter] tab. [Current Power Consumption]- indicates the power consumed by each module and coupler. [Power Consumption] - indicates the power consumption of the selected device. If power is not sufficient, the error will be displayed on the Log message window.
3. EasyRemoteIO EasyRemote I/O is a utility used for setting up iR-ETN coupler and IO module connected to iR-ETN, which includes changing the IP address of the iR-ETN, setting parameters, monitoring IOs, turn on outputs, and changing analog values. Device list- Lists available iR-ETN couplers. The IO module can be selected under each iR-ETN once connected.
Page 8
Toolbar overview (Tools from left to right.) Tool Name Descriptions Opens an old project. (*.eriop file) Open Saves this project. (*.eriop file) Save Adds a coupler to the Device list. Add coupler Adds a module under the selected coupler. Add module Moves up the selected module to adjust slot number.
Page 9
The CSV file describes tag name, address type defined by EasyBuilder pro, and Modbus starting address. In Easybuilder pro, go to [System Parameters] and add the “Weintek Remote IO( Modbus TCP IP)” driver. Click on [Import Tags] to import the CSV file.
Page 10
Rename This tool allows you to change the name of modules and couplers for identifying devices. In EasyRemoteIO, select a module or coupler you want to rename. Go to [Edit] » [Rename]. Enter a new name and click OK button. Special command This tool allows you to send special commands to a coupler or module, such as reset to factory default.
Page 11
Modbus This tool allows you to run a Modbus TCP/IP master on the PC. To use this function, go to [Tools] » [Modbus]. [IP Address]- Enter IP address of the coupler you want to access. [Pre_defined]- You can bring up the tag list. Once a tag is selected, the corresponding function code, address, length will be filled in the boxes.
An iR-DM16-P (8 DI and 8 D0) is placed on slot #3. To know status of the digital IO, click on[Online] » [Start Monitoring] and then click on the iR-DM16-P under the iR-ETN coupler. The status of the IO will be listed on [IO / Module] tab.
Page 13
Analog input In this demonstration, iR-AM06-VI (4 AI and 2 A0) is placed on slot #1. An RTD Pt100 with transmitter (Range:-50-100 ºC, Output:4-20mA) is being connected to the analog input of the module. The wiring diagram is shown below. In EasyRemoteIO, go to [Parameter] tab.
Page 14
Analog output In this demonstration, iR-AM06-VI (4 AI and 2 A0) is placed on slot #1. A VFD analog input (Input: 4-20mA, Range: 0-60Hz) is being connected to the analog output of the module. The wiring diagram is shown below. To control the motor speed by sending frequency source, configure the Output mode, Upper limit, and Lower limit, and Output Update Time in EasyRemoteIO.
Page 15
Temperature module In this demonstration, iR-VI04-TR (4 Temperature inputs) is placed on slot #1. A K type thermocouple is being connected to the input of the temperature module. The wiring diagram is shown below. In EasyRemoteIO, go to [Parameter] tab. Select the input mode and unit of temperature. Input Mode #0: K Unit of Temperature: Fahrenheit Click [Download].
5. iR-ETN IO Module Mapping to Modbus Digital IO modules Module name The number of The number of digital inputs (DI) digital outputs (DO) iR-DI16-K iR-DM16-P iR-DM16-N iR-DQ16-P iR-DQ16-N iR-DQ08-R 8 (Relay) Digital IO modules mapping to Modbus address Name...
Page 17
0x0008 - 0x000f 0x0008 - 0x000f You can know the IO mapping by selecting the iR-ETN coupler and click on [Address Map] tab. To use Codesys to control IOs, go to [Modbus TCP Slave] » [Modbus Slave Channel] tab. Configure Modbus...
Page 18
0x0004 -0x0007 0x0102 - 0x0103 You can know the IO mapping by selecting the iR-ETN coupler and click on [Address Map] tab. To use Codesys to control IOs, go to [Modbus TCP Slave] » [Modbus Slave Channel] tab. Configure Modbus...
Page 19
0x0008 - 0x000f 0x0008 - 0x000f You can know the IO mapping by selecting the iR-ETN coupler and click on [Address Map] tab. To use Codesys to control IOs, go to [Modbus TCP Slave] » [Modbus Slave Channel] tab. Configure Modbus...
6. Module Register Each analog module has its module registers (parameters). The parameters may vary based on the analog IO modules you have. The available parameters can be known by selecting [Parameter] tab. To read and write these parameters via Modbus protocol, you need to know their Modbus addresses. The starting register of slot #1 IO module is 20000.
Page 22
Module The number The number The number The number of number name of DI of DO of AI iR-ETN iR-AQ04-VI iR-AI04-VI iR-DQ16-P iR-AM06-VI Module register of slot #1 Module Register name Address (DEC) Address (HEX) iR-AQ04-VI #0 Channel 0 Output Mode...
Page 23
Module register of slot #3 There is no register related to analog input and analog output. Registers 21000-21499 are not used and skipped. Module Register name Address (DEC) Address (HEX) iR-DQ16-P ----------------------- Module register of slot #4 Module Register name Address (DEC) Address (HEX) iR-AM06-VI #0 Channel 0 Output Mode 21500...
Appendix A- Register Number Register number for iR-AI04-VI, iR-AM06-VI, and iR-AQ04-VI Register number for iR-AI04-TR Note: 1. Scale range setting is only available for Voltage mode. 2. Temperature offset setting is only available for Temperature mode.
Codesys platform from any manufacturer which supports Modbus TCP Master to control remote IO on iR-ETN coupler. Here we use Codesys v3.5 platform from Weintek to demonstrate how it works. One Codesys soft PLC can control multiple Modbus TCP slaves.
Page 26
Step1: Right-click [Device] on the Device window and select [Add Device]. Then select [Ethernet Adapter] » [Ethernet]. Click [Add Device] button to add an Ethernet adapter. Step2: Under the Ethernet adapter, create a Modbus_TCP_Master device. ([Fieldbusses] » [Modbus] » [Modbus TCP Master] » [Modbus TCP Master]) Step3: Under the Modbus_TCP_Master, add a Modbus_TCP_Slave device.
Page 27
3. Modbus TCP Slave- On the [General] tab, [Slave IP Address]- Enter IP address of the iR-ETN. [Unit-ID]- Modbus Node ID of the iR-ETN is 1. [Port]- is TCP port used for communication. Modbus TCP port is configured to 502 by default.
Page 28
Name] - Channel name [Access type]- Selection of the Modbus function code [Trigger]- It determines if the command should be cyclic (time-based) or rising edge (trigger-based) If cyclic is chosen, the cycle time must be set up for this channel. If rising edge is chosen, the command is executed on the rising edge event of a boolean variable which is defined in [Modbus TCP slave I/O mapping] tab.
Page 29
HMI-solutions that meet the needs of all industrial automation requirements while maintaining customer satisfaction by providing “on-demand” customer service. WEINTEK LABS brought their innovative technology to the United States in 2016, WEINTEK USA, INC., to provide quality and expedient solutions to the North American industrial market.
Need help?
Do you have a question about the iR-ETN and is the answer not in the manual?
Questions and answers