User Manual Top View Top View 1. Product Overview 27mm [1.06"] 81mm [3.19"] 27mm [1.06"] 81mm [3.19"] Side View Side View Front View Side View Front View Reset Button Expansion Connector Ethernet Port LAN 1 Ethernet Port LAN 2...
User Manual 2. Specifications Communication Interface Specifications Model iR-ETN Number of Bus Terminals Depends on Power Consumption Digital Input Point Max. 512 Expansion I/O Module Digital Output Point Max. 256 Analog Input Channel Max. 64 Analog Output Channel Max. 64...
User Manual 3. LED Indicators L.V LED L.V LED state Description 24V power normal Blinking Detect 24V power 24V power error IO RUN/ERR LED RUN LED ERR LED Description Power off or no power Blinking IO initiating Blinking IO initiation error...
User Manual LINK /ACT LED No communication. Blinking There is activity on this port. 4. RJ45 Interface RJ-45 Signal Name Descriptions Transmit + Transmit + Receive + **** **** Receive - **** **** Case Shield 5. Reset Button Press and hold the reset button for more than 2 seconds after the unit starts running properly, and wait until ENET ERR LED blinks.
User Manual 10033 2731 Read 1word Number of modules Read 1word 10035 2733 Number of points of Digital Input 10036 2734 Read 1word Number of points Digital Output 10037 2735 Read 1word Number of Analog channels of Input register...
Stop 0x0001 Operation 0x0002 Pre-operational 0x0080 Reset application 0x0081 Reset communication 0x0082 8. Modbus Mapping The following is an example showing that when iR-ETN is connected with multiple modules, the address mapping and input/output bit mapping can be as follows:...
User Manual 9. EtherNet/IP Object List Name Object Type Object Code (Hex) Identity Standard Object Message Router Standard Object Assembly Standard Object Connection Manager Standard Object TCP/IP Interface Standard Object Ethernet Link Standard Object Module Register Manufacturer Defined Object...
User Manual 9.3.1 Class Attributes & Instance Attributes None Connection Manager Object Class Code: 06 9.4.1 Class Attributes & Instance Attributes None Ethernet Link Object Class Code: F6 9.5.1 Services Service Code Class Instance Name 0x01 ● Get Attribute All 0x0E ●...
User Manual 9.6.1 Service Service Code Class Instance Name 0x0E ● ● Get Attribute Single 0x01 ● Set Attribute Single 9.6.2 Class Attributes Instance ID Attribute ID Read/Write Name Data Type Value Read Revision UINT Read Max Instance UINT 9.6.3 Instance Attributes...
Data Type Value Slot# Module Read/Write Module Register# Register# The following is an example showing the mapping of Instance ID and Attribute ID when iR-ETN is connected to the following modules. Slot Module Name Slot#1 iR-AI04-VI Slot#2 iR-DQ16-P Slot#3 iR-DM16-P...
User Manual Channel 1 Output Mode Channel 2 Output Mode Channel 3 Output Mode ……… ……… ……… 16# Error Code For more information on registers, please see the user manual for each module. iBus Object Class Code: 71 9.8.1 Services...
Axis3 87hex Axis4 10. iBus Error Handling When communication with the module is lost, iR-ETN can report an error and stop module communication. The following actions can be taken: Set Special Register #10045 (273Dh) to 1 to ignore this error.
Page 23
User Manual Set Special Register #10045 (273Dh) to 0 to report this error. Send Device Command Special Register #6000 (1770h) to reboot iBus. iBus Error Flowchart:...
User Manual 13. EasyRemoteIO EasyRemoteIO is an easy-to-use tool for configuring the parameters of iR-ETN. This tool can be found in the installation file of the latest version of EasyBuilder Pro. For more information on EasyRemoteIO, please see EasyRemoteIO User Manual.
Page 26
Select [Online] » [Change IP] to set the iR-ETN’s IP address. 4. Check Parameter with Monitor: Select [Online] » [Start Monitoring] or press Shift + M on the keyboard to activate the connection with iR-ETN. The device status and module status can be viewed via EasyRemoteIO.
User Manual 5. Export EtherNet/IP EDS file. 14. Connecting with CODESYS For more information on cMT+CODESYS and iR Remote I/O, please see: UM018003E_cMT_Codesys_Install_UserManual_eng.pdf 1. Preparation: Please add Weintek Built-in CODESYS device following the instructions in this document.
Page 28
Double click [Device] and select [Scan network] to find the cMT device you want to connect. 3. Creating Ethernet Device: Under Ethernet (Ethernet) create a Modbus_TCP_Master device which represents CODESYS Ethernet Port of the cMT device, and create a Modbus_TCP_Slave device which represents iR-ETN’s Ethernet Port.
Page 29
User Manual 4. Parameter setting Ethernet: Double click [Ethernet] and select [Interface] to find the cMT device connected just now. Modbus_TCP Master: Select auto-reconnect. Modbus_TCP Slave:...
Page 30
User Manual Set the iR-ETN IP and set Unit-ID to 1. 5. Modbus Slave Channel: Add Remote I/O module channels here. Use Read Discrete Inputs (Function Code 2) for input and use Write Multiple Coils (Function Code 15) for output. Please set correct offset and length for each channel, or see an example shown in Chapter 8 in this manual.
User Manual 8. Download Program and Run: Follow the steps: [Build] » [Login] » [Run]. Devices successfully connected will have a green circle mark. 15. Connecting CODESYS with EasyBuilder Pro 1. Symbol Configuration: Create a [Symbol configuration] object under Application.
User Manual 15.1 Creating .xml File 1. “Build” Command for Selecting Variables. 2. Select PLC_PRG Variables. 3. Create .xml File: Click [Build] » [Generation code] and find the .xml file in program saving location.
Page 33
User Manual 4. Importing .xml File in EasyBuilder Pro. 5. Adding a Device: Add Weintek Built-in CODESYS driver into the device list. 6. Importing Tags: Use Tag Manager to import .xml file.
Page 34
User Manual 7. Select Tag in Object Settings Dialog.
User Manual 16. Importing CODESYS Modbus TCP using EasyRemote I/O for iR-ETN 1. Search for iR-ETN on the network. 2. Export PLCopenXML file. 3. Launch CODESYS and add Modbus_TCP_Master. 4. Import PLCopenXML file. Click Modbus_TCP_Master and select [Project] »...
Page 36
User Manual 5. Import is completed. 6. Read/Write channels and initial parameters are built.
Need help?
Do you have a question about the iR-ETN and is the answer not in the manual?
Questions and answers