Table of Contents Product Overview ....................1 iR-ETN40R ...................... 1 iR-ETN40P ....................... 1 Specifications ......................2 LED Indicators ......................4 IO RUN/ERR LED ..................... 4 ENET RUN/ERR ....................4 RJ45 ........................ 4 Reset Button ......................5 I/O Display Switch ....................5 IP Address Setup .....................
Page 3
7.17.7.2 Speed Control ............... 31 7.17.7.3 Length Measurement ........... 32 Modbus Mapping ....................35 iBus Information Register ................35 Digital Input Bit Mapping to Modbus ............35 Digital Output Bit Mapping to Modbus ............36 Analog Input Mapping to Modbus ............... 36 Analog Output Mapping to Modbus ............
Bus Coupler Protocol Modbus TCP Server, EtherNet/IP adapter Max. Number of TCP/IP Connections 8 connections Network to Logic Isolation Digital Output Module Name iR-ETN40R iR-ETN40P Total Number of Outputs Output Type Relay Source Output Voltage 250VAC/30VDC 11~28VDC Output Current 2A per channel (Max 8A) 0.5A per channel (Max 4A)
Page 7
Device Status Indicator ENET Device Error Indicator Green Module Status Indicator Module Error Indicator General Specification Module Name iR-ETN40R iR-ETN40P Power Supply 24 VDC (-15%/+20%) Nominal 255mA@24VDC, Nominal 100mA@24VDC, Power Dissipation Max. 540mA@24VDC Max. 530mA@24VDC Power Current for Internal Bus Max.
iR-ETN40R/P User Manual 3. LED Indicators 3.1 IO RUN/ERR LED Display Module Status RUN LED ERR LED Description Power off or no expansion module is connected Blinking IO initiating Blinking IO initiation error IO working Blinking IO module alarm IO communication fault Blinking Blinking Exceeding power limit or too many modules...
iR-ETN40R/P User Manual 4. Reset Button Press and hold the reset button for 2 seconds until ENET ERR LED blinks to reset network settings to default (see table below). Press and hold the reset button for 5 seconds until ENET ERR LED turns ON to restore factory default.
iR-ETN40R/P User Manual 5001 1389 Read 1word Reserved 5002 138A Read 1word Slot1~16 of Module disconnected Device Command 0x5269:Reset iBus 6000 1770 Write 1word 0x5250:Set parameter to default without TCP/IP 0x5257:Device Reset Warm 7.10 Life Guarding Register If the communication was missing for longer than the Life Guarding Time, a Life Guard Event is indicated.
iR-ETN40R/P User Manual *After pressing [Reset] button, the Default Value will be filled into the corresponding registers. 7.12 Device Error Code List Refer to special register address 5000/1388H Bit Number Description Bit0 Low power alarm Bit1 iBus initialization fault Bit2 Hardware error Bit3 Module lost connection...
iR-ETN40R/P User Manual into 0xFFF3. Read 0xFFF4 Index Object 0xFFF5 Sub-index (High Byte) Length (Low Byte) 0xFFF6 Hi Byte 0x56 WORD Lo Byte 0x78 BYTE DWORD 0xFFF7 Hi Byte 0x12 Lo Byte 0x34 Step1: Sequentially writes data into 0xFFF4~0xFFF5. Reading iR-PU01-P object starts when data is written into 0xFFF5, and the data will be placed in 0xFFF6~0xFFF7.
iR-ETN40R/P User Manual input 7.16 Pulse Capture Feature iR-ETN40R/P provides a pulse capture feature which can be used for the local digital inputs. This feature can be used to capture high-going pulses or low-going pulses that are of such a short duration that they would not always be seen when the controller reads the digital inputs at the beginning of the scan cycle.
iR-ETN40R/P User Manual Start/Stop Digital Output Limit &Reset Bidirectional Counter 0-1 High Select Speed Rate Measurement Counter Input Simple Counter 0-3 Digital Output Limit 7.17.2 Register List The maximum input frequency for a counter is 20 KHz. When the input points are configured for A/B phase (Quadrature 4X) encoder use, the maximum input frequency is 10 KHz.
Page 18
iR-ETN40R/P User Manual Output ON-trigger Value 4086~4087 OFF -trigger Value 4094~4095 Counter Value 4004~4005 Counter State 4010 Counter Command 4014 Simple Upper Limit Value 4024~4025 Counter-2 Point 4082 Digital ON-trigger Value 4088~4089 Output OFF -trigger Value 4096~4097 Counter Value 4006~4007 Counter State 4011 Counter Command...
Page 19
iR-ETN40R/P User Manual Upper Limit Reload Value 4060~4061 Lower Limit 4056~4057 Lower Limit Reload Value 4064~4065 Point 4240 ON-trigger Value 4241~4242 OFF-trigger Value 4243~4244 Point 4245 ON-trigger Value 4246~4247 OFF-trigger Value 4248~4249 Point 4250 ON-trigger Value 4251~4252 OFF-trigger Value 4253~4254 Point 4255 ON-trigger Value...
iR-ETN40R/P User Manual Rate Select Measurement Counter Counter Time Windows Address Read/Write Name Value 1~1000, Unit: ms 4028 0FBC Read/Write Time-Windows Default: 0 0: disable 1: Simple Counter 0 2: Simple Counter 1 4029 0FBD Read/Write Windows Channel 3: Simple Counter 2 4: Simple Counter 3 5: Bidirectional Counter 0 6: Bidirectional Counter 1...
Page 24
iR-ETN40R/P User Manual Max 4294967295 (FFFF FFFFH) Up Counting Counter Value Counter Value Reset to Zero Simple Counter Register Address Read/Write Name Value 4000~ 0FA0~ Read/Write Simple Counter 0 value 4001 0FA1 4002~ 0FA2~ Read/Write Simple Counter 1 value 4003 0FA3 32-bit Unsigned...
Page 25
iR-ETN40R/P User Manual The digital outputs of iR-ETN40R are numbered from 0 to 15 (built-in), and the digital outputs of modules are numbered 16+. Setting a value greater than the current total number of outputs is ineffective. Address Read/Write Name Value Simple Counter 0 4080...
Page 26
iR-ETN40R/P User Manual Example 1: Digital Output Point ON-Trigger Value OFF -Trigger Value 1000 2000 MAX:4294967295 (FFFF FFFFH) Up Counting Count Value OFF-Trigger ON-Trigger Value Value =2000 =1000 Digital Output Point 0 Example 2: ON-Trigger Value OFF-Trigger Value Digital Output Point 2000 1000 MAX:4294967295...
Page 29
iR-ETN40R/P User Manual Upper Limit 2,147,483,647 Up Counting Example 2: Item Value Upper Limit 2,147,483,647 Upper Limit Reload Value -2,147,483,647 Lower Limit -2,147,483,647 Lower Limit Reload Value 2,147,483,647 ...
Page 30
iR-ETN40R/P User Manual Lower Limit Upper Limit -2,147,483,648 2,147,483,647 Up Counting Counter Value Count down 4294967295 80000000U pCountingH) Upper Limit Lower Limit -2,147,483,648 2,147,483,647 Up Counting Count down Bidirectional Counter Digital Output Each Bidirectional ounter uses 8 digital outputs. When the ON-trigger Value is reached, the digital output will be set ON.
Page 31
iR-ETN40R/P User Manual Counter Counter Counter Counter Value =1000 Value =2000 Value =3000 Value =4000 Digital Output Point Example 2: Number Digital Output Point ON-trigger Value OFF-trigger Value 1000 2000 3000 4000 1000 3000 Counter Counter Counter Counter Value =1000 Value =2000 Value =3000 Value =4000...
Page 32
iR-ETN40R/P User Manual Digital Output: Bidirectional Counter 0 Address Numb Read/Write Name Value 4200 1068 Read/Write Digital Output Point 0 Default: 65535 4201~ 1069~ Digital Output Point 0 Read/Write 32-bit Signed 4202 106A ON-trigger Value Range: 4203~ 106B~ Digital Output Point 0 -2,147,483,648~2,147,483,647 Read/Write 4204...
Page 33
iR-ETN40R/P User Manual Digital Output: Bidirectional Counter 1 Address Read/Write Name Value Number 4240 1090 Read/Write Digital Output Point 0 Default: 65535 4241~ 1091~ Digital Output Point 0 Read/Write 32-bit Signed 4242 1092 ON-trigger Value Range: 4243~ 1093~ Digital Output Point 0 -2,147,483,648~2,147,483,647 Read/Write 4244...
iR-ETN40R/P User Manual 7.17.7 Application Examples 7.17.7.1 Flow Control Application Description Flow control is accomplished with a flow meter and a valve. As the liquid passes through the valve and the flow meter into the tank, the flow meter generates pulses that are proportional to the amount of liquid passed.
iR-ETN40R/P User Manual Parameters Address Name Value (Dec.) When set to 1, the high-speed input I -10 is TerminalⅠHigh Speed Input Setting 4044 used as a simple counter 0. When set to 0, controls to the counter are TerminalⅡHigh Speed Input Setting 4045 disabled.
iR-ETN40R/P User Manual Terminal Object Terminal Input I -0 Start Button Input I -1 Stop Button Input High-speed Input I -10 Speed Sensor Output I -0 Conveyor Speed Switch Output I -1 Saw Motor Output Output I -2 Conveyor Motor ...
Page 37
iR-ETN40R/P User Manual to the moving distance of the conveyer belt, the length of an object can be computed from the number of encoder pulses detected when the sensor is on. In this example, of the four high-speed input channels of iR-ETN40R, we would connect two to the encoder.
Page 38
iR-ETN40R/P User Manual Parameters Address Name Value (Dec.) Ⅰ When set to 3, the high-speed inputs -10/11 are TerminalⅠHigh Speed Input Setting 4044 configured for A/B phase encoder use. When set to 7, the high-speed inputs -10/11 are TerminalⅡHigh Speed Input Setting 4045 configured for starting / stopping the high-speed counter, and for resetting the counter value.
iR-ETN40R/P User Manual 8. Modbus Mapping The following is an example showing that when connecting with multiple modules, the address mapping and input/output bit mapping are as follows: item Product Slot#1 iR-DI16-K Slot#2 iR-DQ16-P Slot#3 iR-DM16-P Slot#4 iR-DQ08-R Slot#5 iR-AI04-VI Slot#6 iR-AQ04-VI Slot#7...
Class Attributes Read Maximum ID Number UINT Instance Attributes 9.2.3 Instance Attributes Instance ID Attribute ID Read/Write Name Data Type Value Read Weintek Vendor ID UINT 1596 Read Device Type- UINT Communications Adapter Read Product Code UINT 2675 (iR-ETN40R) 2673...
User Manual Read UDINT Serial Number Read STRING “iR-ETN40R”/ Product Name “iR-ETN40P” 9.3 Message Router Object Class Code: 02 9.3.1 Class Attributes & Instance Attributes None 9.4 Assembly Object Class Code: 04 9.4.1 InstanceAttributes Instance ID Attribute ID Read/Write...
iR-ETN40R/P User Manual Others : 0 Read Physical 6 *USINTs MAC address Address Read Capability DWORD Interface capabilities, other than Bits speed/duplex Speed / USINT Number of elements Duplex Interface Speed USINT Options Interface Duplex Mode USINT 9.7 TCP/IP Interface Object Class Code: F5 9.7.1 Service Service Code...
iR-ETN40R/P User Manual 9.7.4 Interface Status Name Definition Interface Configuration Status 0 = The Interface Configuration attribute has not been configured. 1 = The Interface Configuration attribute contains configuration obtained from BOOTP, DHCP, or non-volatile storage. 2 = The Interface Configuration attribute contains configuration obtained from hardware settings.
iR-ETN40R/P User Manual 0~255 Read/Write Digital Input 0~255 UINT filter time Read/Write Digital Output Error UINT 0: Keep Last Value Mode (bit15-0) 1: Incorrect Value Read/Write Digital Output Error UINT Mode (bit31-16) ….. Read/Write UINT ….. Read/Write Digital Output Error UINT Mode(bit511-495) Read/Write...
iR-ETN40R/P User Manual 87hex Axis4 9.11 High Speed Counter Object Class Code: 72 9.11.1 Services Service Code Class Instance Service Name 0x01 ● ● Set Attribute Single 0x0E ● ● Get Attribute Single 9.11.2 Instance Attributes Instance ID Attribute ID Read/Write Name Data Type...
iR-ETN40R/P User Manual Output-0~7 Low-trigger Value Read/Write UINT Rate – Time Windows Read/Write Rate –Windows UINT Channel Read UDINT Rate - Value Read Simple counter0~3 UDINT Value Read Bidirectional DINT Counter0~1 Value 10. iBus Error Handling When communication with the module is lost, iR-ETN40R can report an error and stop module communication.
iR-ETN40R/P User Manual 12. EasyRemoteIO EasyRemoteIO is an easy-to-use tool for configuring the parameters of iR-ETN40R/P. 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. 1.
Page 54
iR-ETN40R/P User Manual 3. Change IP to Current Domain: Select [Online] » [Change IP] to set the iR-ETN40R/P’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-ETN40R/P.
Page 55
iR-ETN40R/P User Manual 5. Export EtherNet/IP EDS file.
When using iR-ETN40R/P, three types of description files can be generated in EasyRemoteIO. 13.1 Weintek HMI Tag The exported tags can be used for Weintek HMI. For more information about exporting tags, see PLC Connection Guide -> Weintek Remote IO (MODBUS TCP/IP). 13.2 EtherNet/IP EDS The corresponding EDS file of the connected module can be exported in the software.
Page 57
iR-ETN40R/P User Manual in the example below is 3.5.16.0. 3. In CODESYS project add Modbus_TCP_Master device. 4. Click Modbus_TCP_Master, and then select [Project] » [Import PLCopenXML File].
Page 58
iR-ETN40R/P User Manual 5. After importing the file, the iR-ETN40R/P added in CODESYS project can be found. Read/Write channels and initial parameters are built.
Need help?
Do you have a question about the iR-ETN40P and is the answer not in the manual?
Questions and answers