background image

Operating instructions

Remote I/O module 16 DI

ModbusTCP

IP65 / IP66 / IP67

AL4142

11489162 / 01   04 / 2023

GB

Summary of Contents for AL4142

Page 1: ...Operating instructions Remote I O module 16 DI ModbusTCP IP65 IP66 IP67 AL4142 11489162 01 04 2023 GB...

Page 2: ...14 6 Electrical connection 15 6 1 Overview 15 6 2 General wiring information 15 6 2 1 Connection technology 15 6 3 Ethernet 16 6 4 Process connections 16 6 5 Voltage supply 16 6 5 1 Derating behaviou...

Page 3: ...ling counter modules 38 9 2 4 4 Reading status and diagnostic information 38 9 2 5 Update firmware 39 9 3 ModbusTCP 40 9 3 1 Integrating a device into a Modbus TCP project 40 9 3 1 1 Example Integrati...

Page 4: ...r pages are the property of the respective rights owners 1 2 Symbols used Requirement Instructions Reaction result Designation of keys buttons or indications Cross reference Important note Non complia...

Page 5: ...Remote I O module 16 DI AL4142 5 1 5 Change history Issue Subject Date 00 New creation of the document 11 2022 01 Corrected Chapter DI Channel Mapping 550 57 04 2023...

Page 6: ...vironmental conditions without any restrictions Only use the product for its intended purpose Intended use If the operating instructions or the technical data are not adhered to personal injury and or...

Page 7: ...ule 16 DI AL4142 7 3 Intended use The device may only be used for the following purposes Gateway between digital sensors and a higher level control system The device is designed for use outside of a c...

Page 8: ...IoT Core IoT Core Visualizer ModbusTCP Projection software 4 3 Inputs The device has 8 ports Each port has 2 digital inputs 4 3 1 Sensor supply The device has a total of 8 sensor supplies 1 sensor su...

Page 9: ...bounce time 2 Cycle time 4 4 2 Stretching The filter stretches short input pulses Level changes that occur during a stretching period are ignored The filter is configured via the following parameters...

Page 10: ...d by a threshold value If the value range of the main counter is exceeded or not reached an overflow or underflow signal is sent to the batch counter Batch counter The batch counter counts the overflo...

Page 11: ...m CT 1 At the same time the value of the batch counter is set to the threshold value CTb 1 b CTb 1 If the counter module detects a positive edge at pin 4 of the port the value of the main counter is d...

Page 12: ...ue of the batch counter is b 0 The main counter has a threshold value CT The batch counter has a threshold value CTb The user can determine the counting direction The counter module initially operates...

Page 13: ...Remote I O module 16 DI AL4142 13 Device profile Modbus TCP Server message mode 2 port switch for access to Modbus TCP interface XF1 XF2...

Page 14: ...ounting lugs lug 5 2 Install device u Disconnect the power of the machine before installation u Use a flat mounting surface for installation u Please observe the maximum tightening torque Fasten the d...

Page 15: ...c discharge ESD u Please observe the required precautions against electrostatic discharge The circuits are insulated from each other and from touchable surfaces of the device with basic insulation acc...

Page 16: ...ons The total current supply of the ports X1 X8 is limited to 3 6 A The ports feature short circuit overload detection u Connect the sensors to ports X1 X8 u For connection use M12 connectors with at...

Page 17: ...LV u For connection use an L coded M12 connector with at least protection rating IP65 IP66 IP67 u Tighten the cable sockets according to the torque specifications indicated by the cable manufacturer M...

Page 18: ...ent IUS daisy chain taken from port XD2 for the supply of further devices Formula IUSmax XD1 IUS X1 X8 IUS daisy chain XD2 The less current is consumed at ports X1 X8 the more current will be availabl...

Page 19: ...alling service initiated via fieldbus Flashes 5 Hz Error Flashes 200 ms on 800 ms off Firmware update running On OK red On Error during firmware update e g firmware not compatible ERR Error indication...

Page 20: ...LED Description Colour State Description US Voltage supply sta tus Off No supply voltage is applied or the applied supply voltage is too low Green On Supply voltage applied red On Overvoltage undervol...

Page 21: ...ll the unit correctly u Establish a correct electrical connection with the device w Once connected to the supply voltage the unit will start w The LEDs show status and error conditions w The unit is r...

Page 22: ...ed for operation w Parameter setting software can be used for parameter setting of the device 9 1 2 Getting started Requirements The parameter setting software is correctly installed on the laptop PC...

Page 23: ...ss MAC address of the Ethernet inter face e g 00 02 01 0E 10 7F ro 2 hostname Name of the device in the Mod busTCP network e g al4x4x ro 2 connectiontimeout Set timeout for interruption of the fieldbu...

Page 24: ...ased Word Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 n X8 pin 2 X7 pin 2 X6 pin 2 X5 pin 2 X4 pin 2 X3 pin 2 X2 pin 2 X1 pin 2 X8 pin 4 X7 pin 4 X6 pin 4 X5 pin 4 X4 pin 4 X3 pin 4 X2 pin 4 X1 pin 4 Po...

Page 25: ...IGH default rw 1 pin4 invert Pin 4 Inversion 0 do not invert default 1 invert rw 1 1 The parameter can only be changed if no connection to the fieldbus controller is active u Select the menu option io...

Page 26: ...cription Value range Access mode Operating mode of the counter mod ule CTU up counter up counter default CTD down counter Down counter CTUD up counter down counter up and down counter CTDIR direction...

Page 27: ...y be changed if no connection to the fieldbus controller is active 2 only effective if operating mode of counter module CTDIR Requirements The parameter setting software has been started The detailed...

Page 28: ...formation of the device 9 1 12 Gateway Reading status and diagnostic information Available information Parameter Description Value range Access temperature Temperature of the device value in C 30 80 r...

Page 29: ...ed The detailed view of the device is active u Select the Firmware menu w The menu page displays the firmware version of the device 9 1 15 Firmware Resetting the device Requirements The parameter sett...

Page 30: ...net interface of the device Ethernet interface has been configured correctly u Go to the following URL http ip address e g http 192 168 0 10 w The web browser displays the start page of the IoT Core V...

Page 31: ...searched for identifier Name of the element profile Element profile type Type of the element Requirements IoT Core Visualizer has been launched Menu Elements is active u Select the search criteria for...

Page 32: ...anges to the byteswap data point will only take effect after the device has been restarted Available parameters Name Description Value range Access network dhcp Status of the DHCP client Static IP Sta...

Page 33: ...ngement of the digital inputs The arrangement of the digital input channels in Modbus registers 0 400 and 401 is adjustable Available options Pin based Word Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 n...

Page 34: ...1 milisec onds 0 0 ms default 500 50 ms rw 1 pin4 hold_time Pin 4 Hold time value 0 1 milliseconds 0 0 ms default 60000 6000 ms rw 1 pin4 hold_level Pin 4 Hold level low hold LOW high hold HIGH defau...

Page 35: ...with selectable counting direction rw 1 pin2_function Pin 2 function of the port Observe note N C no function default Counter Edge Input 2 counting pulse rising edge Count Direction counting direction...

Page 36: ...information Name Description Value range Access version Firmware version AL4x4x_fw_md_1 4 0 142 ro 1 type Type firmware Firmware type ro 1 1 read only Requirements IoT Core Visualizer has been launch...

Page 37: ...menu page shows the substructures of the device description containing process data w The current process values are displayed u Optional In the header activate the option Polling and set the update i...

Page 38: ...er module reset counter and threshold values to default values inactive no action default active reset rw 1 disable Disable counter module inactive enable counter default active disable counter rw 1 d...

Page 39: ...has been launched The Processdata menu is active u Select the submenu Processdatamaster w Menu page shows status and diagnostic information 9 2 5 Update firmware The Update menu page allows you to upd...

Page 40: ...er Requirements CODESYS project with AC14 DL was created u In the device tree Right click on the node X8 Ethernet w The context menu appears u Select the menu item Add device w A dialogue window appea...

Page 41: ...10 Write Multiple Registers Writing several contiguous registers FC23 0x17 Read Write Multiple Registers Read write several contiguous registers FC43 0x2B Read Device Identification Reading device inf...

Page 42: ...2 and 4 of the ports Port Configuration Digital Inputs 100 163 48 The following parameters can be configured for each digital input channel Inversion Hold level Debounce time Hold time 9 3 5 Configur...

Page 43: ...nal inversion pin 2 pin 4 Signal level pin 2 pin 4 Disable counter module Set the direction Reset overflow underflow event of the main counter Reset overflow underflow event of the batch counter Count...

Page 44: ...Regular Device Identification 0x02 Object ID Name Data type Value range 0x00 Vendor name ASCII string ifm electronic 0x01 Product Code ASCII string AL4142 0x02 Major Minor Revision ASCII string e g 1...

Page 45: ...cable national regulations when it is no longer used 10 1 Cleaning u Disconnect the unit from the voltage supply u Clean the device from dirt using a soft chemically untreated and dry cloth u In case...

Page 46: ...tus 47 7 10 Port X2 Mapping Counter Data and Status 47 11 14 Port X3 Mapping Counter Data and Status 47 15 18 Port X4 Mapping Counter Data and Status 47 19 22 Port X5 Mapping Counter Data and Status 4...

Page 47: ...n Counter Value Current main counter value of the port 2 WORD 0x0000 0000 0 0xFFFF FFFE 4294967294 Batch Counter Value Current batch counter value of the port 1 WORD 0x0000 0 0xFFFE 65534 MCT OV Overf...

Page 48: ...ilter Settings Mapping Filter Settings 49 124 127 Port X4 DI1 Filter Settings Mapping Filter Settings 49 128 131 Port X4 DI2 Filter Settings Mapping Filter Settings 49 132 135 Port X5 DI1 Filter Setti...

Page 49: ...s res res res HL n 2 Debounce Time n 3 Hold Time Legend INV Invert signal inversion 1 BIT 0x0 do not invert default 0x1 invert HL Hold Level Signal level to be maintained 1 BIT 0x0 LOW 0x1 HIGH defaul...

Page 50: ...unter Configuration 51 218 226 Port X3 Counter Configuration Mapping Counter Configuration 51 227 235 Port X4 Counter Configuration Mapping Counter Configuration 51 236 244 Port X5 Counter Configurati...

Page 51: ...nting input 0x0002 Count direction select counting direction 0x0003 Reset Main Batch Counter reset counter module 0x0004 Disable Main Batch Counter disable counter module Counter Direction Select Inst...

Page 52: ...rt X2 Output Counter Mapping Output Counter 53 314 320 Port X3 Output Counter Mapping Output Counter 53 321 327 Port X4 Output Counter Mapping Output Counter 53 328 334 Port X5 Output Counter Mapping...

Page 53: ...Direction Set counting direction valid only for counter mode CTDIR 1 BIT 0x0 up 0x1 down RST MC OV Reset Main Counter Overflow Reset counter event overflow of the main counter 1 BIT 0x0 no action 0x1...

Page 54: ...CT X5 RST CT X4 RST CT X3 RST CT X2 RST CT X1 RST CT Legend DI1 INV Pin 4 signal inversion 1 BIT 0x0 do not invert default 0x1 invert DI2 INV Pin 2 signal inversion 1 BIT 0x0 do not invert default 0x...

Page 55: ...16 DI AL4142 55 11 1 1 6 Byte Swap 500 Register Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 500 Byte Swap Legend Byte Swap Arrangement of the bytes in the data tables 1 WORD 0x0000 Big Endian default 0x...

Page 56: ...11 1 1 7 Connection Timeout 510 Register Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 510 Connection Timeout Legend Connection Timeout Max value for connection timeouts value in milliseconds 1 WORD 20 20...

Page 57: ...in based default 0x1 Port based Mapping pin based Register Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 n X8 Pin 2 X7 Pin 2 X6 Pin 2 X5 Pin 2 X4 Pin 2 X3 Pin 2 X2 Pin 2 X1 Pin 2 X8 Pin 4 X7 Pin 4 X6 Pin...

Page 58: ...module 16 DI 58 11 1 1 9 System Command 600 Register Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 600 Command ID Legend Command ID Identifier of the command 1 WORD 0x0040 Restarting the device 0x0050 Res...

Page 59: ...Power Status Error Status of the voltage supply 1 BIT 0x0 No error 0x1 Error Uptime Time since the last start of the device value in minutes 1 WORD 0x0000 0 min 0xFFFF 65535 min Disconnectio n Counter...

Reviews: