background image

 

 

40 

ifm

 Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16 

2017-11-20 

IO-Link services 

Device group services 

Code [hex]

 

Description

 

6300 

_device software dataset 

6310 

__device software dataset: parameter loss 

6320 

__device software dataset: parameter fault 

6330 

__device software dataset: parameter not initialised 

6340 

__device software dataset: parameter not specific 

6350 

__device software dataset: parameter changed 

8000 

monitoring 

8100 

_monitoring of the communication 

8110 

__monitoring of the process data 

8C00 

_monitoring of the application 

8C10 

__monitoring of the application: process variable outside the range 

8C20 

__monitoring of the application: measuring range exceeded 

8C30 

__monitoring of the application: range for process variable too small 

8C40 

__monitoring of the application: special warning 

8CA0…8CFF 

__monitoring of the application: manufacturer-specific 

8D00…8DFF 

_monitoring, user-defined (customer-specific event assignment) 

9000 

external malfunction 

FF00…FFFF 

IO-Link-specific event codes 

 

 

 

Содержание AC5225

Страница 1: ...1 Original Device Manual AS i IO Link Gateway AC5225 Device state AF IO Link v 1 0 ifm firmware v 1 16 AS i master profile M4 English 7390705_02_UK 2016 06 24 ...

Страница 2: ...Software interface 13 3 3 5 Communication interface 14 3 3 6 Operating states 14 4 AS i parameters 15 4 1 Configuration of the process data image 15 4 2 Data assignment with P0 1 16 4 2 1 Transfer switching signals 16 4 2 2 Transfer values 16 5 IO Link services 17 5 1 Acyclic IO Link services 17 5 1 1 Code 16 Acyclic standard read requests 17 5 1 2 Code 20 Acyclic device group read requests 17 5 1...

Страница 3: ...shooting 44 6 1 Check if green LED PWR lights 44 6 2 Check if red LED FAULT lights or is flashing 44 6 3 Test device supply voltage 44 6 4 Connect the unit 44 7 Approvals standards for IO Link 45 8 Glossary of Terms 46 9 Index 62 10 ifm weltweit ifm worldwide ifm à l échelle internationale 65 ...

Страница 4: ... USA www odva org EtherNet IP is the property of the ODVA IO Link www io link com is the property of the PROFIBUS Nutzerorganisation e V Germany ISOBUS is the property of the AEF Agricultural Industry Electronics Foundation e V Deutschland www aef online org Microsoft is the property of the Microsoft Corporation USA www microsoft com PROFIBUS is the property of the PROFIBUS Nutzerorganisation e V ...

Страница 5: ...w of its contents Abbreviations and technical terms Appendix In case of malfunctions or uncertainties please contact the manufacturer at www ifm com Select your country Contact We want to become even better Each separate section has an identification number in the top right corner If you want to inform us about any inconsistencies indicate this number with the title and the language of this docume...

Страница 6: ...y damage or personal injury ifm electronic gmbh does not assume any liability in this regard The acting person must have read and understood the safety instructions and the corresponding chapters in this manual before working on and with this device The acting person must be authorised to work on the machine equipment The acting person must have the qualifications and training required to perform ...

Страница 7: ...Start up behaviour of the controller 6827 15233 11575 WARNING Danger due to unintentional and dangerous start of machine or plant sections When creating the program the programmer must ensure that no unintentional and dangerous start of machines or plant sections after a fault e g e stop and the following fault elimination can occur Realise restart inhibit In case of an error set the outputs conce...

Страница 8: ...troller installed into the network diagram Before downloading a software component read out this serial number and check the network diagram to make sure that you are accessing the right controller 2 5 Notes TEST inputs 20781 The TEST inputs of all the controllers in the machine should be wired individually and marked clearly so that they can be properly allocated to the controllers During a servi...

Страница 9: ...ribes the AS i IO Link module AC5225 from ifm electronic gmbh Device status AF IO Link version 1 0 ifm firmware version 1 16 required AS i master profile M4 This device provides the following functions Operate devices corresponding to the IO Link standard actuators sensors HMIs and other devices with diagnostic capabilities mixed with standard devices Connect all these devices with standard 3 pole...

Страница 10: ...turer The diagnostic interface is supported by all leading bus systems Only the serial communication between the master and the slave are features both of the IO Link and the fieldbuses Everything else is different There is no address setting since the data are only exchanged between two participants The IO Link master communicates with the connected IO Link device via a point to point connection ...

Страница 11: ...teway 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 ...

Страница 12: ...e fieldbus master via an AS i IO Link gateway and an AS i ControllerE Signal transmission from the IO Link sensor to the IO Link master here AC5225 via standard sensor cable orange Protocol conversion in the IO Link master to the AS i slave in the same device Data transmission via AS i cable yellow to the AS i master here AC1337 Evaluate data in the AS i master Transfer result to the higher level ...

Страница 13: ...arent transport channel and transfers the data to the connected device transparent transport channel means The data are left unchanged over the whole communication line Only the transfer protocol changes between the AS i and the IO Link systems 3 3 2 System interface 5126 The system interface is a largely transparent communication interface between the AS i and the IO Link system Transparency is r...

Страница 14: ...AS i side data are exchanged normally i e cyclically and acyclically On the IO Link side normal operation is cyclic The gateway application assigns the data referred to the port from AS i to the IO Link or referred to the port from the IO Link to AS i Error state with non compatible device If the connected device does not comply with the requirements the gateway application signals this to the hig...

Страница 15: ...can mode checking of the connected IO Link devices is deactivated saving parameters is deactivated P0 Enable default data assignment 0 Assignment can be remanently overwritten by the command Process data assignment page 28 1 Default process data assignment is active preset The overwriting of the process data assignment is blocked The assignment is not changed P1 reserved 0 reserved 1 reserved P2 P...

Страница 16: ...o lead to a peripheral fault message of the AS i field module The type of treatment of unique events must be set beforehand in the service gateway configuration 4 2 Data assignment with P0 1 6210 With P0 1 default the device specific default data assignment is used In the following table we show how the input and output ports are supplied 4 2 1 Transfer switching signals 6211 Port no Description 1...

Страница 17: ...oup exchange request services 18 5159 The numbers used in the following tables are decimal numbers unless they are marked differently 5 1 1 Code 16 Acyclic standard read requests 5136 Index no Description 0 ID object 1 diagnosis object 80 device group 5 1 2 Code 20 Acyclic device group read requests 5137 Index no Description 0 device group ID object 1 device group diagnosis object 2 IO Link gatewa...

Страница 18: ...upwrite request services 5138 Index no Description 2 IO Link gateway configuration 3 process data assignment 5 port configuration ports 1 2 31 32 acyclic output process data port 1 2 5 1 4 Code 30 Acyclic device group exchange request services 5147 Index no Description 51 52 write compact parameters ports 1 2 61 62 read compact parameters ports 1 2 ...

Страница 19: ...ead 5 Reply read standard ID object Byte no Description 0 command code 80 read standard OK 1 AS i manufacturer ID high 0x00 2 AS i manufacturer ID low 0x04 3 AS i device ID high 0x00 4 AS i device ID low 0x04 5 number of analogue AS i inputs and outputs 0xDD per 4 words transparent data 5 2 2 Standard diagnosis object 5160 Query if module has an error on the AS i side or functions without any erro...

Страница 20: ...st read standard device group object Byte no Description 0 command code 16 read standard 1 index 80 device group object 2 length to be read 4 Reply read standard device group object Byte no Description 0 command code 80 read standard OK 1 device group ID high byte 0x00 2 device group ID low byte 0x4E 3 device group specific type high byte 0x00 4 device group specific type low byte 0x00 0x4E means ...

Страница 21: ... AS i specification provides various communication services within the CTT2 command structure The standard services are defined in the AS i profiles and are binding for all CTT2 devices The meaning of the manufacturer specific services is always linked to the manufacturer ID of the device and it is defined by the manufacturer Device group services of the CTT2 are reserved for special AS i slaves b...

Страница 22: ... read device group ID object Byte no Description 0 command code 84 read device group OK 1 number of IO Link ports 2 2 supported features 3 reserved Supported features in the device group ID object Lists the optional features supported by the IO Link module A feature is supported when the respective bit 1 Bit no Description 0 process data assignment can be changed 1 port configuration can be change...

Страница 23: ...e read 4 Reply read device group diagnosis object Byte no Description 0 command code 84 read device group OK 1 standard diagnosis code Standard diagnosis object page 19 2 diagnosis data flags for ports 1 and 2 bit 0 for port 1 bit 1 for port 2 all other bits 0 bit 0 when there are no diagnosis data 3 port 1 Configuration status code page 23 4 port 2 Configuration status code page 23 Configuration ...

Страница 24: ...ataset of the connected IO Link device can be called to get more detailed information Production status Description 0b00 0x0 OK There is no device failure nor parameter setting failure device status normal Or Device status is not supported by the device 0b01 0x1 INFORMATION Special device status there is no failure Example configuration mode 0b10 0x2 WARNING Device status critical but there is no ...

Страница 25: ...iption 0 command code 20 read device group 1 index 2 IO Link gateway configuration 2 length 2 Reply read IO Link gateway configuration Byte no Description 0 command code 84 read device group OK 1 number of AS i input and output words Standard ID object page 19 2 Event level page 25 Request write IO Link gateway configuration Byte no Description 0 command code 21 write device group 1 index 2 IO Lin...

Страница 26: ...cted port parameters port 2 0x00 0xFF IO Link port parameters page 27 12 13 projected IO Link manufacturer ID port 2 14 16 projected IO Link device ID port 2 17 18 projected IO Link function ID port 2 Reply write IO Link port configuration Byte no Description reply to write request 0 command code 85 write device group OK Request read IO Link port configuration Byte no Description read request 0 co...

Страница 27: ...avoid this on connected digital sensors or actuators the respective operating mode has to be projected Invalid parameters are discarded Since the changes are optional a read process of the actual settings is required in a device independent driver after a write request Write device group OK does not acknowledge the requested settings but only the successful transmission Attribute Coding bin Value ...

Страница 28: ...ocess data assignment is blocked The assignment is not changed The assignment preset via process data assignment is saved in the IO Link master non volatilely Changing from P0 0 to P0 1 deletes the saved assignment Request read IO Link process data assignment Byte no Description 0 Command code 20 read device group 1 Index 3 process data assignment for the ports 1 and 2 2 Length 12 Reply read IO Li...

Страница 29: ...verlapping of the areas configured for port 1 and port 2 is prohibited Byte no Description 0 Command code 21 write device group 1 Index 3 process data assignment for the ports 1 and 2 2 Length 12 3 0 4 0 content is not controlled 5 0 content is not controlled 6 0 7 Word data assignment analogue inputs port 1 8 Word data assignment analogue outputs port 1 9 0 10 0 content is not controlled 11 0 con...

Страница 30: ...rt 2 This results in the following distribution Word 0 Word 1 Word 2 Word 3 analogue inputs for port 1 analogue inputs for port 1 analogue inputs for port 1 analogue inputs for port 2 Example Process data assignment for analogue outputs 21792 Process data record is 4 words long Byte 8 0x11 1 word beginning with offset 1 for port 1 Byte 14 0x12 1 word beginning with offset 2 for port 2 This results...

Страница 31: ...interrupted Cyclic writing of data overwrites acyclically set values Write current output process data 6184 Request write output process data Byte no Description 0 command code 21 write device group 1 indices 31 32 acyclic output process data ports 1 2 2 length 2 29 3 IO Link process data subindex is required if more than 28 bytes or a data section have to be written systematically otherwise 0 4 3...

Страница 32: ...urrent input process data 5254 Request read input process data Byte no Description 0 command code 20 read device group 1 indices 21 22 acyclic input process data ports 1 2 2 length 1 32 Reply read input process data Byte no Description 0 command code 84 read device group OK 1 32 up to 32 IO Link input process data bytes ...

Страница 33: ...escription 0 command code 20 read device group 1 indices 41 42 diagnosis dataset ports 1 2 2 length 1 20 Reply read IO Link device diagnosis data Byte no Description 0 command code 84 read device group OK 1 Example event data page 41 2 Event status code page 34 3 Event identifier page 36 1 4 5 Event code page 37 1 6 event identifier 2 7 8 event code 2 9 event identifier 3 10 11 event code 3 12 eve...

Страница 34: ... mode PULSE type WARNING instance Application eventCode A_WARNING 2 mode PULSE type ERROR instance Application eventCode A_PARAMETER 3 mode PULSE type ERROR instance Application eventCode A_DEVICE 4 mode PULSE type ERROR instance unknown eventCode S_COMM 5 reserved 0 In this IO Link version bit has to be set to zero 6 invalid process data 1 device cannot provide valid process data 7 event details ...

Страница 35: ...valid 1 event entries in the diagnosis data bytes 6 8 are valid 2 event 3 0 event entries in the diagnosis data bytes 9 11 are not no longer valid 1 event entries in the diagnosis data bytes 9 11 are valid 3 event 4 0 event entries in the diagnosis data bytes 12 14 are not no longer valid 1 event entries in the diagnosis data bytes 12 14 valid 4 event 5 0 event entries in the diagnosis data bytes ...

Страница 36: ... 12 15 18 for the event identifier Byte no Bit 7 6 5 4 3 2 1 0 mode type res instance The event identifier for the instance have the following meaning Value bin Value hex Meaning 000 0 unknown 001 1 Phy 010 2 DL 011 3 AL 100 4 application 101 5 reserved 110 6 reserved 111 7 reserved The event identifier for mode and type have the following meaning Value bin Value hex Meaning mode Meaning type 00 0...

Страница 37: ... overflow device S_PDU_BUFFER error pulse 52 Device buffer is too small to store the complete PDU PDU checksum error master master M_PDU_CHECK error pulse 56 Calculated PDU checksum in the master does not match the received SPDU PDU checksum error device device S_PDU_CHECK error pulse 56 Calculated PDU checksum in the device does not match the received SPDU PDU process control error device S_PDU_F...

Страница 38: ...in the device blocks access service currently not available local control 22 device status does not allow access e g during the teach process or calibration access denied 23 e g writing on read only parameter parameter value outside the permissible range 30 parameter value too big 31 parameter value too small 32 interfering parameter 40 collision with other parameter values application faulty 81 e...

Страница 39: ... too low 5000 device hardware 5010 _device hardware components malfunction 5100 _device supply 5110 __device supply undervoltage 5111 __device supply undervoltage U1 supply 15 V 5112 __device supply undervoltage U2 supply 24 V 5113 __device supply undervoltage U3 supply 5 V 5114 5119 __device supply undervoltage U4 U9 manufacturer specific 5151 __device supply short circuit 5160 __device supply pe...

Страница 40: ...rameter changed 8000 monitoring 8100 _monitoring of the communication 8110 __monitoring of the process data 8C00 _monitoring of the application 8C10 __monitoring of the application process variable outside the range 8C20 __monitoring of the application measuring range exceeded 8C30 __monitoring of the application range for process variable too small 8C40 __monitoring of the application special war...

Страница 41: ...rror pulse COMM FF10 with details Process data address increment error device error pulse PD_INCR FFE1 PD address missing access outside PD length device error pulse PD_LEN FFE2 written or read PD too long incomplete PD length device error pulse PD_SHORT FFE3 written or read PD too short reading on input length 0 device error pulse NO_PDIN FFE4 writing on input length 0 device error pulse NO_PDOUT...

Страница 42: ...52 parameter ports1 2 2 reading length 1 3 writing length 4 28 4 5 index 16 bits IO Link index 8 bit services use only byte 5 6 subindex 8 bits IO Link subindex use only with special services 7 31 up to 25 parameter bytes Reply write IO Link device parameters Byte no Exchange reply 0 command code 94 device group data exchange OK 1 status code page 42 0 if service was executed correctly Status code...

Страница 43: ...evice provides fewer bytes than indicated in the reading length the requested data length is returned with the surplus bytes being filled with 0 Request read IO Link device parameters Byte no Exchange requirement 0 command code 30 write device group data exchange 1 indices 61 62 parameter page ports 1 2 2 reading length 2 31 3 writing length 3 4 5 index 16 bits IO Link index 8 bit services use onl...

Страница 44: ... FAULT lights or is flashing 5290 Red LED Fault Cause Remedy Lights Communication to master is disturbed Flashing There is a periphery fault Reading the diagnosis object via the AS i master possible to get information about the IO Link fault Supply voltage on the IO Link port can be too low for the connected devices Connect the AS i power supply so that voltage loss due to the cable length is mini...

Страница 45: ...provals 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 AD5 AS i specification 3 0 rev 2 AD6 IO Link integration in AS i 0 9 AD7 IO Link amendment to specification 1 0 AD1 AD8 ...

Страница 46: ... The AS Interface AS i Actuator Sensor Interface is a standard for fieldbus communication to EN 50295 and IEC 62026 2 It was developed for the connection of actuators and sensors with a simple wiring to replace the conventional parallel wiring An unscreened two wire yellow flat cable max 500 m serves for data transmission as well as for voltage supply 24 30 V DC for the communication electronics a...

Страница 47: ...S i master goes into the management phase during which the master can send a command to a specific slave if requested Inclusion phase After this the AS i master goes into the inclusion phase during which it sends a command to a free slave address to detect new slaves ASIsafe The name for Safety at Work used by Siemens Assembly Instance Assembly Instances are parameters of a logical connection Conn...

Страница 48: ...T Configuration Data Image current CTT configuration Configuration of 7 4 and 7 5 slaves currently determined by the AS i master Manufacturer ID Vendor ID Device ID Device Group ID CDI CDI Configuration Data Image current AS i configuration The configuration of the connected AS i slaves determined by the AS i master LDS and AS i profiles IO ID ID1 ID2 CIP CIP Common Industrial Protocol Object orie...

Страница 49: ...a is updated in the master after max 5 ms If A B slaves are used the cycle time can be extended to 10 ms D Data image AS i See process image sum of all digital and analogue input and output data As regards the time the data image represents the current condition of each individual slave and NOT a consistent image of the entire AS i network at an exact point in time Data type Depending on the data ...

Страница 50: ...e For diagnosis configuration and log data can be used created during the normal operation of the device The correct start of the system components is monitored during the initialisation and start phase Errors are recorded in the log file For further diagnosis self tests can also be carried out DRAM DRAM Dynamic Random Access Memory Technology for an electronic memory module with random access Ran...

Страница 51: ...y extremely robust and excellent data protection Firmware System software basic program in the device virtually the runtime system The firmware establishes the connection between the hardware of the device and the application program The firmware is provided by the manufacturer of the controller as a part of the system and cannot be changed by the user Flash memory Flash ROM or flash EPROM or flas...

Страница 52: ... the protocol of one system to the protocol of the other system Example connection between AS i and higher level fieldbus systems such as Ethernet DP DeviceNet Interbus S or other interfaces e g RS 485 The device includes an AS i master which is directly coupled to the host interface e g Ethernet DP slave Gateway transfer time The time that is needed for the input data in the DP RAM of the AS i ma...

Страница 53: ...ween the participants IEC 61131 Standard Basics of programmable logic controllers Part 1 General information Part 2 Production equipment requirements and tests Part 3 Programming languages Part 5 Communication Part 7 Fuzzy Control Programming Implicit Messaging Cyclic data exchange between I O scanner and I O adapter based on the UDP IP communication protocol Works based on the Producer Consumer m...

Страница 54: ...istics L LAS List of Active Slaves In this slave list the AS i master enters the slaves detected as active for this master LDS List of Detected Slaves In this slave list the AS i master enters the slaves detected as present for this master LED LED Light Emitting Diode Light emitting diode also called luminescent diode an electronic element of high coloured luminosity at small volume with negligibl...

Страница 55: ...unique numerical code more or less a kind of serial number Such a MAC address is a sequence of 6 hexadecimal numbers e g 00 0C 6E D0 02 3F Master Handles the complete organisation on the bus The master decides on the bus access time and polls the slaves cyclically Master slave communication AS i strictly operates to the master slave principle The master polls all slaves one after the other in alwa...

Страница 56: ...formation is stored by means of magnetic storage elements The property of certain materials is used to change their electrical resistance when exposed to magnetic fields Advantages of MRAM as compared to conventional RAM memories non volatile like FRAM but access time only approx 35 ns unlimited number of access cycles possible MSB Most Significant Bit Byte O OSC OSC Online Support Center Online S...

Страница 57: ...nfiguration Part of the CODESYS user interface The programmer tells the programming system which hardware is to be programmed CODESYS loads the corresponding libraries Reading and writing the periphery states inputs outputs is possible Polling to poll to count votes The controller master fetches the data from every participant in the system successively 1 Master calls participant 1 2 Participant 1...

Страница 58: ...nd 1 Only a limited current flows on the bus cables in an intrinsically safe circuit so that even in case of a problem no explosive sparks can occur A disadvantage of PROFIBUS PA is the relatively slow data transfer rate of 31 25 Kbits s www profibus com umbrella organisation Profinet PROFINET Process Field Network is the open Industrial Ethernet Standard of Profibus Profinet International PI for ...

Страница 59: ...Remanent data is protected against data loss in case of power failure The runtime system for example automatically copies the remanent data to a flash memory as soon as the voltage supply falls below a critical value If the voltage supply is available again the runtime system loads the remanent data back to the RAM memory The data in the RAM memory of a controller however is volatile and normally ...

Страница 60: ...pply or in case of a single fault of the power supply SELV circuits are separated from the input voltage mains voltage by double or enhanced insulation The voltage value must not exceed 60 V DC or 42 4 V AC Single slave Slave whose address number may only occur once on the master Slave Passive participant on the bus only replies on request of the master Slaves have a clearly defined and unique add...

Страница 61: ...ht application At present network variables based on CAN and UDP are implemented The values of the variables are automatically exchanged on the basis of broadcast messages In UDP they are implemented as broadcast messages in CAN as PDOs According to the protocol these services are unconfirmed data transmission it is not checked whether the receiver receives the message Exchange of network variable...

Страница 62: ...of the device software 13 Device group diagnosis object 23 Device group ID object 22 Device group services 21 Device parameters 42 DeviceNet 50 DHCP 50 Diagnosis 50 Diagnosis data error code 37 DRAM 50 E EDS 50 EMC 50 Error codes 37 Ethernet 51 Event code 37 Event identifier 36 Event level 25 Event status code 34 Example Process data assignment for analogue inputs 30 Process data assignment for an...

Страница 63: ...ndant 59 remanent 59 RPI 59 RTC 59 RTS 59 Runtime system 59 S Safety instructions 6 SD card 60 Self test 60 SELV 60 Single slave 60 Slave 60 Slave configuration 60 Software interface 13 Standard device group object 20 Standard diagnosis object 19 Standard ID object 19 Standard services 19 Start up behaviour of the controller 7 Status code IO Link device parameters 42 Supplementary error codes 39 S...

Страница 64: ......

Страница 65: ... Helsinki Tel 358 75 329 5000 ifm electronic Ltd Hampton Middlesex TW12 2HD Tel 44 208 213 0000 ifm electronic Monoprosopi E P E 15125 Amaroussio Tel 30 210 6180090 ifm electronic kft 9028 Györ Tel 36 96 518 397 ifm electronic s a 20041 Agrate Brianza MI Tel 39 039 68 99 982 Astragal Ltd Azur 58001 Tel 972 3 559 1660 ifm electronic India Branch Office Kolhapur 416234 Tel 91 231 267 27 70 efector c...

Отзывы: