IFM AL4143 Operating Instructions Manual
IFM AL4143 Operating Instructions Manual

IFM AL4143 Operating Instructions Manual

Remote i/o module 16 di modbustcp ip65 / ip66 / ip67 / ip69k
Table of Contents

Advertisement

Quick Links

Operating instructions
GB
Remote I/O module 16 DI
ModbusTCP
IP65 / IP66 / IP67 / IP69K
AL4143

Advertisement

Table of Contents
loading

Summary of Contents for IFM AL4143

  • Page 1 Operating instructions Remote I/O module 16 DI ModbusTCP IP65 / IP66 / IP67 / IP69K AL4143...
  • Page 2: Table Of Contents

    AL4143 Remote I/O module 16 DI Contents Preliminary note .............
  • Page 3 Starting the ifm IoT Core Visualizer........
  • Page 4: Preliminary Note

    / packaging or at documentation.ifm.com. 1.1 Legal and copyright information © All rights reserved by ifm electronic gmbh. No part of these instructions may be reproduced and used without the consent of ifm electronic gmbh. All product names, pictures, companies or other brands used on our pages are the property of the respective rights owners.
  • Page 5: Change History

    Remote I/O module 16 DI AL4143 1.5 Change history Issue Subject Date New creation of the document 11 / 2022 • Corrected: Chapter DI Channel Mapping (550) (Ò / 57) 04 / 2023...
  • Page 6: Safety Instructions

    AL4143 Remote I/O module 16 DI 2 Safety instructions • The unit described is a subcomponent for integration into a system. – The system architect is responsible for the safety of the system. – The system architect undertakes to perform a risk assessment and to create documentation in accordance with legal and normative requirements to be provided to the operator and user of the system.
  • Page 7: Intended Use

    Remote I/O module 16 DI AL4143 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 without a control cabinet in the food industry.
  • Page 8: Function

    Status, error and short circuit/overload indication of the sensor ports 4.2 Parameter setting The device can be configured using the following options: • Parameter setting software – ifm moneo – ifm moneo|configure SA • ifm IoT Core – IoT-Core Visualizer • ModbusTCP –...
  • Page 9: Debouncing

    Remote I/O module 16 DI AL4143 Periodic signals are only detected reliably if the signal period is at least twice as long as the cycle time. 4.4.1 Debouncing The filter suppresses noise signals. The filter provides the input signals at the filter output with a delay (debounce time).
  • Page 10: Inverting

    AL4143 Remote I/O module 16 DI 4.4.3 Inverting The filter inverts signals. 4.4.4 Filter combination The filters can be combined. Example: All 3 filters are activated Time diagram: 1: Cycle time Digital input Digitaleingang Filter Debounce Filter Entprellen Filter Hold Filter Halten...
  • Page 11: Counter Mode Ctd

    Remote I/O module 16 DI AL4143 • If the counter module detects a positive edge at pin 4 of the port, the value of the main counter is incremented (m = m+1). • If the main counter reaches the threshold value CT (m = CT), the counter value is reset (m = 0).
  • Page 12: Counter Mode Ctdir

    AL4143 Remote I/O module 16 DI • If the counter module simultaneously detects a positive edge at pin 4 and pin 2 of the port, the counter value of the main counter does not change. • If the main counter reaches the threshold value CT (m = CT), the counter value is reset (m = 0).
  • Page 13 Remote I/O module 16 DI AL4143 • Device profile: Modbus TCP Server (message mode) • 2-port switch for access to Modbus TCP interface (XF1 / XF2)
  • Page 14: Installation

    AL4143 Remote I/O module 16 DI 5 Installation 5.1 Overview Upper mounting lug Lower mounting 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.
  • Page 15: Electrical Connection

    Remote I/O module 16 DI AL4143 6 Electrical connection 6.1 Overview XF1: Ethernet 1 (ModbusTCP) XF2: Ethernet 2 (ModbusTCP) XD1: Power IN XD2: Power OUT Process connection 1 (sensor) Process connection 2 (sensor) Process connection 3 (sensor) Process connection 4 (sensor) Process connection 5 (sensor)
  • Page 16: Ethernet

    ModbusTCP control, additional ModbusTCP device). In addition, the device can be connected to an IT network via the Ethernet ports. The user can access functions of the ifm IoT Core via the IT network (parameter setting software, IoT Core Visualizer).
  • Page 17: Derating Behaviour

    Remote I/O module 16 DI AL4143 CAUTION Exceeding the maximum input current of 16 A w Risk of fire and I of the supply voltages US and UA accordingly, taking into account the derating behaviour of the device: Derating behaviour (Ò / 17) u Disconnect power.
  • Page 18: Derating With Daisy Chain

    AL4143 Remote I/O module 16 DI 6.5.1.2 Derating with daisy chain 2000 m 2000 m 3000 m 3000 m 4000 m 4000 m -40 -30 -20 -10 0 10 20 30 40 50 60 70 -40 -30 -20 -10 0 10 20 30 40 50 60 70 Temperature [°C]...
  • Page 19: Operating And Display Elements

    Remote I/O module 16 DI AL4143 7 Operating and display elements 7.1 LEDs status: RDY status: ERR status: RUN Modbus TCP: LNK Modbus TCP: ACT Process connection: DI1 Process connection: DI2 Voltage supply: US 7.1.1 Status Description Colour State Description Gateway status Not active or reboots Green Flashes 3 s (1 Hz) DCP signalling service initiated via fieldbus...
  • Page 20: Ethernet

    AL4143 Remote I/O module 16 DI 7.1.2 Ethernet Description Colour State Description Status of the connection Green No Ethernet connection Ethernet connection established Status of the data transmis- Yellow No data transmission sion flashes Data transmission 7.1.3 Voltage supply Description Colour State...
  • Page 21: Set-Up

    Remote I/O module 16 DI AL4143 8 Set-up u Install 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.
  • Page 22: Settings

    The device can be configured with the following parameter setting software: • ifm moneo • ifm moneo|configure SA u Install the desired parameter setting software. u Activate the licences required for operation. w Parameter setting software can be used for parameter setting of the device.
  • Page 23: Fieldbus: Configuring A Modbustcp Interface

    Remote I/O module 16 DI AL4143 9.1.3 Fieldbus: Configuring a ModbusTCP interface Changes to the [byteswap] parameters will only take effect after the device has been restarted. Available parameters: Name Description Value range Access [dhcp] Status of the DHCP client of the de- •...
  • Page 24: Ports: Setting The Arrangement Of The Digital Inputs

    AL4143 Remote I/O module 16 DI Name Description Value range Access [connectionstatus] Status of the ModbusTCP connection • Disconnected: Not connected • Connected: Connected [disconnectioncounter] Connection interruption counter • 0: no interruption … • 65535: 65535 interruptions [fieldbusfirmware] Firmware version of the ModbusTCP e.g.
  • Page 25: Ports: Configuring Input Filters

    Remote I/O module 16 DI AL4143 9.1.6 Ports: Configuring input filters u Observe the notes on input filters: Digital input filters (Ò / 8) Available parameters: Name Description Value range Access [pin2]/[debounce_time] Pin 2: debounce time (= value * • 0: 0 ms (default) 0.1 ms)
  • Page 26: Counter: Configuring Counter Modules

    AL4143 Remote I/O module 16 DI The displayed process values are the filtered input data. 9.1.8 Counter: Configuring counter modules u Observe the notes on counter modules: Counter (Ò / 10) If the operating mode of a counter module is changed, the current counter values will be reset and any active events will be deleted.
  • Page 27: Counter: Controlling Counter Modules

    Remote I/O module 16 DI AL4143 u Select menu [io] > [counter[n]] (n: 1…8). w The menu page displays the configuration options of the counter. u Configure the counter module. u Optional: Configure additional counter modules. u Write the changed values to the device.
  • Page 28: Gateway: Reading Identification Information

    Name Description Value range Access [productcode] Article number AL4143 [devicefamily] Device family Ethernet modules [vendor] Manufacturer ifm electronic gmbh [swrevision] Firmware revision e.g. AL4x4x_fw_md_1.4.0.142 [hwrevision] Hardware revision (status) e.g. AA [bootloaderrevision] Bootloader version e.g. AL4xxx_bl_1.4.0.39 [serialnumber] Serial number e.g. 0002043100003...
  • Page 29: Firmware: Reading The Firmware Version

    Remote I/O module 16 DI AL4143 ü The detailed view of the device is active. u Select [devicetag] menu. u Enter the application identifier. u Write the changed values to the device. w The device can be identified by the selected application tag.
  • Page 30: Iot-Core Visualizer

    AL4143 Remote I/O module 16 DI 9.2 IoT-Core Visualizer The IoT Core Visualizer provides a graphical user interface to access the functions of the ifm IoT Core. 9.2.1 Starting the ifm IoT Core Visualizer Requirements: ü The PC is connected to the Ethernet interface of the device.
  • Page 31: Searching Elements Of The Iot Core

    Remote I/O module 16 DI AL4143 9.2.2 Searching elements of the IoT Core The [Elements] menu page allows you to search the IoT core tree for elements with specific properties and output the results. The following properties can be searched for: •...
  • Page 32: Configuring The Device

    AL4143 Remote I/O module 16 DI 9.2.3 Configuring the device The [Parameters] menu page provides access to the configuration options of the device. The configuration created via the IoT Core Visualizer is overwritten when a connection is established between the device and the ModbusTCP PLC.
  • Page 33: Setting The Arrangement Of The Digital Inputs

    Remote I/O module 16 DI AL4143 Name Description Value range Access [configuration] > [connection- Set timeout for interruption of the fieldbus • 20: 2 ms timeout] connection (value in milliseconds) … • 31000: 31000 ms … • 60000: 60000 ms [configuration] >...
  • Page 34: Configuring Input Filters

    AL4143 Remote I/O module 16 DI u Click on  to save the changes to the device. w The arrangement of the digital input channels is configured. 9.2.3.3 Configuring input filters u Observe the notes on input filters: Digital input filters (Ò / 8)
  • Page 35 Remote I/O module 16 DI AL4143 For the parameters [pin2_function] and [count_direction_selection] all shown parameter values can be selected. It is not checked whether these make sense. For each counter operating mode (parameter [mode]), the table below indicates the valid value ranges (: valid setting; : invalid setting):...
  • Page 36: Reading Device Information

    AL4143 Remote I/O module 16 DI 9.2.3.5 Reading device information Available information: Name Description Value range Access [productcode] Article number AL4143 [vendor] Manufacturer ifm electronic [devicefamily] Device family Ethernet modules [serialnumber] Serial number (12 digits) e.g. 000174210161 [hwrevision] Hardware revision e.g. AA...
  • Page 37: Accessing Process Data

    Remote I/O module 16 DI AL4143 ü The [Parameter] menu is active. u Select the [Devicetag] submenu. w The menu page shows the current settings. u Enter the application identifier. u Click on  to save the changes to the device.
  • Page 38: Reading Counter Values

    AL4143 Remote I/O module 16 DI ü IoT Core Visualizer has been launched. ü The [Processdata] menu is active. u Select the [io] > [port[n]] submenu (n: 1...8). w Menu page shows the digital input data of the port. 9.2.4.2 Reading counter values...
  • Page 39: Update Firmware

    Remote I/O module 16 DI AL4143 Name Description Value range Access [voltage_us] current voltage value of the device supply e.g. 25236: 25236 mV US (value in millivolts) [current_us] current value of the device supply US e.g. 82: 82 mA (value in milliamps)
  • Page 40: Modbustcp

    Select the menu item [Add device…]. w A dialogue window appears. u Select the device profile [Modbus_TCP_Slave]. u Enter AL4143 as the name. u Click on [Add device]. w CODESYS adds the device to the project as a sub-node of [Modbus TCP Master].
  • Page 41: Device-Specific Notes

    Remote I/O module 16 DI AL4143 9.3.2 Device-specific notes 9.3.2.1 Rules for accessing the Modbus register The following rules apply for access to the Modbus registers: u To read or write Modbus registers, use only the valid Function Codes (Ò Supported function codes / 41).
  • Page 42: Configuring The Device

    AL4143 Remote I/O module 16 DI The following exception codes are available: Exception Name Description code ILLEGAL FUNCTION Invalid Function Code (Modbus function not implemented) ILLEGAL DATA ADDRESS Invalid data address (invalid address or length) ILLEGAL DATA VALUE Invalid data value (invalid parameters; wrong number of registers)
  • Page 43: Controlling Counter Modules

    Remote I/O module 16 DI AL4143 • Overflow and underflow events of the main counter and batch counter 9.3.7 Controlling counter modules The register range 300...355 provides access to the control signals of the individual counter modules: Port Output - Counter (300 - 355) (Ò / 52) There is a separate register area for each counter module.
  • Page 44 AL4143 Remote I/O module 16 DI Object ID Name Data type Value range 0x00 Vendor name ASCII string ifm electronic 0x01 Product Code ASCII string AL4143 0x02 Major Minor Revision ASCII string e.g. 1,001 • Regular Device Identification (0x02): Object ID...
  • Page 45: Maintenance, Repair And Disposal

    Remote I/O module 16 DI AL4143 10 Maintenance, repair and disposal The operation of the unit is maintenance-free. u Dispose of the device in an environmentally friendly way in accordance with the applicable national regulations when it is no longer used.
  • Page 46: Appendix

    AL4143 Remote I/O module 16 DI 11 Appendix 11.1 ModbusTCP 11.1.1 Register 11.1.1.1 Input data (0 - 34) Register DI 1 DI 1 DI 1 DI 1 DI 1 DI 1 DI 1 DI 1 3…6 Port X1: Mapping: Counter Data and Status (Ò / 47) 7…10...
  • Page 47 Remote I/O module 16 DI AL4143 Mapping: Counter Data and Status Register Main Counter Value (Word 0) Main Counter Value (Word 1) Batch Counter Value res. res. res. res. res. res. res. res. res. res. res. res. Legend: • Main Counter Value Current main counter value of the port 2 WORD •...
  • Page 48: Port Configuration - Digital Inputs (100 - 163)

    AL4143 Remote I/O module 16 DI 11.1.1.2 Port Configuration - Digital Inputs (100 - 163) Register 100…103 Port X1 - DI1: Filter Settings (Ò Mapping: Filter Settings / 49) 104…107 Port X1 - DI2: Filter Settings (Ò Mapping: Filter Settings / 49) 108…111 Port X2 - DI1: Filter Settings (Ò...
  • Page 49 Remote I/O module 16 DI AL4143 Mapping: Filter Settings Word (Offset) reserved res. res. res. res. res. res. res. reserved res. res. res. res. res. res. res. Debounce Time Hold Time Legend: • INV Invert: signal inversion 1 BIT • 0x0: do not invert (default) •...
  • Page 50: Port Configuration - Counter (200 - 271)

    AL4143 Remote I/O module 16 DI 11.1.1.3 Port Configuration - Counter (200 - 271) Register 200…208 Port X1 : Counter Configuration (Ò Mapping: Counter Configuration / 51) 209…217 Port X2 : Counter Configuration (Ò Mapping: Counter Configuration / 51) 218…226 Port X3 : Counter Configuration (Ò...
  • Page 51 Remote I/O module 16 DI AL4143 Mapping: Counter Configuration Register Counter Mode Pin 2 Function Counter Direction Select Main Threshold (Word 0) Main Threshold (Word 1) Batch Threshold Force Main Counter (Word 0) Force Main Counter (Word 1) Force Batch Counter Legend: •...
  • Page 52: Port Output - Counter (300 - 355)

    AL4143 Remote I/O module 16 DI 11.1.1.4 Port Output - Counter (300 - 355) Register 300…306 Port X1: Output Counter (Ò Mapping: Output Counter / 53) 307…313 Port X2: Output Counter (Ò Mapping: Output Counter / 53) 314…320 Port X3: Output Counter (Ò Mapping: Output Counter / 53) 321…327...
  • Page 53 Remote I/O module 16 DI AL4143 Mapping: Output Counter Register reserved res. res. res. res. res. res. res. reserved res. res. res. res. res. res. res. reserved res. res. res. res. res. res. res. reserved res. res. res. res. res.
  • Page 54: Block Configuration (400 - 408)

    AL4143 Remote I/O module 16 DI 11.1.1.5 Block Configuration (400 - 408) Register reserved reserved reserved reserved reserved reserved reserved Legend: • DI1 INV Pin 4: signal inversion 1 BIT • 0x0: do not invert (default) • 0x1: invert • DI2 INV...
  • Page 55: Byte Swap (500)

    Remote I/O module 16 DI AL4143 11.1.1.6 Byte Swap (500) Register Byte Swap Legend: • Byte Swap Arrangement of the bytes in the data tables 1 WORD • 0x0000: Big Endian (default) • 0xFFFF: Little Endian...
  • Page 56: Connection Timeout (510)

    AL4143 Remote I/O module 16 DI 11.1.1.7 Connection Timeout (510) Register Connection Timeout Legend: • Connection Timeout Max. value for connection timeouts 1 WORD • 20: 20 ms (value in milliseconds) … • 30000: 30 s (default) … • 60000: 60 s...
  • Page 57: Di Channel Mapping (550)

    Remote I/O module 16 DI AL4143 11.1.1.8 DI Channel Mapping (550) Register reserved res. res. res. res. res. res. res. Legend: • DICO DI Channel Order: Arrangement of the 1 BIT • 0x0: Pin-based (default) process data in registers 0, 400 and 401 •...
  • Page 58: System Command (600)

    AL4143 Remote I/O module 16 DI 11.1.1.9 System Command (600) Register Command ID Legend: • Command ID Identifier of the command 1 WORD • 0x0040: Restarting the device • 0x0050: Resetting the device...
  • Page 59: Diagnostic Data (2000 - 2002)

    Remote I/O module 16 DI AL4143 11.1.1.10 Diagnostic Data (2000 - 2002) Register 2000 reserved res. res. res. res. res. res. res. 2001 Uptime 2002 Disconnection Counter Legend: • PSE Power Status Error: Status of the voltage supply 1 BIT • 0x0: No error •...

Table of Contents