IO-Link master 1 Preliminary note This document applies to devices of the "Field modules DP" (art� no: AC2625)� These instructions are part of the device� This document is intended for specialists� These specialists are people who are qualified by their appropriate training and their experience to see risks and to avoid possible hazards that may be caused during operation or maintenance of the device�...
IO-Link master 2 Safety instructions These instructions contain texts and figures concerning the correct handling of the device and must be read before installation or use� Observe the operating instructions� Non-observance of the instructions, operation which is not in accordance with use as prescribed below, wrong installation or incorrect handling can seriously affect the safety of operators and machinery�...
Page 6
IO-Link master ► Devices that are designed for mounting in housings or control cabinets must only be operated and controlled after they have been installed with the housing closed� Desktop or portable units must only be operated and controlled in enclosed housings�...
IO-Link master 3 Technical features 3.1 IO-Link The device is a modular PROFIBUS-DPV1 slave for the connection to a maximum of 4 IO-Link sensors based on physics 2 (3-wire technology)� The device is both PROFIBUS DPV1 slave and IO-Link master at the same time� The four C/Q channels (pin 4) can be parameterised independently and operated in either the IO-Link mode (IOL) or in the standard IO mode (SIO)�...
Page 8
IO-Link master Signal voltage low level -3 to 5 VDC (EN 61131-2, type 2) Signal voltage high level 11 to 30 VDC (EN 61131-2, type 2) Max� input current 6 mA ● Inputs (IO-Link mode) pin 4 Parameterisation (supports IO-Link GSD, function block and FDT/DTM specification V1�0) Synchronisation...
Page 9
IO-Link master Climatic tests to IEC 61131-2 Corrosive gas : 10 ppm (rel� humidity < 75 %, no condensation) S: 1�0 ppm (rel� humidity < 75 %, no condensation) ● Vibration resistance 10 to 57 Hz, constant amplitude 0�075 mm, 1 g 57 to 150 Hz, constant acceleration 1 g Vibration mode...
IO-Link master Installation 2 x mounting holes 3 mm Contacts CuZn, gold-plated This device can cause radio disturbances in residential areas and in small industrial areas (residential, business and trading)� In this case the operator is requested to take appropriate measures at his own cost�...
IO-Link master Load voltage U The load voltage U is not used in the module, but only monitored and provided for possible transmission� 1: 24 V DC U 1: 24 V DC U 2: 24 V DC U 2: 24 V DC U 3: GND 3: GND 4: GND...
IO-Link master M12 connector for IO-Link The connection of max� 4 IO-Link sensors is made via pin 4 of the 4 M12 sockets on the device� Pin 2 of each socket can be used to connect simple pnp inputs� In case of more complex sensors, pin 2 can, for example, be used as an input for a sensor switch point�...
IO-Link master 3.7 Process image The device supplies 2 byte process input data; it does not use process output data� Process input data Bytes Name default Description DI channel 0 (port 1) Status pin 4 of port 1, if in SIO mode DI channel 1 (port 1) Status pin 2 of port 1 DI channel 2 (port 2)
IO-Link master 3.8 Status displays and diagnostic messages Status displays via LEDs The module provides the following LEDs for status display: PROFIBUS DP (not labelled; beneath the cover for the address switches): 2 LEDs (left RED, right GREEN) displaying the status of the PROFIBUS communication�...
Page 15
IO-Link master Status Description Corrective measures Device ready for operation Firmware error The watchdog function of the device initialises a reset (undefined flashing possible)� If the error remains, the unit has to be replaced� Please contact your ifm contact� Operating voltage ok Operating voltage below defined Check the voltage supply at the device or at tolerances...
IO-Link master 3.9 Diagnostic messages / status messages via software The diagnostic message of the IO-Link master AC2625 contains the following types of diagnostics: Length Note DP standard diagnosis 5 byte Channel-specific diagnosis 3 byte Contains the standard PROFIBUS-DP error codes (see table 5) per channel which sends diagnostics�...
Page 17
IO-Link master Byte 2 Slot 0x01 Slot of the IO-Link master (IOLMM) Byte 3 Specifier 0×00 Byte 4 Data_Byte0 Diagnostic message bit 0: UB_TOO_LOW bit 1: UB_TOO_HIGH bit 2: UL_TOO_LOW bit 3: UL_TOO_HIGH bits 4���7: reserved Device-specific diagnosis, event diagnosis Byte 0 Header 0x08...
IO-Link master 3.10 IO-Link events The ifm IO-Link master interprets IO-Link event diagnostics sent by the IO-Link device and displays them as a plaintext diagnostic message in the PLC software� Example for the interpretation of the IO-Link events...
IO-Link master 3.11 Error codes to PROFIBUS-DPV1 The following channel-specific error codes to PROFIBUS-DP are generated by the IO-Link master AC2625: Value (dec.) Diagnosis Meaning in IO-Link Error codes (1 to 9 to norm) Undervoltage Undervoltage at the sensor Overload Overload at the output Excess temperature Wire break...
IO-Link master 3.12 GSD file The current GSD file of the IO-Link master [ifm_0E4D�gsd] can be downloaded from our homepage www�ifm�com� With the GSD file, IO-Link sensors can be integrated directly into the system and can be parameterised� Unknown sensors, e�g� from third-party vendors, are integrated as generic IO-Link devices�...
IO-Link master 3.13 Configuration in IO-Link mode IO-Link devices can be configured as generic sensors (Generic In x byte / Generic Out x byte) according to their process data width� The entry to be selected from the GSD file has to be greater than or equal to the exact process data width of the device used�...
IO-Link master 3.14 Configuration in SIO mode IO-Link devices can also be configured as generic sensors in SIO mode� The port has to be configured as [Generic 0 byte (SIO mode)]� If the sensors are operated in SIO mode on slots 2 to 5, their user data are mapped into byte 0 (pin 4) of the IO-Link master (see chapter Process image)�...
IO-Link master 3.15.1 Parameters of the IOLMM (slot 1, IO-Link master module) The parameters of the IO-Link master modules (slot 1) control the communication of the entire unit including all connected devices� The texts in the columns [Parameter name] and [Value/meaning] correspond to those determined in the GSD file�...
IO-Link master Parameter name Value/meaning Port x: cycle time Setting the IO-Link cycle time at the respective port� Only applies when the parameter [Cycle mode] (see above) is set to [fixed value] or [synchronous]� Steps 0�1 ms: 0000 1111 = 1�5 ms 0011 1111 = 6�3 ms Steps 0�4 ms: 0010 0000 = 6�4 ms...
IO-Link master 3.17 Parameters of the generic IO-Link devices A = default setting Parameter name Value/meaning 00 = any device A Identification The data width of the connected sensor has to match the data width of the configured one� In addition, the cycle time for the cycle modes [fixed value] and [synchronous] has to be greater than or equal to the minimum cycle time of the device�...
IO-Link master 3.18 Description of user data for acyclic services The following instances are defined for the IO-Link master module AC2625: Gateway Application Instance (slot 0) Module Application Instance (slot 1) Index IM_index Note FI_INDEX 65000 Identification & Maintaining services, I&M0 to PROFIBUS-DP Module Application Instance, slot 1 Index IM_index...
IO-Link master 4 Connection to a Siemens S7 - use of an ifm example project 4.1 Introductory Notes This chapter describes the connection of the IO-Link master to a Siemens PLC S7 (C1 master), the parameterisation of the IO-Link master and the connected IO-Link devices per GSD as well as a description of the IO-Link function block [IO-Link CALL] for the S7�...
IO-Link master 4.2.3 Software used SIMATIC Manager, step 7, version 5�5, SP2 Example project [New] in archive IOL_ifm_jjjj�mm�tt�zip, incl� function block IO-Link CALL (ifm FB 102)� 4.3 The example project The project [IOL-ifm] describes the use of the function block IO-Link CALL (ifm FB102) for SPDU communication in IO-Link by means of a simple example�...
IO-Link master 4.3.1 Hardware configuration The hardware configuration used in the example has to be adapted by each user to his own hardware configuration� In the following description this adaptation is also done according to the hardware configuration mentioned above� Open the hardware configurator [HW Config] and adapt the configured CPU to the current configuration�...
IO-Link master 4.3.2 Configuration of the IOLMMs (IO-Link master module) Slot 1 of the modular slave contains the IO-Link master module (IOLMM)� The IOLMM is the gateway between IO-Link and PROFIBUS-DP� It prepares the IO- Link data of the IO-Link ports for further processing on PROFIBUS� Parameterisation of the IOLMM The parameters of the IO-Link master modules (slot 1) control the communication of the entire unit including all connected devices�...
IO-Link master 4.3.3 Configuration of the IO-Link ports The 4 ports of the IO-Link master (slot 2 to slot 5) can be operated either in IO-Link mode or in SIO mode (see also [GSD file])� The determining factor for the function mode of the ports is their configuration� IO-Link mode If the port is to be used in the IO-Link mode, a sensor with a process data width >...
Page 32
IO-Link master Parameterisation of the ifm sensor The ifm sensor is parameterised depending on the application as shown for example in the following figure: [Parameterisation via GSD]� A description of the sensor parameters can be found in the documentation of the respective sensor on www�ifm�com�...
Page 33
IO-Link master A Siemens ultrasonic sensor PXS310C M18 IO-Link (6GR6333-3KS00) which is also to be operated in the IO-Link mode is connected to IO-Link port 3 (slot 4)� The sensor is not described in the GSD file of the ifm IO-Link master and can therefore only be inserted as generic sensor (see [Configuration of the IO-Link ports])�...
IO-Link master 4.3.4 Example for the parameterisation of a generic sensor The parameterisation of a generic sensor via the hardware configurator is only possible when the sensor provides parameters which can be set in IO-Link index 1� According to the vendor documentation, the Siemens sensor used in this project provides the following parameters in IO-Link index 1�...
Page 35
IO-Link master Writing the parameter indices IO-Link ports which might not be used can be configured as [unused port] or as [Generic 0 Byte (SIO mode)]�...
IO-Link master 4.3.5 Using the function block The IO-Link function block IOL_CALL is specified in the IO-Link specification� The ifm FB102 only differs from the specification in some variable names (the variable names to specification are written in brackets behind those of the example project�)�...
IO-Link master 4.3.6 Example accesses with IOL_CALL In this example, the variable table [HMI] helps to visualise the procedure of the read and write access via IOL_CALL� The process data of the sensors are shown in the variable tables [Sensor 1] or [Sensor 2], the process data of the IO-Link master in [PD IOLMM]�...
Page 38
IO-Link master Next, activate read access using a rising edge at [DO_IT]� Activating read access The vendor name can now be seen in variable table [Sensor 1]� Read data in [Sensor 1]...
Page 39
IO-Link master Write access Changing the parameter [Measured value update time / turn / deactivate the display] (index 102) to the value 66 (50 ms measured value update time, display turned by 180°) of ifm pressure sensor PI2793 at IO-Link port 1� Write the input variables of the function block using [Modify variable] as follows (description see above): READ0_WRITE1...
Page 40
IO-Link master The value to be written (66) is entered in the variable table, Colum [Modify value] and then written to the module via [Modify variable]� Value for index 90 Next, the write access has to be activated using a rising edge at [DO_IT]� Activating write access The display of the sensor should now be turned by 180°...
Need help?
Do you have a question about the Ecomat 300 AC2625 and is the answer not in the manual?
Questions and answers