Hide thumbs Also See for iR-ETN40P:
Table of Contents

Advertisement

Quick Links

User Manual
iR-ETN40R/P User Manual
This guide walks through important information about iR-ETN40R/P
UM021002E_20231220

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the iR-ETN40P and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for weintek iR-ETN40P

  • Page 1 User Manual iR-ETN40R/P User Manual This guide walks through important information about iR-ETN40R/P UM021002E_20231220...
  • Page 2: Table Of Contents

    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 ............
  • Page 4 10. iBus Error Handling ....................46 11. Power Consumption ..................... 48 12. EasyRemoteIO ....................... 49 13. Description File ..................... 52 13.1 Weintek HMI Tag ..................52 13.2 EtherNet/IP EDS ................... 52 13.3 CODESYS PLCopen.XML ................52 14. IO Wiring ....................... 55 14.1...
  • Page 5: Product Overview

    User Manual 1. Product Overview 1.1 iR-ETN40R Input Terminal b.c.e.f Output Terminal Reset Button I/O Display Switch Ethernet Port Power Connector Expansion Connector 1.2 iR-ETN40P Input Terminal Output Terminal Reset Button I/O Display Switch Ethernet Port Power Connector Expansion Connector...
  • Page 6: Specifications

    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.
  • Page 8: Led Indicators

    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...
  • Page 9: Reset Button

    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.
  • Page 10: Modbus Mapping

    iR-ETN40R/P User Manual 7. MODBUS Mapping 7.1 Bit Mapping Start address Parameter Read/Write Function Code 0000~ Digital Input 0~511 Read 01FF Read 0000~ Digital Output 0~511 01FF Write 5,15 7.2 Register Mapping Start address Parameter Read/Write Function Code 0000~ Analog Input 0~255 Read 3,4,23...
  • Page 11: Device Information Register

    Data size Description 4word 3000 0BB8 Read Vendor name string 8 char: “weintek” (ASCII) 1word 3004 0BBC Read Product Code of iR-ETN40R: 0x0A73, iR-ETN40P: 0x0A71 Read 1word 3005 0BBD Firmware revision V1.23.4, 0x1234 Read 1word 3006 0BBE Hardware revision V1.23.4, 0x1234...
  • Page 12: Module Register

    0252h iR-DQ08-R 0243h iR-AQ04-VI 0525h iR-AI04-VI 0425h iR-AM06-VI 0635h iR-AI04-TR 0426h iR-ETN 0702h iR-ETN40R 0A73h iR-ETN40P 0A71h 7.9 Special Register Address Read/Write Data size Description Indicator Mode: Read/Write 1word 0: Modbus TCP 1013 03F5 1: EtherNet IP Disable Reset Button...
  • Page 13: Life Guarding Register

    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.
  • Page 14: Device Error Code List

    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...
  • Page 15: Ir-Pu01-P Nmt Control Address

    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.
  • Page 16: Pulse Capture Feature

    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.
  • Page 17: Register List

    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...
  • Page 20: Input Configuration

    iR-ETN40R/P User Manual 7.17.3 Input configuration TerminalⅠ SC-0 Point10 Simple Counter-0 Bidirectional Counter -0 Point11 Simple Counter-1 Start/Stop Reset TerminalⅡ SC-0 Point10 Simple Counter-2 Bidirectional Counter -1 Point11 Simple Counter-3 Reset Start/Stop...
  • Page 21 iR-ETN40R/P User Manual TerminalⅠinput (Address: 4044) TerminalⅡinput (Address: 4045) Signal Type points 10 points 11 points 10 points 11 Simple Simple Counter-0 Simple Counter-1 Simple Counter-2 Simple Counter-3 Bidirectional Bidirectional Bidirectional Bidirectional A/B Phase Counter-0 Counter-0 Counter-1 Counter-1 A Phase B Phase A Phase B Phase...
  • Page 22: Rate Measurement

    iR-ETN40R/P User Manual Single pulse only Simple Counter-0 Simple Counter-1 A/B Phase Quadrature 1X A/B Phase A Phase B Phase Quadrature 2X Bidirectional Counter-0 ) Bidirectional Counter-0 ) A/B Phase Quadrature 4X Up Pulse Down Pulse Up & down pulse Bidirectional Counter-0 ) Bidirectional Counter-0 ) Pulse...
  • Page 23: Simple Counter

    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 27: High Speed Counter

    iR-ETN40R/P User Manual 7.17.6 High Speed Counter Function Block Counter Digital Input Output*8 Rate Bidirectional Counter Measurement Counter Start/Stop Counter Reset Lower Limit Upper Limit Lower Upper Limit Reload Value Reload Value Limit Upper Count Limit Lower Count Limit 2,147,483,647 2,147,483,648 Up Counting Count Value...
  • Page 28 iR-ETN40R/P User Manual 4052~ 0FD4~ Bidirectional ounter-1 default: 2,147,483,647 Read/Write 4053 0FD5 Upper Limit 4054~ 0FD6~ Bidirectional ounter-0 Read/Write 32bit signed 4055 0FD7 Lower Limit Range:-2,147,483,648~2,147,483,647 4056~ 0FD8~ Bidirectional ounter-1 default:-2,147,483,648 Read/Write 4057 0FD9 Lower Limit 0FDA~ Bidirectional ounter-0 4058~ 0FDB Read/Write Upper Limit Reload...
  • 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...
  • Page 34: Application Examples

    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.
  • Page 35: Speed Control

    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.
  • Page 36: Length Measurement

    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.
  • Page 39: Modbus Mapping

    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...
  • Page 40: Digital Output Bit Mapping To Modbus

    iR-ETN40R/P User Manual Slot#2 iR-DQ16-P Slot#3 iR-DM16-P 0030h~0037h (Input points 0~7) Slot#4 iR-DQ08-R 8.3 Digital Output Bit Mapping to Modbus Bit Offset Function Slot Module Code iR-ETN40R/P (0000h~0030h) TerminalⅠ: 0000h~0007h Built-in 5,15 TerminalⅡ:0008h~000Fh Slot#1 iR-DI16-K 5,15 Slot#2 iR-DQ16-P 0010h~001Fh (Module output 0~15) 5,15 Slot#3 iR-DM16-P...
  • Page 41: Ir-Pu01-P Variable Instance Mapping

    iR-ETN40R/P User Manual 8.7 iR-PU01-P Variable Instance Mapping Slot Module Description Address Function Code Slot#7 Axis 0 variable instance input 40000~40015 iR-PU01-P (Axis 0) Axis 0 variable instance output 40500~40515 Slot#8 Axis 1 variable instance input 40016~40031 iR-PU01-P (Axis 1) Axis 1 variable instance output 40516~40531 Slot#9...
  • Page 42 iR-ETN40R/P User Manual 40502 Axis 0 Target Position (Lo word) DINT Signed 32 40503 Axis 0 Target Position (Hi word) 40504 Axis 0 Profile velocity (Lo word) DINT Signed 32 40505 Axis 0 Profile velocity (Hi word) 40506 Axis 0 Target velocity (Lo word) DINT Signed 32 40507...
  • Page 43: Ethernet/Ip Object

    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...
  • Page 44: Message Router Object

    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...
  • Page 45: Tcp/Ip Interface Object

    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...
  • Page 46: Interface Status

    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.
  • Page 47: Ibus Object

    iR-ETN40R/P User Manual Slot Module Description Instance ID Attribute ID Module Register Channel 0 Input Mode Channel 1 Input Mode Channel 2 Input Mode Slot#1 iR-AI04-VI Channel 3 Input Mode ……… ……… ……… Channel 0 Output Mode Channel 1 Output Mode Channel 2 Output Mode Slot#5 iR-AQ04-VI...
  • Page 48: Axis Register Object

    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...
  • Page 49: High Speed Counter Object

    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...
  • Page 50: Ibus Error Handling

    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.
  • Page 51 iR-ETN40R/P User Manual...
  • Page 52: Power Consumption

    User Manual 11. Power Consumption Type Device Consumption(5V) Power Supply(5V) Power Consumption(24V) iR-ETN40R 520mA/2.6W 2A/10W 255mA/6.12W Coupler iR-ETN40P 350mA/1.75W 2A/10W 100mA/2.4W iR-DM16-P 130mA/0.65W 53mA/1.27W iR-DM16-N 130mA/0.65W 56mA/1.34W iR-DQ08-R 220mA/1.1W 84mA/2.02W Digital I/O iR-DQ16-N 205mA/1.02W 78mA/1.87W iR-DQ16-P 196mA/0.984W 75mA/1.80W iR-DI16-K 83mA/0.418W...
  • Page 53: Easyremoteio

    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.
  • Page 56: Description 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.
  • Page 59: Io Wiring

    iR-ETN40R/P User Manual 14. IO Wiring 14.1 iR-ETN40R...
  • Page 60: Ir-Etn40P

    User Manual 14.2 iR-ETN40P 15. Firmware Update 15.1 Software Required software: IO Runtime Updater (ETN) When IO Runtime Updater (ETN) cannot connect to iR-ETN40R/P’s IP, please check the firewall settings from the directory below: [Windows Defender Firewall] » [Advanced settings] » [Inbound Rules] » [IO Runtime...
  • Page 61 iR-ETN40R/P User Manual 1. Open the settings window of Windows® Firewall. 2. Select IO Runtime Updater and allow connections.
  • Page 62: Firmware Update

    CODESYS® is a trademark of CODESYS GmbH. Other company names, product names, or trademarks in this document are the trademarks or registered trademarks of their respective companies. This document is subject to change without prior notice. Copyright© 2023 WEINTEK IIOT LTD. All rights reserved.

This manual is also suitable for:

Ir-etn40r

Table of Contents