IFM AL1940 Device Manual

IFM AL1940 Device Manual

Io-link master with modbus tcp interface, cabinetline, 8 ports, ip 20
Hide thumbs Also See for AL1940:
Table of Contents

Advertisement

Device Manual
IO-Link Master with Modbus TCP interface
CabinetLine
8 Ports
IP 20
AL1940
IO-Link: 1.1.2
ifm-Firmware: 2.1.28 or higher
LR DEVICE: 1.3.1.x or higher
English

Advertisement

Table of Contents
loading

Summary of Contents for IFM AL1940

  • Page 1 Device Manual IO-Link Master with Modbus TCP interface CabinetLine 8 Ports IP 20 AL1940 IO-Link: 1.1.2 ifm-Firmware: 2.1.28 or higher LR DEVICE: 1.3.1.x or higher English...
  • Page 2 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Content Table of Contents Preliminary note Legal and copyright information ................... 5 Purpose of the document ..................... 5 Symbols and styles used ..................... 6 Modification history ......................
  • Page 3 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Content Configuration LR DEVICE ........................23 8.1.1 Remarks ............................. 24 8.1.2 IoT: Configure access rights ....................... 25 8.1.3 IoT: Configure IP settings ......................26 8.1.4 IoT: Configure the interface to the LR SMARTOBSERVER ............
  • Page 4 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Content Operation Firmware update ........................60 Web interface: Read device and diagnostic information............61 Replace IO-Link device ......................62 Maintenance Factory settings Accessories Appendix 13.1 Technical data ........................67 13.1.1...
  • Page 5 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Preliminary note Legal and copyright information Preliminary note Legal and copyright information ....................... 5 Purpose of the document ......................... 5 Symbols and styles used .......................... 6 Modification history ...........................
  • Page 6 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Preliminary note Symbols and styles used > Symbols and styles used 15989 WARNING Death or serious irreversible injuries may result. CAUTION Slight reversible injuries may result.
  • Page 7 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Safety instructions General Safety instructions General ..............................7 Required background knowledge ......................7 Safety symbols on the device ........................7 Tampering with the unit ..........................8 >...
  • Page 8 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Safety instructions Tampering with the unit > Tampering with the unit 11242 WARNING Tampering with the units can affect the safety of operators and machinery! Tampering with the units is not allowed.
  • Page 9 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Intended use Permitted use Intended use Permitted use ............................9 Prohibited use ............................9 18761 > Permitted use 11028 The IO-Link master serves as a gateway between intelligent IO-Link devices and the fieldbus. The device is designed for use as cabinet module in plant construction.
  • Page 10 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Function Prohibited use Function Communication, parameter setting, evaluation ..................11 Digital inputs ............................12 IO-Link supply ............................12 7482...
  • Page 11 7284 The device provides the following configuration options:  Parameter setting of the IO-Link master of the AL1940 with LR DEVICE parameter setting software, Modbus projection software or ifm IoT-Core services.  Parameter setting of the connected IO-Link devices (sensors, actuators) with LR DEVICE parameter setting software, Modbus projection software or ifm IoT-Core services ...
  • Page 12 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Function Digital inputs > 4.1.5 Visual indication 7772 The device has the following visual indicators:  Status and error indication of the gateway, of the Modbus connection and of the system ...
  • Page 13 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Mounting Install the device Mounting Install the device .............................13 22016 > Install the device 16676 ► Disconnect power before installation. The device contains components that can be damaged or destroyed by electrostatic discharge.
  • Page 14: Table Of Contents

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Electrical connection Remarks Electrical connection Remarks ..............................14 Modbus ports ............................15 IoT port ..............................15 IO-Link ports ............................16 Connect the device ..........................18 22017 > Remarks 23709 A qualified electrician must connect the unit.
  • Page 15: Electrical Connection

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Electrical connection Modbus ports > Modbus ports 17858 ► Connect the unit via the sockets X21 and/or X22 to the Modbus network. ► To connect the devices, use connectors with protection rating IP 20 Accessories or higher (→...
  • Page 16: Io-Link Ports

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Electrical connection IO-Link ports > IO-Link ports 17860 ► Connect the IO-Link devices to the terminals X01 ... X08. Technical data  Wiring: →...
  • Page 17 The IO-Link ports of the device meet the requirements of the IO-Link specification 1.0 bis 1.1.2. The power supply of the connected IO-Link devices may only take place via the AL1940. Exception: Connection of IO-Link devices with additonal external power supply to ports X01...X08 for port class B operation...
  • Page 18: Connect The Device

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Electrical connection Connect the device > Connect the device 17851 ► Disconnect power. ► Connect the IO-Link master via port X31 to 24 V DC (20...30 V SELV/PELV;...
  • Page 19 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Operating and display elements Overview Operating and display elements Overview ..............................19 LED indicators ............................20 5440 > Overview 10998 IOL and DI status-LEDs of the IO-Link port (X01...X08 IO-Link ports (Class A) (→...
  • Page 20 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Operating and display elements LED indicators > LED indicators 22024 The device only has the following LED indicators: > 7.2.1 Status LEDs 11748 The RDY LED indicates the status of the gateway.
  • Page 21 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Operating and display elements LED indicators 7.2.3 IoT port 7722 The IoT port (X23) has the 3 LNK, ACT and IoT LEDs. The LEDs indicate the status of the Ethernet connection and the device identification.
  • Page 22 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration LED indicators Configuration LR DEVICE .............................23 IoT Core ..............................35 Modbus ..............................49 22367...
  • Page 23 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration LR DEVICE > LR DEVICE Remarks ..............................24 IoT: Configure access rights ........................25 IoT: Configure IP settings ........................26 IoT: Configure the interface to the LR SMARTOBSERVER ..............27 Fieldbus: configure Modbus port ......................28...
  • Page 24: Remarks

    IO-Link master and the connected IO-Link devices without being connected to the AL1940 (OFFLINE mode). The configuration created in this way can be stored as a file (*.lrp) and loaded to the AL1940 and activated at a later date.
  • Page 25: Iot: Configure Access Rights

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration LR DEVICE > 8.1.2 IoT: Configure access rights 16555 The access rights define which instance may read and / or write the parameter data, process data and event/diagnostic messages.
  • Page 26: Iot: Configure Ip Settings

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration LR DEVICE > 8.1.3 IoT: Configure IP settings 17713 For access to the IO-Link master via the IT infrastructure the user has to set the IP settings of the IoT port.
  • Page 27: Iot: Configure The Interface To The Lr Smartobserver

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration LR DEVICE > 8.1.4 IoT: Configure the interface to the LR SMARTOBSERVER 16552 To enable data transfer between the device and the LR SMARTOBSERVER monitoring software, the LR SMARTOBSERVER monitoring software interface has to be configured.
  • Page 28: Fieldbus: Configure Modbus Port

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration LR DEVICE > 8.1.5 Fieldbus: configure Modbus port 12284 The configuration of the IP settings of the fieldbus port is only possible via LR DEVICE.
  • Page 29: Io-Link Ports: Activate Data Transfer To The Lr Smartobserver

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration LR DEVICE > 8.1.6 IO-Link ports: Activate data transfer to the LR SMARTOBSERVER 16551 The user can decide separately for each IO-Link port if the process data of the connected IO-Link devices should be transferred to the LR SMARTOBSERVER.
  • Page 30: Io-Link Ports: Configure Operating Mode

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration LR DEVICE > 8.1.7 IO-Link ports: Configure operating mode 17439 The IO-Link ports X01...X08 of the device support the following operating modes: ...
  • Page 31: Io-Link Ports: Set The Device Validation And Data Storage

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration LR DEVICE > 8.1.8 IO-Link ports: Set the device validation and data storage 17945 In the operating mode "IO-Link" the user can set the behaviour of the IO-Link port with regard to device validation and the storage / restoration of the parameter data of the connected IO-Link device.
  • Page 32: Io-Link Ports: Set Fail-Safe Values

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration LR DEVICE 8.1.9 IO-Link ports: set fail-safe values 11752 In case the Modbus connection is interrupted, fail-safe values can be assigned to the outputs of the IO-Link ports.
  • Page 33: Firmware: Reset Device To Factory Settings

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration LR DEVICE > 8.1.11 Firmware: Reset device to factory settings 7209 When the IO-Link master is reset, all parameters are set to the factory settings: To reset the device to factory settings: ►...
  • Page 34: Configure Io-Link Devices

    ► Under [ONLINE]: Click on the required IO-Link master. > LR DEVICE automatically detects the IO-Link devices connected to the IO-Link master (e.g. ifm sensor KG5065). Configure IO-Link device ► Mouse click on the port to which the IO-Link device is connected.
  • Page 35 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration IoT Core > IoT Core Configure IoT interface ...........................36 Configure the fieldbus port ........................37 Configure IO-Link ports ..........................37 Set application identification ........................38 Read / write cyclic process data ......................38 Read diagnostic data ..........................38...
  • Page 36 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration IoT Core 8.2.1 Configure IoT interface 16540 The parameters of the IoT port X23 are saved in the iotsetup substructure. The user can access the...
  • Page 37 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration IoT Core > 8.2.2 Configure the fieldbus port 11747 The parameters of the fieldbus port X21/X22 are saved in the fieldbussetup substructure. The user...
  • Page 38 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration IoT Core 8.2.4 Set application identification 16580 The application name of the IO-Link master is saved in the devicetag substructure. The user can...
  • Page 39 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration IoT Core > 8.2.7 Read device information 17133 Device information is saved in the deviceinfo substructure. The user can access the following data...
  • Page 40 Configure IO-Link devices 11002 The ifm IoT Core supports the configuration of the connected IO-Link devices. A parameter is accessed via IO-Link index and subindex (→ IO Device Description (IODD) of the device) The user can use the following services:...
  • Page 41: Example: Read Process Data Of An Io-Link Device

    Example: Read process data of an IO-Link device 16574 Task: Read the current measured value of the ifm temperature sensor TN2531 at IO-Link port X06 Solution: Read the data point for the process input data with the getdata service. ...
  • Page 42: Example: Read Several Parameter Values Of The Io-Link Master Simultaneously

    > Example: Change name of the IO-Link master 10987 Task: Set the name of the IO-Link master to AL1940 for the representation in the LR SMARTOBSERVER. Solution: Change the parameter [Application Tag] with the setdata service to the value [AL1940].
  • Page 43: Example: Read The Parameter Value Of An Io-Link Device

    Example: Change the parameter value of an IO-Link device 16578 Task: Set the output configuration OUT1 of the ifm temperature sensor TN2531 at IO-Link port X02 to the value "Hnc / hysteresis function, normally closed". Solution: Change the parameter [ou1] of the sensor to the value 4 using the iolwriteacyclicdata service.
  • Page 44: Example: Subscribe To Event

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration IoT Core > Example: Subscribe to event 17946 Task: The current values of the following parameters should be sent regularly to a network server with IP address 192.168.0.4: product name of the IO-Link device at IO-Link port X02, cyclic input data of...
  • Page 45 Device description 14411 The IoT Core creates a device description on the AL1940. This device description is a structured, machine-readable data object in JSON format. All current values of parameters, diagnostic data and device information are mapped in this data object. The user can access this data object from IT networks.
  • Page 46 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration IoT Core > Access ifm-IoT Core 17561 To activate the changes of the parameter values the IoT Core must have the respective write access rights to the IO-Link master (→...
  • Page 47 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration IoT Core > POST method 16548 Using the POST method the user has read and write access to a data point. A form with the required information is transferred to the IP address of the IO-Link master (IoT port X23).
  • Page 48 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration IoT Core > IoT Core: Diagnostic codes 17437 The ifm IoT Core uses the following diagnostic codes: Code Description OK; but reboot required...
  • Page 49: Integrate The Al1940 Into The Modbus Project

    Integrate the AL1940 into the Modbus project 11754 The AL1940 provides the functionality of a Modbus-TCP slave. The user can integrate the IO-Link master via the profile of a generic Modbus-TCP slave to a fieldbus project. The IO-Link master, the IO-Link Ports and the process data are configured via the Modbus register of...
  • Page 50 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration Modbus > Example: Integrate IO-Link master in a CODESYS project 9612 Familiarise yourself with the following CODESYS functions!  Modbus master: → Online help > Fieldbus support >Modbus configurator >Modbus master ...
  • Page 51: Set Io-Link Master And Io-Link Ports

    Port X07: Port Configuration 9042 Port X08: Port Configuration r/w = read and write In addition, the user can set the IO-Link ports of the AL1940 via the following acyclic commands:  "Set Mode": → Command 0x10 – Set mode (→...
  • Page 52: Read Input Data Of Several Io-Link Ports

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration Modbus > 8.3.3 Read input data of several IO-Link ports 8702 Register area for compact access to the input data of the IO-Link ports X01…X04 and X05...X08: →...
  • Page 53: Read Input Data Of Individual Io-Link Ports

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration Modbus > 8.3.4 Read input data of individual IO-Link ports 23072 Single Port Access Register area for separate access to input data of the individual IO-Link ports: →...
  • Page 54: Write Output Data Of Several Io-Link Ports

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration Modbus > 8.3.5 Write output data of several IO-Link ports 9633 Register area for compact access to the output data of the IO-Link ports X01…X04 and X05...X08: →...
  • Page 55: Write Output Data Of Individual Io-Link Ports

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration Modbus > 8.3.6 Write output data of individual IO-Link ports 23016 Single Port Access Register area for separate access to output data of individual IO-Link ports: →...
  • Page 56: Read Diagnostic Information And Events

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration Modbus > 8.3.7 Read diagnostic information and events 11048 Diagnostic data Register area for the access to diagnostic information of the IO-Link ports X01…X08:→...
  • Page 57: Read Device Information

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration Modbus > 8.3.8 Read device information 11039 The user can read device information using the FC43. The AL1940 supports the following data records ("Read Device ID code"): ...
  • Page 58: Modbus: Programmers' Notes

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration Modbus > 8.3.11 Modbus: Programmers' notes Rules for accessing the Modbus register ....................58 Supported function codes ........................59 Use acyclic services ..........................59 17965 >...
  • Page 59 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Configuration Modbus > Supported function codes 13676 The AL1940 supports the following function codes for read and/or write access to the Modbus register: Function Function name / description code 03 (0x03) Read Multiple Registers 04 (0x04)
  • Page 60 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Operation Firmware update Operation Firmware update .............................60 Web interface: Read device and diagnostic information ................61 Replace IO-Link device ..........................62 22368 > Firmware update 16582 The new firmware is installed via the device's web interface.
  • Page 61 ► Connect laptop/PC and AL1940 via the Ethernet internet. ► Start web browser. ► Enter the IP address of the AL1940 into the address field of the browser and press [ENTER] to confirm. > Web browser shows the web interface of the device.
  • Page 62 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Operation Replace IO-Link device Replace IO-Link device 7775 To replace an IO-Link device: Requirement: > IO-Link device is with factory settings. > IO-Link device supports IO-Link standard 1.1 or higher.
  • Page 63 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Maintenance Replace IO-Link device Maintenance 21577 The operation of the unit is maintenance-free. ► Clean the surface of the unit when necessary. Do not use any caustic cleaning agents for this! ►...
  • Page 64 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Factory settings Replace IO-Link device Factory settings 16542 In the factory settings, the device has the following parameter settings: Parameter Factory setting [IP address] (Modbus) 192.168.1.250...
  • Page 65 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Accessories Replace IO-Link device Accessories 17853 List of accessories of AL1940: → www.ifm.com > Product page > Accessories...
  • Page 66 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Replace IO-Link device Appendix Technical data ............................67 Modbus ..............................71 ifm IoT Core ............................97 7156...
  • Page 67: Application

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Technical data > 13.1 Technical data Application ..............................67 Electrical data ............................67 Inputs / outputs ............................67 Inputs ..............................68 Outputs ..............................68 Interfaces ..............................68 Environmental conditions ........................69 Approvals / tests .............................69...
  • Page 68: Inputs

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Technical data > 13.1.4 Inputs 22820 Inputs Number of digital inputs 16; (IO-Link Port Class A: 8 x 2) Switching level high [V] 11...30 DC...
  • Page 69: Technical Data

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Technical data > 13.1.7 Environmental conditions 17862 Environmental conditions Applications Control cabinet Ambient temperature [°C] -25...65 Storage temperature [°C] -25...85 Max. perm. relative air humidity [%] 90, linearly decreasing to 50 % (40 °C)
  • Page 70: Electrical Connection

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Technical data > 13.1.10 Electrical connection 11030 Voltage supply IN X31 Plug and socket connection COMBICON Wiring GND (US) GND (US) + 24 V DC (US) + 24 V DC (US) Process connection IO-Link ports Class A X01...X0<IOL_AnzPorts>...
  • Page 71 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > 13.2 Modbus Register ..............................72 Acyclic commands ..........................88 22433...
  • Page 72 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > 13.2.1 Register Configuration Area ..........................73 Diagnostic data ............................75 Input Data ...............................78 Output Data ............................81 Single Port Access ..........................82 Acyclic Command Channel ........................84...
  • Page 73: Register

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Configuration Area 8912 Register Content Bits 8-15 Bits 0-7 8998* Access Rights Process Data Length 8999* reserved Byte Swap Mapping: port configuration 9000* Port X01: Port Configuration (→...
  • Page 74 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Mapping: port configuration 18639 Bits 8-15 Bits 0-7 Port Mode Master Cycle Time reserved Validation ID Vendor ID reserved Device ID (MSB)
  • Page 75: Diagnostic Data

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus Diagnostic data 11746 Register Contents Bits 8-15 Bits 0-7 Mapping: Diagnostics Port X01: → reserved (→ p. 76) Port X01: Vendor ID...
  • Page 76 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Mapping: Diagnostics 17305 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 reserved Wrong Length...
  • Page 77 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Mapping: events 13674 reserved Event 1: Event 1: Event 1: Event 1: Mode Type Instance Event 1: Code reserved Event 2:...
  • Page 78: Input Data

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Input Data 17312 Register Contents Bits 8-15 Bits 0-7 Mapping: digital input data 197* Port X01...X04: Digital Input - Pin 2 / Pin 4 (DI) (→...
  • Page 79 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Mapping: digital input data 11098 Register 197: res. res. res. res. X04: X03: X02: X01: res. res. res. res. X04: X03:...
  • Page 80 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus Mapping: Status information IO-Link ports 16455 Register 199: res. res. res. res. X04: X03: X02: X01: res. res. res. res. X04: X03:...
  • Page 81: Output Data

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Output Data 11407 Register Contents Bits 8-15 Bits 0-7 Mapping: Digital output data (→ p. 81)) 599* Port X01...X04: Digital Output - clamp 4 (DO) (→...
  • Page 82: Single Port Access

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Single Port Access 11408 Register Contents Bits 8-15 Bits 0-7 1000* Port X01: Digital Data - clamp 2 Port X01: Digital Input - clamp 4 (DI) Port X01: →...
  • Page 83 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Mapping: PQI 21509 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 reserved Wrong Length...
  • Page 84: Acyclic Command Channel

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Acyclic Command Channel 17311 The following Modbus registers are available for acyclic data transmission: Register Contents Bits 8-15 Bits 0-7 Request channel 500* Command Request Channel (→...
  • Page 85 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Request channel 10893 Register Contents Bits 8-15 Bits 0-7 Port No. Index Subindex Command User ID Data Length (Number of Bytes)
  • Page 86 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Response channel 6916 Register Contents Bits 8-15 Bits 0-7 Port No. Index Subindex Command User ID Result Data Length (Number of Bytes)
  • Page 87 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Error codes 15475 Error code Description 0x71 Service not available (unknown command has been sent to the IO-Link port) 0x72 Port blocked (another cyclic process accesses the IO-Link port)
  • Page 88 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > 13.2.2 Acyclic commands Command 0x10 – Set mode ........................89 Command 0x20 – Set validation ID / data storage .................91 Command 0x30 – Set fail-safe data pattern ...................93 Command 0x40 –...
  • Page 89: Command 0X10 - Set Mode

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Command 0x10 – Set mode 23461 The command changes the operating mode of an IO-Link port of the AL1940. Mapping: port configuration Corresponding parameter: [Port Mode] (→...
  • Page 90 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Command response 14273 Register Contents Bits 8-15 Bits 0-7 Port No. reserved reserved 0x10 User ID Result Data Length (Number of Bytes)
  • Page 91: Command 0X20 - Set Validation Id / Data Storage

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Command 0x20 – Set validation ID / data storage 23462 The command sets the behaviour of the IO-Link master when connecting a new IO-Link device to an IO-Linkport of the device.
  • Page 92 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Command response 10919 Register Contents Bits 8-15 Bits 0-7 Port No. reserved reserved 0x10 User ID Result Data Length (Number of Bytes)
  • Page 93: Command 0X30 - Set Fail-Safe Data Pattern

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Command 0x30 – Set fail-safe data pattern 23464 The command sets the behaviour of the outputs when the Modbus connection and the corresponding fail-safe values are interrupted.
  • Page 94 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Command response 10990 Register Contents Bits 8-15 Bits 0-7 Port No. reserved reserved 0x30 User ID Result Data Length (Number of Bytes)
  • Page 95: Command 0X40 - Reboot

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Command 0x40 – Reboot 7639 The command reboots the AL1940. > Command request 21515 Register Contents Bits 8-15 Bits 0-7 reserved...
  • Page 96: Command 0X50 - Factory Reset

    Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix Modbus > Command 0x50 – Factory Reset 7254 Factory settings The command resets all parameters to the factory settings (→ (→ p. 64)).
  • Page 97 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix ifm IoT Core > 13.3 ifm IoT Core Overview: IoT profile ..........................98 Overview: IoT types ..........................101 Overview: IoT services .........................102 8988...
  • Page 98 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix ifm IoT Core > 13.3.1 Overview: IoT profile Profile: deviceinfo ...........................98 Profile: devicetag ............................99 Profile: iolinkmaster ..........................99 Profile: parameter ..........................100 Profile: processdata ..........................100 Profile: service ............................100...
  • Page 99 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix ifm IoT Core Profile: devicetag 17438 Element (identifier) Properties mandatory Comments  devicetag type = structure  profiles = devicetag devicetag/applicationtag type = data...
  • Page 100 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix ifm IoT Core > Profile: parameter 16545 The profile is used to mark the elements of type data as parameters (acyclic data). The profile defines no substructure.
  • Page 101 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix ifm IoT Core > 13.3.2 Overview: IoT types 16547 The ifm IoT Core uses the following element types: Name Description structure Element is a structure element (like a folder in a file system)
  • Page 102 Return data (data): none > Service: gettree 17435 Name: gettree Description: The service reads the complete device description of the AL1940 and provides it as JSON object. Applicable to: Objects of the device type Request data: none Return data (data):...
  • Page 103 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix ifm IoT Core > Service: getdata 12223 Name: getdata Description: Service reads the value of a data point and provides it. Applicable to: Objects of the data type...
  • Page 104 IoT Core > Service: getidentity 17134 Name: getidentity Description: The service reads the complete device description of the AL1940 and provides it as JSON object. Applicable to: Objects of the device type Request data: none Return data (data): Data field...
  • Page 105 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix ifm IoT Core > Service: iolreadacyclic 12222 Name: iolreadacyclic Description: The service acyclically reads the parameter value of an IO-Link device. It is accessed via IO-Link index and subindex.
  • Page 106 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix ifm IoT Core > Service: setblock 12224 Name: setblock Description: The service simultaneously sets the values of several data points of a structure.
  • Page 107 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix ifm IoT Core > Service: setelementinfo 7159 Name: setelementinfo Description: The service sets the uid of an element. Applicable to: Objects of the device type...
  • Page 108 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Appendix ifm IoT Core > Service: subscribe 10920 Name: subscribe Description: The service subscribes to the values of data points. The data points to be subscribed are transferred as a list.
  • Page 109 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Index Index General ....................7 GET method ..................46 Access ifm-IoT Core ................46 Accessories ................... 65 ifm IoT Core ................... 97 Acyclic Command Channel ..............84 General information ..................
  • Page 110 Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940) 05 / 2018 Index Operating and display elements ............19 setelementinfo ..................... 107 signal ......................107 Operation ....................60 subscribe ..................... 108 Output Data ................... 81 unsubscribe ....................108 Outputs ....................

Table of Contents