background image

>

8029

394

/ 00      04 

/ 2

020

 

Operating Instructions 

IO-Link Master with AS-Interface Interface 

StandardLine 

2 Ports 

IP 65 / IP 66 / IP 67 

AC6002

 

Firmware: 2.4.x or higher 

English 

Summary of Contents for AC6002

Page 1: ... 80293946 00 04 2020 Operating Instructions IO Link Master with AS Interface Interface StandardLine 2 Ports IP 65 IP 66 IP 67 AC6002 Firmware 2 4 x or higher English ...

Page 2: ...ng 11 5 1 Mounting the device 11 6 Electrical connection 12 6 1 Notes 12 6 2 IO Link ports 13 6 2 1 Connecting IO Link devices for Class A operation 13 6 2 2 Connecting IO Link devices for Class B operation 14 6 3 Connecting the unit 15 7 Operating and display elements 16 7 1 Overview 16 7 2 LED indicators 17 7 2 1 Status LEDs 17 7 2 2 Voltage supply 17 7 2 3 IO Link ports Class A 17 8 Set up 18 9...

Page 3: ...l data 38 13 1 3 Inputs outputs 38 13 1 4 Inputs 39 13 1 5 Outputs 39 13 1 6 Interfaces 39 13 1 7 Operating conditions 39 13 1 8 Approvals Tests 40 13 1 9 AS i classification 40 13 1 10 Mechanical data 40 13 1 11 Electrical connection 41 13 2 AS Interface 42 13 2 1 Mapping inputs and outputs of the IO Link ports 43 13 3 Command interface 60 13 3 1 Structure of the command interface 60 13 3 2 Overv...

Page 4: ...ESYS is the property of the 3S Smart Software Solutions GmbH Germany www codesys com DeviceNet is the property of the ODVA Open DeviceNet Vendor Association USA www odva org EtherNet IP is the property of the ODVA EtherCAT is a registered trade mark and patented technology licensed by Beckhoff Automation GmbH Germany IO Link is the property of the PROFIBUS Nutzerorganisation e V Germany www io lin...

Page 5: ... note Request for action Reaction result see abc Cross reference 123 0x123 0b010 Decimal number Hexadecimal number Binary number Designation of pushbuttons buttons or indications 1 3 Warnings used 58278 WARNING Warning of serious personal injury Death or serious irreversible injuries may result CAUTION Warning of personaly injury Slight reversible injuries may result NOTICE Warning of damage to pr...

Page 6: ...Name Description Operating instructions Installation electrical connection Set up Parameter setting and command interface Maintenance repair disposal Programming manual Parameter setting with CODESYS function library ifm provides the documents for download on its website www ifm com 1 5 Modification history 34492 Version Topic Date 00 New creation of document 00 2020 ...

Page 7: ...nel authorised by the architect of the system Read this document before setting up the product and keep it during the entire service life The product must be suitable for the corresponding applications and environmental conditions without any restrictions Only use the product for its intended purpose Functions and features P 8 If the operating instructions or the technical data are not adhered to ...

Page 8: ...00 The device may only be used for the following purposes as IO Link master to configure and control the connected IO Link devices as gateway between IO Link devices and the AS Interface network The device is designed for use outside of a control cabinet Only use the device within the limits of the technical data ...

Page 9: ...IO Link Master with AS Interface Interface StandardLine 2 Ports IP 65 IP 66 IP 67 9 4 Function Content IO Link 10 AS interface 10 Parameter setting 10 Visual indication 10 33836 ...

Page 10: ...offers the following AS Interface functions providing the functions of a AS i Slave Supported AS i version 3 0 Gateway to transfer the process and parameter data between the connected IO Link devices and the higher level AS i master 4 3 Parameter setting 51954 The device offers the following configuration options Addressing and parameter setting of the integrated AS i slaves via AS i master Parame...

Page 11: ...Mounting the device 11 34058 5 1 Mounting the device 34059 Disconnect the system from power before installation For installation choose a flat mounting surface Please observe the maximum tightening torque Fix the unit to the mounting surface using 2 M5 mounting screws and washers Tightening torque 1 8 Nm ...

Page 12: ...to avoid excessive strain on the installation points and the M12 connections Ensure correct fit and proper assembly of the M12 connecting parts If these instructions are not complied with the specified protection rating cannot be guaranteed For UL applications To connect the IO Link master and the IO Link devices only use UL certified cables of the CYJV or PVVA category with a minimum temperature ...

Page 13: ...tective caps art no E73004 Tightening torque 0 6 0 8 Nm 6 2 1 Connecting IO Link devices for Class A operation 59303 Wiring information The connected IO Link devices must be supplied exclusively via the IO Link master Connect the connectors of the IO Link devices with the M12 sockets of the IO Link ports X01 X02 Tightening torque 0 6 0 8 Nm Maximum cable length per IO Link port 20 m To connect the...

Page 14: ...by assuring basic insulation according to IEC 61010 1 secondary circuit with 30 V DC maximum supplied from mains circuit up to 300 V of overvoltage category II Ensure that the IO Link devices and the connection technology support the galvanic separation In case of operation as port class B the additional digital input of the IO Link port pin 2 is not available Connect the connectors of the IO Link...

Page 15: ...nnect power Connect the device to the AS i supply voltage via the M12 socket X21 26 31 6 V DC Tightening torque 0 6 0 8 Nm Recommended maximum cable length 25 m To connect the device use M12 connectors with at least protection rating IP 65 IP 66 IP 67 Accessories p 36 Optional Supply of an additional AS i device daisy chain Connect the device to the AUX supply voltage via the M12 socket X21 24 V D...

Page 16: ...Operating and display elements Content Overview 16 LED indicators 17 34063 7 1 Overview 58531 1 3 2 2 1 Status LEDs RDY and FLT Status LEDs p 17 2 IOL and DI status LEDs of the IO Link port X01 X02 IO Link ports Class A p 17 3 Status LED AS i of the voltage supply X21 Voltage supply p 17 ...

Page 17: ...e supply has the AS i LED The LED indicates the status of the voltage supply Status LED Description AS i green on AS i voltage supply is connected off no supply voltage or connected supply voltage is too low 7 2 3 IO Link ports Class A 52923 Each IO Link port Class A has 2 LEDs marked as IOL and DI The LEDs indicate the status of the IO Link port Status LED Description IOL yellow off Port configur...

Page 18: ...he basic AS i slave of the AC6002 Addressing the AS i slave of the AC6002 p 23 Connect the addressed AC6002 with the AS i network AS i master shows configuration error Re configure the AS i network AC6002 has a valid AS i address AS i master switches to operating mode Protected mode After successful configuration the IO Link master transfers the process data of the factory set gateway profile mapp...

Page 19: ...essing the AS i slave of the AC6002 23 Adjusting the gateway profile 25 Configuring IO Link ports 26 Reading writing parameters of the IO Link devices 27 Reading writing process data 32 Reading identification and diagnostic information 32 Reading IO Link events 32 Resetting IO Link master 32 Updating the firmware 33 33858 ...

Page 20: ...r and IO Link ports 2 The IO Link component of the AC6002 includes the IO Link master as well as the IO Link ports 9 1 2 Options for parameter setting 59307 The AS i slave of the AC6002 is configured via functions of the AS i master This includes the following settings Addressing the AS i slave Setting the gateway profile setting the ID1 code of the basic AS i slave To set the parameters of the IO...

Page 21: ... IO Link command request Read Diagnosis S 7 4 Read status information about the command processing The IO Link command request is sent encapsulated in the data range of the AS i command Write Parameter String S 7 4 to the basic AS i slave of the AC6002 The basic AS i slave verifies the received data and indicates their validity in the status bit CMD Req After that the basic AS i slave gives the IO...

Page 22: ...f the basic AS i slave using the AS i command Read Diagnosis S 7 4 Verify the bit CMD Req Valid Mapping Status information p 58 If CMD Req Valid 0 Command request invalid verify and repeat step 1 If CMD Req Valid 1 Command request valid continue with step 3 3 Verify the availability of the command response Read the cyclic input data of the basic AS i slave or Read the status information of the bas...

Page 23: ...he addressing ID1 code basic AS i slave additional AS i slaves valid address range of the basic AS i slaves 0xE 0xF 0 1 31 0x1 0xB 0xD 1 1 30 0x2 0xA 0xC 2 1 29 0x8 0x9 3 1 28 0x4 0x5 0x6 0x7 4 1 27 Take the valid address range into consideration when addressing the basic AS i slave 9 2 1 Addressing via AS i master 59308 Functions for addressing User documentation of the AS i master Connect AC6002...

Page 24: ... unit AC1154 www ifm com Connect AC6002 with the addressing unit Assign a free AS i address to the AC6002 Connect the addressed AC6002 with the AS i network AS i master shows configuration error Re configure the AS i network AC6002 has a valid AS i address AS i master switches to operating mode Protected mode Cyclic process data is transferred between the AS i master and AC6002 ...

Page 25: ... process data of the connected IO Link devices with acyclic commands Set the ID1 code of the basic AS i slave AS i master shows configuration error Re configure the AS i network AC6002 is a participant of the AS i network AS i master works in the Protected mode 9 3 1 Example Adjusting the gateway profile 58579 Task The first 2 words of the input and output data of the IO Link devices are to be tra...

Page 26: ...he storage recovery of parameter data of the connected IO Link device The following options are available Option Validation of the IO Link device Storage of the parameter values Recovery of the parameter values No check and clear no no no Type compatible V1 0 device yes test the compatibility with IO Link standard V1 0 no no Type compatible V1 1 device yes test the compatibility with IO Link stand...

Page 27: ...ntains all available parameters of an IO Link device as well as their indexes and sub indexes Operating instructions of the IO Link device Requirements IO Link port is in the operating mode IO Link IO Link device is connected to the IO Link port of the AC6002 Available commands Name Description Reference 0x0B Read Parameter Read the parameters of an IO Link device 0x0B Read Parameter p 85 0x0A Wri...

Page 28: ...ink command Read Parameter in the data range Parameter Value Note Block ID 0x00 single command Command ID 0x0B Read Parameter command Target ID 0x02 IO Link port X02 Data Length 0x03 Index 2 bytes sub index 1 byte Index MSB 0x3A Index LSB 0x98 Sub index 0x00 Basic AS i slave passes Read Parameter command request to IO Link master IO Link master executes command IO Link master saves 1 Segment of th...

Page 29: ...erify the availability of the IO Link command response Read status information of the basic AS i slave step 2 If bit CMD Resp 0 IO Link command response not available Repeat step 4 If bit CMD Resp 1 IO Link command response available continue with step 5 5 Read parameter value first Segment Send AS i command Read Parameter String S 7 4 to basic AS i slave Data range of the command request Step 1 b...

Page 30: ...mmand Write Parameter in the data range Parameter Value Note Block ID 0x01 first segment follow further segments Command ID 0x0A Write Parameter command Target ID 0x02 IO Link port X02 Data Length 0x9A 150 bytes of parameter data 4 bytes index sub index parameter data length Index MSB 0x3A Index LSB 0x98 Sub index 0x00 Parameter length 0xC0 192 bytes length of the parameter Parameter Data 0 149 pe...

Page 31: ...2A 42 bytes of parameter data 43 192 150 Index sub index and parameter length not required Parameter Data 150 191 per byte 0x00 0xFF Parameter value bytes 150 191 IO Link master executes command IO Link master saves the command status in IO Link command response 5 Verify the availability of the IO Link command response Read the status information of the basic AS i slave If CMD Resp 0 IO Link comma...

Page 32: ...tion and diagnostic information 59315 Available commands Name Description Reference 0x0C Read Device Name Serial Number HW and SW Revisions Read device information of the IO Link master 0x0C Read Device Name Serial Number HW and SW Revisions p 87 Read Diagnosis S 7 4 Read the status information of the basic AS i slave Mapping Status information p 58 9 8 Reading IO Link events 59316 The AC6002 rece...

Page 33: ...alues will be kept During the firmware update no process data of the IO Link will be transferred After the firmware update Restart AC6002 Available commands Name Description Reference 0x0D Update Firmware Update the firmware of the IO Link master 0x0D Update Firmware p 89 ifm recommends using the function block _FWUpdate of the library ifm_AC600x_Lib for CODESYS for the firmware update ...

Page 34: ...ing IO Link device 34182 To replace an IO Link device Requirement New IO Link device is with factory settings New IO Link device supports IO Link standard 1 1 or higher 1 Set data storage Set the following parameters of the IO Link port Set Validation and Data Storage to Type compatible V1 1 device with Restore or Type compatible V1 1 device with Backup Restore Set correct values to Vendor ID and ...

Page 35: ...ace StandardLine 2 Ports IP 65 IP 66 IP 67 35 11 Factory settings 51993 In the factory settings the device has the following parameter settings Parameter Value Data memory Data Storage empty AS i slave address 0 CTT1 profile S 7 4 E ID1 0xF ...

Page 36: ...IO Link Master with AS Interface Interface StandardLine 2 Ports IP 65 IP 66 IP 67 36 12 Accessories 33870 List of accessories of AC6002 www ifm com Product page Accessories ...

Page 37: ...IO Link Master with AS Interface Interface StandardLine 2 Ports IP 65 IP 66 IP 67 37 13 Appendix Content Technical data 38 AS Interface 42 Command interface 60 33879 ...

Page 38: ... 34188 13 1 1 Application 33878 Application Application I O modules for field applications Daisy chain function Voltage supply Fieldbus interface 13 1 2 Electrical data 59331 Electrical data Operating voltage V 26 31 6 DC AS i Max current consumption from AS i mA 350 Protection class III Total current rating A 0 3 Port 1 2 0 3 AS i 13 1 3 Inputs outputs 34068 Inputs outputs Total number of inputs ...

Page 39: ...er of digital outputs 2 IO Link Port Class A 2 x 1 Current rating per output mA 300 Short circuit proof yes Actuator supply of the switching outputs AS i 13 1 6 Interfaces 51998 Interfaces Communication interface IO Link AS i IO Link master Type of transmission COM 1 COM 2 COM 3 IO Link revision V1 1 Number of ports Class A 4 13 1 7 Operating conditions 52488 Operating conditions Ambient temperatu...

Page 40: ...ion resistance DIN EN 60068 2 64 2009 04 DIN EN 60068 2 6 2008 10 13 1 9 AS i classification 51999 AS i classification AS i version 2 11 3 0 Extended addressing mode possible no AS i profile S 7 4 E CTT1 input Number of AS i devices 1 5 Other AS i profiles S 7 3 E CTT1 input S 7 3 2 CTT1 output 13 1 10 Mechanical data 34050 Mechanical data Weight g 200 Materials Housing PA socket brass nickel plat...

Page 41: ...lectrical connection 58493 AS i IN X21 Connector M12 Wiring 1 AS i 2 AUX bridged 3 AS i 4 AUX bridged AS i OUT X22 Connector M12 Wiring 1 AS i 2 AUX bridged 3 AS i 4 AUX bridged 5 Process connection IO Link ports class A X01 X04 Connector M12 Wiring 1 24 V DC AS i 2 DI 3 GND AS i 4 C Q IO Link 5 ...

Page 42: ...IO Link Master with AS Interface Interface StandardLine 2 Ports IP 65 IP 66 IP 67 42 13 2 AS Interface Content Mapping inputs and outputs of the IO Link ports 43 52002 ...

Page 43: ... IP 67 43 13 2 1 Mapping inputs and outputs of the IO Link ports Content ID1 0x1 44 ID1 0x2 45 ID1 0x4 46 ID1 0x5 47 ID1 0x6 48 ID1 0x7 49 ID1 0x8 50 ID1 0x9 51 ID1 0xA 52 ID1 0xB 53 ID1 0xC 54 ID1 0xD 55 ID1 0xE 56 ID1 0xF 57 Mapping Status information 58 Mapping PQI 59 52003 ...

Page 44: ... Slave n 1 S 7 3 E ID1 1 Basic Slave n S 7 4 E Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Port X01 2 0 Mapping Status information p 58 Port X02 2 0 Legend n 1 30 valid address range of the Basic AS i slave x Word x of the process data at the input of the IO Link port ...

Page 45: ... 4 E Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Port X01 3 2 1 0 Mapping Status information p 58 Port X02 3 2 1 0 Legend n 1 29 valid address range of the Basic AS i slave x Word x of the process data at the input of the IO Link port y Word y of the process data at the output of the IO Link port ...

Page 46: ...ave n S 7 4 E Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Port X01 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Mapping Status information p 58 Port X02 Legend n 1 27 valid address range of the Basic AS i slave x Word x of the process data at the inpu...

Page 47: ... Slave n S 7 4 E Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Port X01 7 6 5 4 3 2 1 0 Mapping Status information p 58 Port X02 7 6 5 4 3 2 1 0 Legend n 1 27 valid address range of the Basic AS i slave x Word x of the process data at the input o...

Page 48: ...Slave n S 7 4 E Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Port X01 7 6 5 4 3 2 1 0 Mapping Status information p 58 Port X02 7 6 5 4 3 2 1 0 Legend n 1 27 valid address range of the Basic AS i slave y Word y of the process data at the output o...

Page 49: ...el 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Port X01 3 2 1 0 3 2 1 0 Mapping Status information p 58 Port X02 3 2 1 0 3 2 1 0 Legend n 1 27 valid address range of the Basic AS i slave x Word x of the process data at the input of the IO Link port y Word y of t...

Page 50: ...el 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Port X01 3 2 1 0 1 0 Mapping Status information p 58 Port X02 3 2 1 0 1 0 Legend n 1 28 valid address range of the Basic AS i slave x Word x of the process data at the input of the IO Link port y Word y of the process data at the output of the I...

Page 51: ...el 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Port X01 1 0 3 2 1 0 Mapping Status information p 58 Port X02 1 0 3 2 1 0 Legend n 1 28 valid address range of the Basic AS i slave x Word x of the process data at the input of the IO Link port y Word y of the process data at the output of the I...

Page 52: ... 4 E Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Port X01 1 0 1 0 Mapping Status information p 58 Port X02 1 0 1 0 Legend n 1 29 valid address range of the Basic AS i slave x Word x of the process data at the input of the IO Link port y Word y of the process data at the output of the IO Link port ...

Page 53: ...Slave n 1 S 7 3 2 ID1 1 Basic Slave n S 7 4 E Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Port X01 1 0 Mapping Status information p 58 Port X02 1 0 Legend n 1 30 valid address range of the Basic AS i slave y Word y of the process data at the output of the IO Link port ...

Page 54: ... S 7 3 E ID1 1 Basic Slave n S 7 4 E Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Port X01 3 2 1 0 Mapping Status information p 58 Port X02 3 2 1 0 Legend n 1 29 valid address range of the Basic AS i slave x Word x of the process data at the input of the IO Link port ...

Page 55: ... Slave n 1 S 7 3 E ID1 1 Basic Slave n S 7 4 E Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Port X01 1 0 Mapping Status information p 58 Port X02 1 0 Legend n 1 30 valid address range of the Basic AS i slave x Word x of the process data at the input of the IO Link port ...

Page 56: ...ine 2 Ports IP 65 IP 66 IP 67 56 ID1 0xE 59347 Basic Slave n S 7 4 E Channel 3 Channel 2 Channel 1 Channel 0 Port X01 2 0 Port X02 2 0 Legend n 1 31 valid address range of the Basic AS i slave x Word x of the process data at the input of the IO Link port ...

Page 57: ...ine 2 Ports IP 65 IP 66 IP 67 57 ID1 0xF 59348 Basic Slave n S 7 4 E Channel 3 Channel 2 Channel 1 Channel 0 Port X01 1 0 Port X02 1 0 Legend n 1 31 valid address range of the Basic AS i slave x Word x of the process data at the input of the IO Link port ...

Page 58: ...rcuit CMD Resp Command Response indicates whether the acyclic command channel response contains valid data and whether it can be read 1 bit 0x0 not ready 0x1 ready CMD Req Command Request indicates whether the acyclic request channel request is valid 1 bit 0x0 not valid 0x1 valid PCE Port Configuration Error indicates whether projected values for Vendor ID and Device ID correspond with the values ...

Page 59: ...Link device has been deactivated via the port function 1 bit 0x0 IO Link device activated 0x1 IO Link device deactivated DA Device Available indicates whether an IO Link device is available at the IO Link port 1 bit 0x0 no IO Link device available 0x1 IO Link device recognised and in the operating mode Peroperate or Operate DE Device Error indicates occurring errors in the connected IO Link device...

Page 60: ...Data 74 0x06 Write Output Process Data 76 0x07 Read Diagnosis Data 78 0x08 Factory Defaults 80 0x09 Set IO Link Failsafe Data 81 0x0A Write Parameter 82 0x0B Read Parameter 85 0x0C Read Device Name Serial Number HW and SW Revisions 87 0x0D Update Firmware 89 52117 13 3 1 Structure of the command interface 52118 Via the command interface the user can send acyclic commands from the AS i master to th...

Page 61: ...x00 No fragmentation 0x01 New command transmission started this is the first segment 0xFF Last segment after this data block the command execution starts on IO Link master Command ID Command ID 1 byte Overview Acyclic commands p 63 Target ID ID of the target of the required operation 1 byte 0x01 IO Link Port 1 0x02 IO Link Port 2 0x0A all IO Link ports Request Data Length Length of the request dat...

Page 62: ...0 No fragmentation 0x01 New command transmission started this is the first Segment 0xFF Last segment after this data block the command execution starts on IO Link master Block Counter Counter for processed blocks if the maximum value is reached the counter is reset to 0x00 8 bits 0x00 0xFF Command Status Processing diagnostic status command specific 8 bits 0x00 0x0B Response Data Length Length of ...

Page 63: ...on p 65 0x03 0x03 Read IO Link Port Configuration p 69 0x04 0x04 Read Input Process Data p 72 0x05 0x05 Read Output Process Data p 74 0x06 0x06 Write Output Process Data p 76 0x07 0x07 Read Diagnosis Data p 78 0x08 0x08 Factory Defaults p 80 0x09 0x09 Set IO Link Failsafe Data p 81 0x0A 0x0A Write Parameter p 82 0x0B 0x0B Read Parameter p 85 0x0C 0x0C Read Device Name Serial Number HW and SW Revis...

Page 64: ...0 4 160 ignored Command response 59352 Byte Bit 7 6 5 4 3 2 1 0 0 0x00 1 Block Counter 2 Command status list Diagnostic codes 3 0x01 4 res res res res res res Port X02 PCE Port X01 PCE 5 160 ignored Legend Port X0n PCE Port Configuration Error PCE indicates whether projected values for Vendor ID and Device ID correspond with the values of the IO Link devices at the IO Link port 1 bit 0x0 OK 0x1 Er...

Page 65: ...3 3 4 0x02 Write IO Link Port Configuration 52127 The command writes the configuration of the IO Link ports X01 X02 of the IO Link master The configuration consists of the following parameters Port Mode Validation ID Data Storage Vendor ID Device ID Failsafe Mode Failsafe Value Pin 4 DO ...

Page 66: ...gnored Legend Port Mode Operating mode of the IO Link port 1 byte 0x00 deactivated 0x01 digital input DI 0x02 digital output DO 0x03 IO Link Master Cycle Time Cycle time of the data transmission between the IO Link master and the IO Link device 1 byte 0x00 As fast as possible 0x01 2 milliseconds 0x02 4 milliseconds 0x03 8 milliseconds 0x04 16 milliseconds 0x05 32 milliseconds 0x06 64 milliseconds ...

Page 67: ... the IO Link port Device ID 0x123456 Device ID MSB 0x12 Device ID 0x34 Device ID LSB 0x56 3 bytes per byte 0x00 0xFF Failsafe Mode IO Link Fail safe mode for output data when the AS Interface connection is interrupted 1 byte 0x00 No Failsafe 0x01 Failsafe Reset Value 0x02 Failsafe Old Value 0x03 Failsafe with Pattern Failsafe Mode Pin 4 DO Fail safe value for the operating mode digital output DO 1...

Page 68: ...0 0x00 1 Block Counter 2 Command status list Diagnostic codes 3 0x00 4 160 ignored Diagnostic codes 0x01 OK 0x04 Blocked Port another acyclic access is still active 0x07 Wrong Target ID wrong Port number 0x08 Invalid length wrong input parameter length 0x09 Wrong parameter value of a parameter not in proper range 0x0A Wrong Block ID ...

Page 69: ...0 The command reads the current configuration of the IO Link ports X01 X02 of the IO Link master The configuration consists of the following parameters Port Mode Validation ID Data Storage Vendor ID Device ID Failsafe Mode Failsafe Value Pin 4 DO Command request 52131 Byte Bit 7 6 5 4 3 2 1 0 0 0x00 1 0x03 2 0x0A 3 0x00 4 160 ignored ...

Page 70: ...ion row 4 13 24 160 ignored Legend Port Mode Operating mode of the IO Link port 1 byte 0x00 deactivated 0x01 digital input DI 0x02 digital output DO 0x03 IO Link Master Cycle Time Cycle time of the data transmission between the IO Link master and the IO Link device 1 byte 0x00 As fast as possible 0x01 2 milliseconds 0x02 4 milliseconds 0x03 8 milliseconds 0x04 16 milliseconds 0x05 32 milliseconds ...

Page 71: ...es per byte 0x00 0xFF Failsafe Mode IO Link Fail safe mode for output data when the AS Interface connection is interrupted 1 byte 0x00 No Failsafe 0x01 Failsafe Reset Value 0x02 Failsafe Old Value 0x03 Failsafe with Pattern Failsafe Mode Pin 4 DO Fail safe value for the operating mode digital output DO 1 byte 0x00 Failsafe Reset Value 0x01 Failsafe Old Value 0x02 Failsafe Set Value Diagnostic code...

Page 72: ...3 The command reads the process data of the inputs of an IO Link port of the IO Link master and the corresponding status information PQI Command request 59355 Byte Bit 7 6 5 4 3 2 1 0 0 0x00 1 0x04 2 Target ID 3 0x00 4 160 ignored Legend Target ID Target of the required operation 8 bits 0x01 IO Link Port 1 0x02 IO Link Port 2 ...

Page 73: ...arning has occurred Note The user needs to determine the cause of the fault separately via acyclic services 1 bit 0x0 no error 0x1 error DA Device Available shows if the IO Link device has been recognised and if the device is in the preoperate or in the operate state 1 bit 0x0 no device 0x1 device detected DACT Device Deactivated shows if the IO Link port is configured and can be used 1 bit 0x0 de...

Page 74: ...tput Process Data 52136 The command reads the process data of the outputs of an IO Link port of the IO Link master Command request 59356 Byte Bit 7 6 5 4 3 2 1 0 0 0x00 1 0x05 2 Target ID 3 0x00 4 160 ignored Legend Target ID Target of the required operation 8 bits 0x01 IO Link Port 1 0x02 IO Link Port 2 ...

Page 75: ...Length of the return data incl OPDS byte number of bytes n 8 bits 0x03 3 bytes n 2 0x05 5 bytes n 4 0x09 9 bytes n 8 0x11 17 bytes n 16 0x21 33 bytes n 32 OPDS Output acyclic data Switch signals whether cyclic or acyclic process data is transmitted 8 bits 0x00 cyclic process data 0x01 acyclic process data Output Data Byte m IO Link output data m 1 n n 8 bits per byte 0x00 0xFF Diagnostic codes 0x0...

Page 76: ...3 Output Data Length 4 Output acyclic process data switch OPDS 5 Output Data Byte 1 5 n 1 Output Data Byte n 5 n 160 ignored Legend Target ID ID of the target of the required operation 8 bits 0x01 IO Link Port 1 0x02 IO Link Port 2 Output Data Length Length of the output data incl OPDS byte number of bytes 8 bits 0x03 3 bytes n 2 0x05 5 bytes n 4 0x09 9 bytes n 8 0x11 17 bytes n 16 0x21 33 bytes n...

Page 77: ...0 0x00 1 Block Counter 2 Command status list Diagnostic codes 3 0x00 4 160 ignored Diagnostic codes 0x01 OK 0x04 Blocked Port another acyclic access is still active 0x07 Wrong Target ID wrong Port number 0x08 Invalid length wrong input parameter length 0x09 Wrong parameter value of a parameter not in proper range 0x0A Wrong Block ID ...

Page 78: ... IO Link master The ring buffer stores a maximum of 12 events If all memory locations of the ring buffer are occupied the IO Link master overwrites the oldest event with new incoming diagnostic information The ring buffer has a protection against the case that an IO Link device reports the same error several times in a row Only one message is stored for the same error Command request 52143 Byte Bi...

Page 79: ...vent 8 bits 0x40 Individual message or warning 0x80 Error or warning has appeared 0xC0 Error or warning has disappeared Type Type of error that has triggered the event 8 bits 0x10 Message 0x20 Warning 0x30 Error Event Code Error cause Event Code 0x1234 Event Code MSB 0x12 Event Code LSB 0x34 16 bits per byte 0x00 0xFF depends on the IO Link device IODD of the IO Link devices Diagnostic codes 0x01 ...

Page 80: ...ommand request 52146 Byte Bit 7 6 5 4 3 2 1 0 0 0x00 1 0x08 2 0x0A 3 0x05 4 0x72 5 0x65 6 0x73 7 0x65 8 0x74 9 160 ignored Command response 52147 Byte Bit 7 6 5 4 3 2 1 0 0 0x00 1 Block Counter 2 Command status list Diagnostic codes 3 0x00 4 160 ignored Diagnostic codes 0x04 Blocked Port another acyclic access is still active 0x07 Wrong Target ID wrong Port number 0x08 Invalid length wrong input p...

Page 81: ...red Legend Target ID Target of the required operation 1 byte 0x01 IO Link Port 1 0x02 IO Link Port 2 Failsafe Data Length Length of the fail safe value date number of bytes 1 byte 0x01 0x20 1 byte 32 bytes Failsafe Data Byte m IO Link fail safe values m 1 n n 8 bits per byte 0x00 0xFF Command response 52150 Byte Bit 7 6 5 4 3 2 1 0 0 0x00 1 Block Counter 2 Command status list Diagnostic codes 3 0x...

Page 82: ...red with 2 acyclic write commands 1 Command Write first segment of the parameter Block ID 0x01 Data Length 154 bytes Parameter Data Length Length n of the parameter 150 bytes n 233 bytes Parameter Data Bytes 0 149 1 Command Write second segment of the parameter Block ID 0xFF Data Length Number m of the remaining bytes of the parameter data m n 150 The fields Index Subindex Parameter Data Length co...

Page 83: ... Target ID Target of the required operation 8 bits 0x01 IO Link Port 1 0x02 IO Link Port 2 Data Length Length of the request data in this segment number of bytes 8 bits 0x00 0 0x9C 156 Index Index of the IO Link object Index 0x1234 Index MSB 0x12 Index LSB 0x34 16 bits per byte 0x00 0xFF Subindex Subindex of the IO Link object 8 bits 0x00 0xFF Parameter Data Length Length of the parameter data num...

Page 84: ...th Length of the return data number of bytes n 8 bits 0x00 no error codes 0x02 Error code and additional error code Error Code Error code 8 bits 0x80 Error in IO Link device Additional Error Code additional error code 8 bits IODD of the IO Link device Diagnostic codes 0x01 OK 0x04 Blocked Port another acyclic access is still active 0x07 Wrong Target ID wrong Port number 0x08 Invalid length wrong i...

Page 85: ...x01 Parameter Data Length 150 bytes Parameter Data Bytes 0 149 1 Command Read second segment of the parameter value Block ID 0xFF Parameter Data Length Number m of the remaining bytes m n 150 Parameter Data Bytes 150 n n length of the parameter Command request 59361 Byte Bit 7 6 5 4 3 2 1 0 0 0x00 1 0x0B 2 Target ID 3 0x03 4 Index LSB 5 Index MSB 6 Sub index 7 160 ignored Legend Target ID Target o...

Page 86: ... Parameter Data Byte n 4 n 160 ignored Legend Parameter Data Length Length of the return data number of bytes n 8 bits 0x00 0 bytes 0x9C 156 bytes Parameter Data Byte m Parameter Daten m 1 n n 8 bits per byte 0x00 0xFF Diagnostic codes 0x01 OK 0x04 Blocked Port another acyclic access is still active 0x07 Wrong Target ID wrong Port number 0x08 Invalid length wrong input parameter length 0x0A Wrong ...

Page 87: ... Device Name Serial Number HW and SW Revisions 52157 The command reads the following parameters of the IO Link master Device Name Serial number Hardware revision AS i CPU software revision IOL CPU software revision Command request 52158 Byte Bit 7 6 5 4 3 2 1 0 0 0x00 1 0x0C 2 0x0A 3 0x00 4 160 ignored ...

Page 88: ...Device Name Device name ASCII coded 48 bits per byte 0x00 0xFF Serial Number Serial number ASCII coded 96 bits per byte 0x00 0xFF Hardware revision Hardware revision ASCII coded 16 bits per byte 0x00 0xFF AS i CPU software revision AS i CPU software revision ASCII coded 104 bits per byte 0x00 0xFF IOL CPU software revision IOL CPU software revision ASCII coded 104 bits per byte 0x00 0xFF Diagnosti...

Page 89: ...t 5 connected AS i addresses are available for the update process Select and set the valid address for the basic AS i slave of the AC6002 Ensure that the PLC application does not write any data to the AS i outputs during the update process ifm recommends using the function block _FWUpdate of the library ifm_AC600x_Lib for CODESYS for the firmware update 1 Deactivate all IO Link ports of the AC6002...

Page 90: ...0D 2 0x0A 3 0x08 4 0x75 5 0x70 6 0x64 7 0x61 8 0x74 9 0x65 10 File Size LSB 11 File Size MSB 12 160 ignored Legend File Size Size of the ifm firmware file in bytes divided by 4 rounded up value The IO Link master calculates the start address in the flash memory from this valuer Size 0x1234 Size MSB 0x12 Size LSB 0x34 16 bits per byte 0x00 0xFF ...

Page 91: ...1 0 0 0x00 1 Block Counter 2 Command status list Diagnostic codes 3 0x00 4 160 ignored Diagnostic codes 0x04 Blocked Port another acyclic access is still active 0x07 Wrong Target ID wrong Port number 0x08 Invalid length wrong input parameter length 0x09 Wrong parameter value of a parameter not in proper range 0x0A Wrong Block ID ...

Page 92: ...mmand request AS i master IO Link master 61 Command response 64 68 70 73 75 77 79 80 81 84 86 88 91 Command response IO Link master AS i master 62 Configuration 19 Configuring IO Link ports 26 Connecting IO Link devices for Class A operation 13 Connecting IO Link devices for Class B operation 14 Connecting the unit 15 D Device structure 20 E Electrical connection 12 41 Electrical data 38 Example A...

Page 93: ...command to the IO Link master 22 R Reading writing parameters of the IO Link devices 27 Reading writing process data 32 Reading identification and diagnostic information 32 Reading IO Link events 32 Replacing IO Link device 34 Resetting IO Link master 32 S Safety instructions 7 Set up 18 Status LEDs 17 Structure of the command interface 60 Symbols used 5 T Technical data 38 U Updating the firmware...

Reviews: