Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Contents Contents On this manual What do the symbols and formats mean? ................4 What devices are described in this manual? ............... 5 How is this documentation structured? ................5 History of the instructions ..................... 5 Safety instructions Please note ..........................
Page 3
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Contents Troubleshooting Check if green LED [PWR] lights ..................44 Check if red LED [FAULT] lights or is flashing ..............44 Test device supply voltage ....................44 Connect the unit .........................44 Approvals, standards for IO-Link...
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 On this manual What do the symbols and formats mean? On this manual What do the symbols and formats mean? ..................... 4 What devices are described in this manual? ..................5 How is this documentation structured? ....................5 History of the instructions ........................
What devices are described in this manual? > What devices are described in this manual? 5114 This manual describes the AS-i IO-Link module AC5225 from ifm electronic gmbh. This manual describes the IO-Link technology in connection with this device. about IO-Link → www.io-link.com.
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Safety instructions What previous knowledge is required? > What previous knowledge is required? This document is intended for people with knowledge of control technology and PLC programming with IEC 61131-3. To program the PLC, the people should also be familiar with the CODESYS software.
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Safety instructions Notes: serial number > Notes: serial number 20780 ► In the user's production facility, draw a diagram of the controller network in the machine. Enter the serial number of each controller installed into the network diagram.
→ separate operating instructions of the device: → www.ifm.com > Select your country > [Data sheet search] > (article no.) > [Further information]. This manual describes the AS-i IO-Link module AC5225 from ifm electronic gmbh. Device status = AF IO-Link = version 1.0 ifm firmware = version 1.16...
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 System description What is IO-Link? > What is IO-Link? Introduction ............................10 IO-Link system architecture ......................... 11 IO-Link flow of information ........................12 5123 → www.io-link.com > 3.2.1 Introduction 5300 For fieldbuses one master communicates with several slaves which the master distinguishes on the basis of the slave addresses.
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 System description What is IO-Link? > 3.2.2 IO-Link system architecture 5302 Example of an IO-Link system architecture: orange cable = IO-Link device black cable = standard device green cable = fieldbus device...
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 System description What is IO-Link? > 3.2.3 IO-Link flow of information 5301 Example of IO-Link flow of information: Graphics: IO-Link sensors communicate with the fieldbus master via an AS-i IO-Link gateway and an AS-i ControllerE.
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 System description Description of the device software > Description of the device software User characteristics ..........................13 System interface ..........................13 User interface ............................13 Software interface..........................13 Communication interface ........................14 Operating states ..........................
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 System description Description of the device software > 3.3.5 Communication interface 5130 The device has 2 communication interfaces: via an AS-i communication to the usual AS-i standard to specification V3.0 [AD5], ...
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 AS-i parameters Configuration of the process data image AS-i parameters Configuration of the process data image .................... 15 Data assignment with P0=1......................... 16 5132 > Configuration of the process data image 6209 The process data image on the various AS-i transfer options are configured...
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 AS-i parameters Data assignment with P0=1 reserved 0 reserved 1 reserved The IO-Link device parameters are always directly changed in the IO-Link device which usually saves this data non-volatilely. Deviations between the projected IO-Link configuration (manufacturer, device and function IDs) and the configuration of the connected devices (with the "plug &...
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Standard services > Standard services Standard ID object ..........................19 Standard diagnosis object ........................19 Standard device group object ......................20 5153 > 5.2.1 Standard ID object 5154 This object range describes and identifies the AS-i slave. Identification with reference to ...
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > Device group services Device group ID object ........................22 Device group diagnosis object ......................23 IO-Link gateway configuration ......................25 IO-Link port configuration ........................26 Process data assignment ........................28 Exchange acyclic process data ......................
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > 5.3.1 Device group ID object 5176 This object describes the characteristics of the IO-Link master (e.g. the number of ports). Request read device group ID object Byte no.
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > 5.3.2 Device group diagnosis object 5184 The diagnosis object provides a diagnosis overview of the status of the AS-i IO-Link module and the connected IO-Link devices.
Page 24
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > IO-Link device status 5195 The device status ensures an overview of the status of the connected IO-Link device without the reported events having to be evaluated. Depending on the value the directly addressable diagnosis dataset of the connected IO-Link device can be called to get more detailed information.
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > 5.3.3 IO-Link gateway configuration 5198 These calls enable the setting of the AS-i IO-Link module or reading back of the settings saved there. Since the changes are optional, a read process of the actual settings is required in a device- independent driver after a write request.
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > 5.3.4 IO-Link port configuration 5213 Using the services described below the port configuration can be written or read by two IO-Link ports each. The port configuration comprises the operating parameters of the IO-Link port and the projected manufacturer, device and function IDs of the IO-Link device to be connected.
Page 27
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > IO-Link port parameters 5223 The projected port parameter defines the operating mode of the IO-Link port. NOTE When the scan mode is defined, the IO-Link master looks for an IO-Link device and activates the respective COM mode as soon as a device has been found.
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > 5.3.5 Process data assignment Word process data assignment ......................29 Example: Process data assignment for analogue inputs ..............30 Example: Process data assignment for analogue outputs ..............30...
Page 29
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > Word process data assignment 5237 The word data assignment specifies the offset of the first word of the process data and the number of words. The write access described below enables setting of the process data assignment via a configuration software.
Page 30
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > Example: Process data assignment for analogue inputs 21791 Process data record is 4 words long. 3 words beginning with Byte 7 = 0x30 for port 1...
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > 5.3.6 Exchange acyclic process data 5244 IO-Link allows up to 32-byte process data in one IO-Link device. The connection of IO-Link devices with process data > 4 words is not the focus of the AS-i IO-Link gateway. Nevertheless access to these process data via the acyclic write / read requests described here is possible.
Page 32
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > Read current input process data 5254 Request read input process data Byte no. Description command code 20 = read device group indices 21 / 22 = acyclic input process data ports 1 / 2 length = 1…32...
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > 5.3.7 Read diagnosis dataset 5258 If the diagnosis object refers to an event triggered by an IO-Link device, the detailed diagnosis information of the IO-Link device can be read (referred to the port) via the calls described below.
Page 34
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > Event status code 6100 Event status code (without details) Bit 7 = 0. The following code applies to bits 0...4: Bit no. Description mode = PULSE,...
Page 35
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services Event status code (with details) Bit 7 = 1. There is detailed information about each event as an event identifier and an event code. Bits 0...5 indicate one event each.
Page 36
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > Event identifier 6102 If in the event status code bit 7 = 1, then there is detailed information about each event as an event identifier and an event code.
Page 37
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > Event code 6103 If in the event status code bit 7 = 1, then detailed information about each event is available as an event identifier and an event code.
Page 38
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > Other qualification 6108 Value Type Description [hex] no details index not available subindex not available service currently not available service currently not available, local local operation in the device blocks access...
Page 39
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > Supplementary error codes 6110 The following table shows supplementary error codes describing the problem occurred in more detail. Event identifier The indicated codes are supplements to the (→...
Page 41
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > Example event data 5263 This table is to give an overview of the error messages to be expected (excerpt). Value Type Source Category Mode Event code Description [hex.]...
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > 5.3.8 Exchange device parameters 6187 > Write device parameters 5273 Requirement: The AS-i parameter P2 = 0. The call described here ensures direct writing access to parameters up to a length of 25 bytes with one single AS-i command.
Page 43
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 IO-Link services Device group services > Read device parameters 5276 The call enables direct reading access to parameters up to a length of 30 bytes using one single AS-i command. NOTE If the IO-Link service of the IO-Link device provides more bytes than indicated in the reading length, the data length is shortened to the requested number of bytes (surplus bytes will be ignored).
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Troubleshooting Check if green LED [PWR] lights Troubleshooting Check if green LED [PWR] lights ......................44 Check if red LED [FAULT] lights or is flashing ..................44 Test device supply voltage ........................44 Connect the unit ..........................
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Approvals, standards for IO-Link Connect the unit Approvals, standards for IO-Link 5294 Revision: 2009-05-26 The following specifications are met: Ref. Title [AD1] IO-Link Specification 1.0 [AD2] IO-Link Specification 1.1 [AD3] ParServer_DB 1.0 [AD4] Port configuration 1.0...
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms Glossary of Terms A/B slave AS-i slave with an A or B being appended to its address number and which may therefore be present twice on the →master. >...
Page 47
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > AS-i phases (status machine) Offline phase: No AS-i data traffic takes place during initialisation. Detection phase: In the detection phase, the AS-i master first of all searches for existing slaves - irrespective of whether they are projected or not.
Page 48
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > Baud Baud, abbrev.: Bd = unit for the data transmission speed. Do not confuse baud with "bits per second" (bps, bits/s). Baud indicates the number of changes of state (steps, cycles) per second over a transmission length.
Page 49
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > e.g. CTT2 = Combined Transaction Type 2 Combined transaction – Use of analogue channels in the gateway depending on the slave profile → > Cycle time This is the time for one cycle. The following happens: ...
Page 50
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > DeviceNet Fieldbus system for larger data volumes based on →CAN technology, requires special cables, complex connection technology. Can be used e.g. as a supplier for AS-i over longer distances.
Page 51
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > Ethernet Ethernet is a widely used, manufacturer-independent technology which enables data transmission in the network at a speed of 10...10 000 million bits per second (Mbps). Ethernet belongs to the family of so-called "optimum data transmission"...
Page 52
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > FMEA FMEA = Failure Mode and Effects Analysis. Method of reliability engineering, to find potential weak points. Within the framework of quality or security management, the FMEA is used preventively to prevent faults and increase the technical reliability.
Page 53
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > HMI = Human Machine Interface > Host The controller in the hierarchy above the AS-i master, e.g. a PLC or a processor. > I&M I&M = Identification & Maintenance ...
Page 54
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > IO-Link Point-to-point connection between 2 devices. The following transmission is possible: - binary signals or - greater data fields for parameter setting. → www.io-link.com > IP address IP = Internet Protocol.
Page 55
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > LNACS LNACS = List of Not Activated CTT Slaves In this list, the CTT slaves (profiles 7.4 and 7.5) which have been detected as CTT slaves but not activated are entered.
Page 56
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > Modbus The Modbus protocol is a communication protocol based on a →master/slave architecture and was generated by Modicon (since 1994: Groupe Schneider) in 1979 for communication with its PLCs. In the industry, Modbus has become a de facto standard.
Page 57
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > PCD = Projected Configuration Data Configuration data stored in the device: → LPS and AS-i profile (IO, ID, ID1, ID2) > PDM = Process and Dialogue Module. Device for communication of the operator with the machine / plant.
Page 58
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > Process image Process image is the status of the inputs and outputs the PLC operates with within one →cycle. At the beginning of the cycle the PLC reads the conditions of all inputs into the process image.
Page 59
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > Redundant Redundancy is the presence of more than the necessary means so that a function unit performs a requested function or that data can represent information. Several kinds of redundancy are distinguished: ...
Page 60
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > SD card An SD memory card (short for Secure Digital Memory Card) is a digital storage medium that operates to the principle of →flash storage. > Self-test Test program that actively tests components or devices. The program is started by the user and takes a certain time.
Page 61
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 2017-11-20 Glossary of Terms > The Transmission Control Protocol is part of the TCP/IP protocol family. Each TCP/IP data connection has a transmitter and a receiver. This principle is a connection-oriented data transmission. In the TCP/IP protocol family the TCP as the connection-oriented protocol assumes the task of data protection, data flow control and takes measures in the event of data loss.
Need help?
Do you have a question about the AC5225 and is the answer not in the manual?
Questions and answers