background image

 

 

 

 

User Manual 

iR-ETN User Manual

 

This guide walks through important information about iR-ETN 

UM018002E_20200518 

                                           

Summary of Contents for iR-ETN

Page 1: ...User Manual iR ETN User Manual This guide walks through important information about iR ETN UM018002E_20200518 ...

Page 2: ... 6 Module Register 6 7 7 Product Code List 7 7 8 Special Register 7 7 9 Life Guarding Register 7 7 10 The Default Value 8 7 11 Device Error Code List 8 7 12 Reading and Writing iR PU01 P Objects 9 7 13 iR PU01 P NMT Control Address 9 7 14 8 Modbus Mapping 9 iBus Information Register 10 8 1 Digital Input Bit Mapping to Modbus 10 8 2 Digital Output Bit Mapping to Modbus 11 8 3 Analog Input Mapping t...

Page 3: ...s 16 9 6 4 Interface Status 16 9 6 5 Configuration Control Attribute 17 Module Register object 17 9 7 9 7 1 Service 17 9 7 2 Class Attribute 17 9 7 3 Instance Attributes 17 iBus Object 18 9 8 9 8 1 Services 18 9 8 2 Class Attribute 18 9 8 3 Instance Attributes 18 Axis Register Object 19 9 9 9 9 1 Services 19 9 9 2 Class Attributes 19 9 9 3 Instance Attributes 19 10 iBus Error Handling 19 11 Power ...

Page 4: ...xpansion Connector b Ethernet Port LAN 1 c Ethernet Port LAN 2 d Power Connector Front View Side View ew Top View Bottom View 27mm 1 06 a b c d 81mm 3 19 e 109mm 4 29 Front View Side View Side View Top View Bottom View 27mm 1 06 a b c d 81mm 3 19 e 109mm 4 29 ...

Page 5: ...oupler and Bus Coupler Protocol Modbus TCP IP EtherNet IP Adapter Max Number of TCP IP Connections 8 Topology line or star wiring General Specification Power Power Supply 24 VDC 15 20 Power Dissipation Nominal 100mA 24VDC Current for Internal Bus Max 2A 5VDC Current Consumption 220mA 5VDC Electrical Isolation Network to Logic Isolation Logic to Field power Isolation Back up Fuse 1 6A Self recovery...

Page 6: ...iption Modbus TCP EtherNet IP OFF OFF Power off or no power Blinking OFF Communicating Pre operational mode ON OFF The device is in the OPERATIONAL state OFF ON Hardware error communication fault An irrecoverable error has occurred ON Blinking Reset button is triggered A recoverable error has occurred ENET Run ERR indicator can be set to Modbus TCP mode default or EtherNet IP mode The communicatio...

Page 7: ...ning properly and wait until ENET ERR LED blinks The default parameters are shown below the settings will take effect after cold reset Item Description Default 1 IP Address 192 168 0 212 2 Netmask 255 255 255 0 6 IP Address Setup Reset Button 6 1 Item Description Default 1 IP Address 192 168 0 212 2 Netmask 255 255 255 0 7 MODBUS Mapping Bit Mapping 7 1 Parameter Start address Read Write Function ...

Page 8: ...00 1011 03F3 Read 1word Number of TCP IP connections TCP IP Register Settings will take effect after cold reset or after giving Device Reset Warm command Device Information Register 7 4 Address Read Write Data size Description Dec Hex 3000 0BB8 Read 4word Vendor name string 8 char weintek ASCII 3004 0BBC Read 1word Product Code of iR ETN is 0x0702 3005 0BBD Read 1word Firmware revision V1 23 4 0x1...

Page 9: ...of Slot 2 16 Ex Module information of slot 1 Address Read Write Data size Description Dec Hex 30000 7530 Read 1word Module product code please see Product Code List 30001 7531 Read 1word Module firmware version V1 23 4 value 0x1234 30002 7532 Read 1word Module hardware version V1 23 4 value 0x1234 30003 7533 Read 1word Power consumption unit mW 30038 7556 Read 1word Number of points of Digital Inp...

Page 10: ...0ms digital input 0 511 6000 1770 Write 1word Device Command 0x5269 Reset iBus 0x5250 Parameter to default without TCP IP 0x5257 Device Reset Warm Life Guarding Register 7 10 If the communication was missing for longer than the Life Guarding Time a Life Guard Event is indicated The output behavior is determined by whether Error Mode is enabled or disabled Enabling Error Mode will output an Error V...

Page 11: ...ETN 5100 5612 13EC 15EC Read Write 512word Setting the time filter Digital input 0 511 0 6100 17D4 Read Write 1word Life Guarding Time 0 6101 6132 17D4 17F4 Read Write 32 word Digital Output Error Mode 0xFF 6133 6164 17F5 1814 Read Write 32 word Digital Output Error Value 0 6165 6168 1815 1818 Read Write 4word Analog Output Error Mode 0xFF 6169 6232 1819 1858 Read Write 64word Analog Output Error ...

Page 12: ... index High Byte Length Low Byte 0xFFF6 Hi Byte 0x56 WORD DWORD Lo Byte 0x78 BYTE 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 Step 2 Read data of 0xFFF6 0xFFF7 Object iR PU01 P NMT Control Address 7 14 NMT Address State Value 0xFFF8 65528 Stop 0x0001 ...

Page 13: ...10003 2713 Slot 3 Product code Module 0x0351 iR DM16 P 10004 2714 Slot 4 Product code Module 0x0243 iR DQ08 R 10005 2714 Slot 5 Product code Module 0243h iR AI04 VI 10006 2714 Slot 6 Product code Module 0243h iR AQ04 VI 10033 2731 Number of modules 10 10035 2733 Point of Digital Input 24 10036 2734 Point of Digital Output 32 10037 2735 Channels of register input 4 10038 2736 Channels of register o...

Page 14: ...lot 6 iR AQ04 VI Channel 0 analog output 256 6 16 23 Channel 1 analog output 257 Channel 2 analog output 258 Channel 3 analog output 259 Module Register Mapping to Modbus 8 6 Slot Module Description Modbus Address Module Register Slot 5 iR AI04 VI Channel 0 Input Mode 22020 20 Channel 1 Input Mode 22021 21 Channel 2 Input Mode 22022 22 Channel 3 Input Mode 22023 23 Slot 6 iR AQ04 VI Channel 0 Outp...

Page 15: ...tual value Lo word DINT Signed 32 Dec 6 40005 Axis 0 Velocity actual value Hi word 7 40006 Axis 0 Position demand internal value Lo word DINT Signed 32 Dec 8 40007 Axis 0 Position demand internal value Hi word 9 40008 High Byte Axis 0 Digital Output Status BYTE Unsigned 8 Hex Low byte Axis 0 Capture Channel Status BYTE Unsigned 8 Hex 10 40009 Axis 0 Error code UINT Unsigned 16 Hex 11 40010 Axis 0 ...

Page 16: ...ec 8 40507 Axis 0 Target velocity Hi word 9 40508 Axis 0 Profile acceleration Lo word DINT Signed 32 Dec 10 40509 Axis 0 Profile acceleration Hi word 11 40510 Axis 0 Profile deceleration Lo word DINT Signed 32 Dec 12 40511 Axis 0 Profile deceleration Hi word 40512 40515 Reserved ...

Page 17: ...e Name Value 0x01 Get Attribute All 0x05 X Reset 0 Reset 0x0E X Get Attribute Single 9 2 2 Class Attributes Instance ID Attribute ID Read Write Name Data Type Value 0 1 Read Revision UINT 1 2 Read Max Instance UINT 1 6 Read Maximum ID Number Class Attributes UINT 7 7 Read Maximum ID Number Instance Attributes UINT 7 9 2 3 Instance Attributes Instance ID Attribute ID Read Write Name Data Type Value...

Page 18: ...NT 4 2 Read Max Instance UINT 1 9 5 3 Instance Attributes Instance ID Attribute ID Read Write Name Data Type Value 1 1 Read Interface Speed UDINT 100 Speed 100M 2 Read Interface Flags DWORD Bit 0 Link Active Bit 1 Full Duplex Bit 2 4 Auto negotiation Bit 5 Manual Setting required Reset Bit 6 Local Hardware Fault Others 0 3 Read Physical Address 6 USINTs MAC address 1 11 Read Interface Capability C...

Page 19: ...nk Path Size of Path Padded PATH 00 00 20 F6 24 01 5 Read Interface Configuration UDINT IP address UDINT Network Mask UDINT Gateway Address UDINT Name Server UDINT Name Server 2 STRING Domain Name 6 Read Host name STRING iR ETN 13 Read Write Encapsulation Inactivity Timeout UINT 0 Disable timeout 1 3600 timeout in seconds Default 120 9 6 4 Interface Status Bit Name Definition 0 3 Interface Configu...

Page 20: ...tribute ID Read Write Name Data Type Value 0 1 Read Revision UINT 1 9 7 3 Instance Attributes Instance ID Attribute ID Read Write Name Data Type Value Slot Module Register Read Write Module Register INT 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 ...

Page 21: ... 0 Read Module number UINT 1 Read Digital Input point UINT 2 Read Digital Output point UINT 3 Read Analog Input point UINT 4 Read Axis Point UINT 5 Read Analog Output point UINT 6 Read Byte size of Mapping Input Data UINT 7 Read Mapping Input Data Struct of Byte 8 Read Byte size of Mapping Output Data UINT 9 Read Write Mapping Output Data Struct of Byte 10 25 Read Module Device Name String 50 65 R...

Page 22: ...xis Register Object 9 9 Class Code 80HEX 87HEX 9 9 1 Services Service Code Class Instance Service Name 0x01 X Set Attribute Single 0x0E Get Attribute Single 9 9 2 Class Attributes Instance ID Attribute ID Read Write Name Data Type Value 0 1 Read Revision UINT 1 9 9 3 Instance Attributes Class ID Axis Number 01PU Module Index Sub index 80hex Axis1 5500 Instance ID Range 5500h 55FFh Attribute ID 81h...

Page 23: ...iR ETN User Manual 20 Set Special Register 10045 273Dh to 0 to report this error Send Device Command Special Register 6000 1770h to reboot iBus iBus Error Flowchart ...

Page 24: ...I04 VI 70mA 0 35W iR AM06 VI 70mA 0 35W iR AI04 TR 65mA 0 325w Motion Control iR PU01 P 108mA 0 54W Note The coupler is the only power supply for the modules in this system Please consider power requirements when connecting multiple modules Example Device Name Consumption Power Supply Coupler iR ETN 220mA 1 1w 2A 10w Module iR DM16 P 13 130mA 13 1 69A X System Power consumption 220mA 1 69A 1 91 A ...

Page 25: ... file of the latest version of EasyBuilder Pro For more information on EasyRemoteIO please see EasyRemoteIO User Manual 1 Preparation The default domain of iR ETN is 192 168 0 212 please set computer s IP to 192 168 0 2 Scan iR ETN Select Online Automatic Scan or press Shift S on the keyboard to open the following window to scan the iR ETN connected with PC ...

Page 26: ...elect 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 ...

Page 27: ... 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: ...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: ...iR ETN User Manual 26 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: ...ere 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 6 Edit CODESYS Program 7 Modbus TCP Slave I O Mapping Variables specified here can map to Remote I O ...

Page 31: ...d 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 ...

Page 32: ... ETN User Manual 29 Creating xml File 15 1 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: ...iR ETN User Manual 30 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: ...iR ETN User Manual 31 7 Select Tag in Object Settings Dialog ...

Page 35: ...SYS 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 Import PLCopenXML File ...

Page 36: ...iR ETN User Manual 33 5 Import is completed 6 Read Write channels and initial parameters are built ...

Page 37: ...sources CODESYS is a trademark of 3S Smart Software Solutions 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 2020 Weintek Lab Inc All rights reserved ...

Reviews: