IFM AL4102 Operating Instructions Manual

IFM AL4102 Operating Instructions Manual

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

Advertisement

Quick Links

Operating instructions
GB
Remote I/O module 16 DI
PROFINET
IP65 / IP66 / IP67
AL4102

Advertisement

Table of Contents
loading

Summary of Contents for IFM AL4102

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

    AL4102 Remote I/O module 16 DI Contents Preliminary note .............
  • Page 3 Start the ifm IoT Core Visualizer ........
  • Page 4 AL4102 Remote I/O module 16 DI 11.1.3.9 Service: install..........52 11.1.3.10 Service: querytree .
  • Page 5: Preliminary Note

    Remote I/O module 16 DI AL4102 1 Preliminary note You will find instructions, technical data, approvals and further information using the QR code on the unit / packaging or at www.ifm.com.
  • Page 6: Safety Instructions

    AL4102 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 AL4102 3 Intended use The unit 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 control cabinet.
  • 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 – REST-API – IoT-Core Visualizer •...
  • Page 9: Debouncing

    Remote I/O module 16 DI AL4102 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

    AL4102 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 AL4102 • 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

    AL4102 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 AL4102 • Device profile: PROFINET IO device • Fast Startup (FSU) • Prioritized Startup • Participation in network with activated IRT protocol • System redundancy S2 • Dynamic reconfiguration • Device description: GSD file...
  • Page 14: Installation

    AL4102 Remote I/O module 16 DI 5 Installation 5.1 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. u Fasten the module onto the mounting surface using M5 screws and washers (tightening torque: 1.8...
  • Page 15: Electrical Connection

    PROFINET device). In addition, the device can be connected to an IT network via the Ethernet ports. Via the IT network, the user can access functions of the ifm IoT Core (configuration tools, REST API, IoT Core Visualizer).
  • Page 16: Process Connections

    AL4102 Remote I/O module 16 DI u Connect the device to the PROFINET network via a free Ethernet port. u Optional: Connect the device to the IT network via a free Ethernet port. u For connection, use an M12 connector (with at least protection rating: IP65 / IP66 / IP67).
  • Page 17: Derating Behaviour

    Remote I/O module 16 DI AL4102 1: +24 V DC (US) 2: GND (UA) 3: GND (US) 4: +24 V DC (UA) 5: FE 6.5.1 Derating behaviour The current I available at ports X1...X8 and the currents I and I available at port...
  • Page 18: Voltage Output

    AL4102 Remote I/O module 16 DI Temperature (XD2) (XD1) (X1…X8) (XD2) UA-daisy-chain USmax US-daisy-chain 60 °C 60 °C Explanation: The current I at port XD1 is the sum of the currents I taken from ports X1…X8 and USmax the current I taken from port XD2 for the supply of further devices.
  • Page 19: Operating And Display Elements

    Remote I/O module 16 DI AL4102 7 Operating and display elements 7.1 LEDs status: RDY status: BF status: SF PROFINET: LNK PROFINET: 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: Voltage Supply

    AL4102 Remote I/O module 16 DI Description Colour State Description Status of the con- Green Ethernet connection established nection Status of the data Yellow no data transmission transmission Flashes Data transmission 7.1.3 Voltage supply Description Colour State Description Voltage supply sta-...
  • Page 21: Set-Up

    Remote I/O module 16 DI AL4102 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 PROFINET interface of the device can only be set via DCP-capable parameter setting software, e.g. PROFINET projection software. With the parameter setting software ifm moneo or ifm moneo|configure (SA), the IP parameters of the PROFINET interface can only be set during the network scan. In the editor view of the device, the configuration of the PROFINET interface is read-only.
  • Page 23: Fieldbus: Read The Interface Configuration

    Remote I/O module 16 DI AL4102 9.1.3 Fieldbus: Read the interface configuration u Observe the notes on the configuration of the PROFINET interface: Configure the PROFINET interface (Ò / 22) Available parameters: Name Description Value range Access [ipaddress] IP address of the PROFINET inter- e.g.
  • Page 24: Ports: Read Digital Input Data

    AL4102 Remote I/O module 16 DI Name Description Value range Access [pin2]/[hold_time] Pin 2: hold time (= value * 0.1 ms) • 0: 0 ms (default) … • 60000: 6000 ms [pin2]/[hold_level] Pin 2: hold level • 0: hold LOW • 1: hold HIGH (default)
  • Page 25 Remote I/O module 16 DI AL4102 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 26: Counters: Control Counter Modules

    The menu page displays the current counter values of the main and batch counter. 9.1.10 Gateway: Read identification information Available information: Name Description Value range Access [productcode] Article number AL4102 [devicefamily] Device family Ethernet modules [vendor] Manufacturer ifm electronic gmbh [swrevision] Firmware revision e.g. AL4x0x_fw_pn_v1.4.0.137 [hwrevision] Hardware revision (status) e.g. AA...
  • Page 27: Gateway: Read Status And Diagnostic Information

    Remote I/O module 16 DI AL4102 Name Description Value range Access [bootloaderrevision] Bootloader version e.g. AL4xxx_bl_v1.2.0.35 [serialnumber] Serial number e.g. 0002043100003 [fieldbustype] Fieldbus PROFINET read only Requirements: ü The parameter setting software has been started. ü The detailed view of the device is active.
  • Page 28: Firmware: Read Firmware Version

    AL4102 Remote I/O module 16 DI 9.1.13 Firmware: Read firmware version Available information: Parameter Description Value range Access [version] Firmware version e.g. AL4x0x_fw_pn_1.4.0.137 read only Requirements: ü The parameter setting software has been started. ü The detailed view of the device is active.
  • Page 29: Ifm Iot Core

    9.2.1 ifm IoT Core: General information The device has the ifm IoT Core. The ifm IoT Core represents the functionality of a device. Each device is represented by a number of objects, services and events. The elements of the ifm IoT Core are arranged in a JSON object in a hierarchical tree structure.
  • Page 30 Service to access the data point data req_data Data sent to the ifm IoT Core (e.g. new values); syntax depending on the service optional; only required for services that send data to the ifm IoT Core (e.g. setdata) Syntax of the response:   "cid":id,...
  • Page 31: Getting Started

    Send the following POST request to the ifm IoT Core: {"code":"request", "cid":-1, "adr":"gettree"} w ifm IoT Core returns the device description as a structured JSON object. u Identify all substructures and the data points contained therein in the tree structure of the JSON object.
  • Page 32: Example: Reading Several Elements Sequentially

    AL4102 Remote I/O module 16 DI Solution: Use the service gettree to output the required subtree (root node: firmware, sub-levels to be shown: 1) • Request:   "code":"request",   "cid":4711,   "adr":"gettree",   "data":{"adr":"firmware","level":1} • Response:   "cid":4711,   "data":{     "identifier":"firmware",     "type":"structure",     "profiles":["software","software/uploadablesoftware","devicereset"],     "subs":[       {"identifier":"version","type":"data","profiles": ["parameter"],"profiles":["parameter"],"format": {"type":"string","namespace":"json","encoding":"UTF-8"}},...
  • Page 33: Example: Changing A Parameter Value

    Remote I/O module 16 DI AL4102   "cid":4711,   "data":{     "processdatamaster/temperature":{"code":200,"data":44},     "deviceinfo/serialnumber":{"code":200,"data":"000174210147"}},   "adr":/getdatamulti",   "code":200 9.2.3.3 Example: Changing a parameter value Task: The Application Tag parameter of the device is to be written with the value “Do not use”. The new value is only supposed to be valid until the next reboot of the device.
  • Page 34: Ports: Configure Input Filters

    AL4102 Remote I/O module 16 DI 9.2.5 Ports: Configure input filters u Observe the notes on input filters: Digital input filters (Ò / 8) Substructure: io/port[n] (n: 1…8) Available data points: Name Description Values Access ../pin2/debounce_time Pin 2: debounce time (= value * 0.1 ms) •...
  • Page 35: Counters: Control Counters

    Remote I/O module 16 DI AL4102 [pin2_function] [count_direction_selection] Reset main Disable main [mode] Counting Counting di- Fieldbus No function and batch and batch Pin 2 pulse rection counter counter           ...
  • Page 36: Gateway: Setting The Application Tag

    Description Values Access ../applicationtag Device name in ifm moneo e.g. “factory 2 plant 1” read and write 32 bytes are available on the device for storing the applicationtag parameter. If the memory range is exceeded, the device will abort the write process (diagnostic code 400).
  • Page 37: Gateway: Read Status And Diagnostic Information

    Applicable services: Name Description ../install Install firmware ../container/stream_set Transfer an individual data segment ../container/start_stream_set Start sequential transmission of several data segments ifm recommends using the IoT Core Visualizer (Ò IoT-Core Visualizer / 38) to update the firmware.
  • Page 38: Iot-Core Visualizer

    AL4102 Remote I/O module 16 DI 9.2.14 IoT-Core Visualizer The IoT Core Visualizer provides a graphical user interface to access the functions of the ifm IoT Core. 9.2.14.1 Start the ifm IoT Core Visualizer Requirements: ü The PC is connected to the Ethernet interface of the device.
  • Page 39: Configure The Device

    9.2.14.3 Configure the device The [Parameter] menu page allows you to configure the device. Requirements: ü The ifm IoT Core Visualizer has been started. u Click on [Parameter]. w The menu page displays the available parameters of the device. w Current parameter values are displayed.
  • Page 40 AL4102 Remote I/O module 16 DI w The area shows the progress of the update process. w After successful update: The device reboots automatically.
  • Page 41: Profinet

    9.3 PROFINET 9.3.1 Install the GSD file To map the device in a PROFINET projection software, ifm provides an GSD file. The device description file contains identification information, supported parameters and process data. The user can download the GSD file via documentation.ifm.com.
  • Page 42: Use Isochronous Realtime (Irt)

    AL4102 Remote I/O module 16 DI 9.3.2.3 Use Isochronous Realtime (IRT) The unit supports participation in a network with activated IRT protocol. 9.3.3 Configure the device The device is configured via slot 0, subslot X1. The module [PN-IO] is permanently assigned to the slot.
  • Page 43: Configure Input Filters

    Remote I/O module 16 DI AL4102 u Open the [Device view]. w The [Device overview] tab displays the device structure. u Click on the module [PN_IO] (slot 1, subslot X1). w The [General] tab displays general configuration options. u Select [Advanced options] > [X21 [X1 P1 R]] > [Port options].
  • Page 44: Configure Counter Modules

    AL4102 Remote I/O module 16 DI w The filters of the digital inputs are configured. w The changed configuration will be activated the next time the application is downloaded to the device. 9.3.5 Configure counter modules u Observe the notes on counter modules: Counters (Ò / 10) The counter modules are configured via the module [Counter Module] and its submodules: •...
  • Page 45: Read Process Data Of The Ports

    Remote I/O module 16 DI AL4102 w The counter submodule is assigned to the port. u Click on the subslot with the assigned counter submodule. w The [Properties] view appears. w The [Properties] tab shows the properties of the counter submodule.
  • Page 46: Acyclic Access

    AL4102 Remote I/O module 16 DI • Submodule: CTUD (Ò / 63) • Submodule: CTDIR (Ò / 64) To control the counter modules: Requirements: ü Device is integrated in PROFINET project. ü The counter submodules are configured. ü The IEC addresses of the cyclic process data are linked to variables.
  • Page 47: Use I&M Data Records

    Remote I/O module 16 DI AL4102 Bytes Content Description 24…25 Alarm Specifier Alarm • 0x0000: fixed 26…27 Format Identifier Identification of the format • 0x8320: user-specific structure 28…29 Channel Number Channel number • 0x8000: whole device 30…31 reserved Reserved 32…33...
  • Page 48: Maintenance, Repair And Disposal

    AL4102 Remote I/O module 16 DI 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 49: Appendix

    Remote I/O module 16 DI AL4102 11 Appendix 11.1 ifm IoT Core 11.1.1 Profiles Profile Description blob Binary Large Object deviceinfo Identification information of a device devicetag Device-specific identification devicereset Restart and reset to factory settings network Network parameter Parameter processdata Process data...
  • Page 50: Service: Getblobdata

    AL4102 Remote I/O module 16 DI Mandatory Parameter Data type Description field batchcounter_value Optional Batch counter target value Return (“data” field): none 11.1.3.3 Service: getblobdata Name: getblobdata Description: The service reads a Binary Large Object (blob). Request (“data“ field): Mandatory Data field...
  • Page 51: Service: Getelementinfo

    Remote I/O module 16 DI AL4102 11.1.3.6 Service: getelementinfo Name: getelementinfo Description: The service reads the properties of an element of the IoT tree. Request ("data" field): Mandatory Parameter Data type Description field mandatory STRING URL of the element whose proerties are to be changed Return ("data"...
  • Page 52: Service: Install

    AL4102 Remote I/O module 16 DI Request (“data” field): Mandatory Parameter Data type Description field Optional STRING Root element of the subtree level Optional STRING Max. level up to which the subtree is output • no entry: all levels will be displayed •...
  • Page 53: Service: Reboot

    Remote I/O module 16 DI AL4102 11.1.3.11 Service: reboot Name: reboot Description: The service reboots the device. Request ("data" field): none Return ("data" field): none 11.1.3.12 Service: setblock Name: setblock Description: The service simultaneously sets the values of several data points of a structure.
  • Page 54: Service: Stream_Set

    AL4102 Remote I/O module 16 DI 11.1.3.16 Service: stream_set Name: stream_set Description: The service transfers a data segment. Request ("data" field): Mandatory Parameter Data type Description field value mandatory Segment of the binary data (BASE64-coded) (BASE64) Return ("data" field): none...
  • Page 55: Profinet

    Remote I/O module 16 DI AL4102 11.2 PROFINET 11.2.1 Parameters 11.2.1.1 Modules: 8x2DI + Qualifier Parameter Description Values Access Debounce Time Debounce time (value * 0.1 ms) • 0: 0 ms (default) … • 500: 50 ms Hold time Hold time (value * 0.1 ms) • 0: 0 ms (default) …...
  • Page 56: Modules: Counter Module

    AL4102 Remote I/O module 16 DI 11.2.1.2 Modules: Counter module Submodule: CTU Parameter Description Values Access Enable Main counter Notifications for main counter • : disable event • : enable (default) Enable Main counter Notifications for batch counter • : disable event •...
  • Page 57 Remote I/O module 16 DI AL4102 Submodule: CTD Parameter Description Values Access Enable Main counter Notifications for main counter • : disable event • : enable (default) Enable Main counter Notifications for batch counter • : disable event • : enable (default)
  • Page 58 AL4102 Remote I/O module 16 DI Submodule: CTUD Parameter Description Values Access Enable Main counter Notifications for main counter • : disable event • : enable (default) Enable Main counter Notifications for batch counter • : disable event • : enable (default)
  • Page 59 Remote I/O module 16 DI AL4102 Submodule: CTDIR Parameter Description Values Access Enable Main counter Notifications for main counter • : disable event • : enable (default) Enable Main counter Notifications for batch counter • : disable event • : enable (default)
  • Page 60: Cyclic Data

    AL4102 Remote I/O module 16 DI 11.2.2 Cyclic data 11.2.2.1 Modules: 8x2DI + Qualifier Input data: 4 bytes Byte (off- set) X4 (pin 2): X4 (pin 4): X3 (pin 2): X3 (pin 4): X2 (pin 2): X2 (pin 4): X1 (pin 2):...
  • Page 61: Submodule: Ctu

    Remote I/O module 16 DI AL4102 11.2.2.2 Submodule: CTU Input data: 6 bytes Byte (off- set) 0…3 Main Counter Value 4…5 Batch Counter Value Legend: • Main Counter Value Current main counter value UINT32 • 0x00000000: 0 Main Counter Value = 0x12345678 …...
  • Page 62: Submodule: Ctd

    AL4102 Remote I/O module 16 DI 11.2.2.3 Submodule: CTD Input data: 6 bytes Byte (off- set) 0…3 Main Counter Value 4…5 Batch Counter Value Legend: • Main Counter Value Current main counter value UINT32 • 0x00000000: 0 Main Counter Value = 0x12345678 …...
  • Page 63: Submodule: Ctud

    Remote I/O module 16 DI AL4102 11.2.2.4 Submodule: CTUD Input data: 6 bytes Byte (off- set) 0…3 Main Counter Value 4…5 Batch Counter Value Legend: • Main Counter Value Current main counter value UINT32 • 0x00000000: 0 Main Counter Value = 0x12345678 …...
  • Page 64: Submodule: Ctdir

    AL4102 Remote I/O module 16 DI 11.2.2.5 Submodule: CTDIR Input data: 6 bytes Byte (off- set) 0…3 Main Counter Value 4…5 Batch Counter Value Legend: • Main Counter Value Current main counter value UINT32 • 0x00000000: 0 Main Counter Value = 0x12345678 …...
  • Page 65: Acyclical Data

    Remote I/O module 16 DI AL4102 11.2.3 Acyclical data 11.2.3.1 Data record: Filter configuration Index Port Per index: Byte (off- set) 0…1 Debounce Time 2…3 Hold Time res. res. res. res. res. res. Hold Level Input Invert- Legend: • Debounce Time Debounce time (= value * 0.1 ms) UINT16 / rc •...
  • Page 66: Data Record: Counter Configuration

    AL4102 Remote I/O module 16 DI 11.2.3.2 Data record: Counter configuration Index: 500 Byte (off- set) Counter mode Reserved Batch Event Main Event Count directionData record: Counter configuration enable enable (Ò / 66) | Pin 2 function / Count directionData record: Counter configuration (Ò / 66) 2..5...
  • Page 67: Data Record: Counter Values

    Remote I/O module 16 DI AL4102 11.2.3.3 Data record: Counter values Index: 501 Byte (off- set) 0…3 Main Counter value 4…5 Batch Counter value Legend: • Main Counter value Counter value of the main counter UINT32 / rw 0x00000000: 0 …...
  • Page 68: I&M Data

    AL4102 Remote I/O module 16 DI 11.2.3.4 I&M data I&M0 Index: 0xAFF0 Variable Description Value Bytes MANUFACTURER_ID Manufacturer ID 0x136 ORDER_ID Order ID (ASCII, separated by spaces) AL4xx2 SERIAL_NUMBER Serial number (ASCII, separated by spaces) HARDWARE_REVISION Hardware revision e.g. AA SOFTWARE_REVISION Software revision e.g.
  • Page 69 Remote I/O module 16 DI AL4102 I&M0 filter Index: 0xAFF4 Variable Description Value Bytes API of the submodule SLOT Slot of the submodule SUBSLOT Subslot of the submodule FLAGS Flags: • 0x01: submodule has own I&M data • 0x02: I&M data of the submodule represent I&M data of the module •...

Table of Contents