IFM AL4002 Operating Instructions Manual

IFM AL4002 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
AL4002

Advertisement

Table of Contents
loading

Summary of Contents for IFM AL4002

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

    IoT Core ........
  • Page 3 Start the ifm IoT Core Visualizer ........
  • Page 4 AL4002 Remote I/O module 16 DI 11.1.3.12 Service: setblock ..........52 11.1.3.13 Service: setdata .
  • Page 5: Preliminary Note

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

    AL4002 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 AL4002 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 AL4002 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

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

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

    AL4002 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

    AL4002 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 AL4002 6.5.1 Derating behaviour The current IUS available at ports X01...X08 depends on the ambient temperature of the device. 2000 m 3000 m 4000 m -40 -30 -20 -10 0 10 20 30 40 50 60 70 Temperature [°C]...
  • Page 18: Operating And Display Elements

    AL4002 Remote I/O module 16 DI 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 19: Voltage Supply

    Remote I/O module 16 DI AL4002 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 20: Set-Up

    AL4002 Remote I/O module 16 DI 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 21: 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 22: Fieldbus: Read The Interface Configuration

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

    Remote I/O module 16 DI AL4002 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 24 AL4002 Remote I/O module 16 DI 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 25: Counters: Read Counter Values

    Selected actions are executed. 9.1.10 Gateway: Read identification information Available information: Name Description Value range Access [productcode] Article number AL4002 [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 26: Gateway: Read Status And Diagnostic Information

    AL4002 Remote I/O module 16 DI 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 27: Firmware: Read Firmware Version

    Remote I/O module 16 DI AL4002 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 28: 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 29 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 30: 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 31: Example: Reading Several Elements Sequentially

    Remote I/O module 16 DI AL4002 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 32: Example: Changing A Parameter Value

    AL4002 Remote I/O module 16 DI   "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 33: Ports: Configure Input Filters

    Remote I/O module 16 DI AL4002 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 34: Counters: Control Counters

    AL4002 Remote I/O module 16 DI [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 35: Gateway: Read Device Information

    Remote I/O module 16 DI AL4002 Available data points: Name Description Values Access ../maincounter_value Current main counter value 0…4294967295 ../batchcounter_value Current batch counter value 0…65535 read only Applicable services: Name Description ../force_counter_value Write counter values of main and batch counter 9.2.9.1 Example: Write counter values...
  • Page 36: Gateway: Read Status And Diagnostic Information

    AL4002 Remote I/O module 16 DI 9.2.11 Gateway: Read status and diagnostic information Substructure: processdatamaster Available data points: Name Description Values Access ../temperature Temperature of the device (value in °C) e.g. 52 ../voltage_us Present voltage value of the device sup- e.g. 25236 ply US (value in mV) ../current_us...
  • Page 37: Iot-Core Visualizer

    IoT Core Visualizer (Ò IoT-Core Visualizer / 37) to update the firmware. 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: ü...
  • Page 38: Configure The Device

    AL4002 Remote I/O module 16 DI w The ifm IoT Core Visualizer searches the device description for elements with the selected search criteria. w The result list shows all elements found. 9.2.14.3 Configure the device The [Parameter] menu page allows you to configure the device.
  • Page 39 Remote I/O module 16 DI AL4002 w The menu page displays information about the current firmware version. u Click on [Load software file] and select a new firmware file (*.bin). u Click on [Update] to start the update process. w The firmware of the device is updated.
  • Page 40: 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 41: Use Isochronous Realtime (Irt)

    Remote I/O module 16 DI AL4002 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 42: Configure Input Filters

    AL4002 Remote I/O module 16 DI 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 43: Configure Counter Modules

    Remote I/O module 16 DI AL4002 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 44: Read Process Data Of The Ports

    AL4002 Remote I/O module 16 DI 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 45: Acyclic Access

    Remote I/O module 16 DI AL4002 • Submodule: CTUD (Ò / 62) • Submodule: CTDIR (Ò / 63) 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 46: Use I&M Data Records

    AL4002 Remote I/O module 16 DI 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 47: Maintenance, Repair And Disposal

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

    AL4002 Remote I/O module 16 DI 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 49: Service: Getblobdata

    Remote I/O module 16 DI AL4002 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 50: Service: Getelementinfo

    AL4002 Remote I/O module 16 DI 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 51: Service: Install

    Remote I/O module 16 DI AL4002 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 52: Service: Reboot

    AL4002 Remote I/O module 16 DI 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 53: Service: Stream_Set

    Remote I/O module 16 DI AL4002 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 54: Profinet

    AL4002 Remote I/O module 16 DI 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 55: Modules: Counter Module

    Remote I/O module 16 DI AL4002 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 56 AL4002 Remote I/O module 16 DI 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 57 Remote I/O module 16 DI AL4002 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 58 AL4002 Remote I/O module 16 DI 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 59: Cyclic Data

    Remote I/O module 16 DI AL4002 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 60: Submodule: Ctu

    AL4002 Remote I/O module 16 DI 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 61: Submodule: Ctd

    Remote I/O module 16 DI AL4002 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 62: Submodule: Ctud

    AL4002 Remote I/O module 16 DI 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 63: Submodule: Ctdir

    Remote I/O module 16 DI AL4002 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 64: Acyclical Data

    AL4002 Remote I/O module 16 DI 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 65: Data Record: Counter Configuration

    Remote I/O module 16 DI AL4002 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 (Ò / 65) | Pin 2 function / Count directionData record: Counter configuration (Ò / 65) 2..5...
  • Page 66: Data Record: Counter Values

    AL4002 Remote I/O module 16 DI 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 67: I&M Data

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