background image

 

IO-Link Master with AS-Interface Interface StandardLine 4 Ports IP 65 / IP 66 / IP 67 

 

84 

 

13.3.12  0x0A: Write Parameter 

52151 

The command writes the parameter on an IO-Link device connected to the IO-Link master. 
Parameters with a length <= 150 bytes are transferred with an acyclic write command (block ID = 

0x00). 
Parameters with a length > 150 bytes are transferred 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 contain the parameter data: Bytes 150...n 

  

 

The total of the values in the fields Data Length of the first and second command is the length 

of the parameter. 

  

Summary of Contents for AC6000

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

Page 2: ...1 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 operati...

Page 3: ...data 39 13 1 3 Inputs outputs 39 13 1 4 Inputs 40 13 1 5 Outputs 40 13 1 6 Interfaces 40 13 1 7 Operating conditions 41 13 1 8 Approvals Tests 41 13 1 9 AS i classification 41 13 1 10 Mechanical data...

Page 4: ...SYS 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...

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 5827...

Page 6: ...ame Description Operating instructions Installation electrical connection Set up Parameter setting and command interface Maintenance repair disposal Programming manual Parameter setting with CODESYS f...

Page 7: ...el 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...

Page 8: ...0 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 de...

Page 9: ...and X04 The device ensures fire protection for connected IO Link devices by providing an energy limited circuit at the IO Link ports to IEC61010 1 and Class 2 to UL1310 4 2 AS interface 51953 The dev...

Page 10: ...1955 The device displays the following indications Status and error indication of the gateway and the AS Interface connection Status indication of the supply voltages AS i and AUX Status error and sho...

Page 11: ...ounting 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 tor...

Page 12: ...o 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...

Page 13: ...ective 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 th...

Page 14: ...y 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 c...

Page 15: ...wer Connect the device via the M12 socket to the AS i supply voltages AS i 18 31 6 V DC and AUX 24 V DC 20 300 V SELV PELV Tightening torque 0 6 0 8 Nm Recommended maximum cable length 25 m To connect...

Page 16: ...ng and display elements Content Overview 16 LED indicators 17 34063 7 1 Overview 51963 1 3 2 2 2 2 1 Status LEDs RDY and FLT Status LEDs p 17 2 IOL and DI status LEDs of the IO Link port X01 X04 IO Li...

Page 17: ...shes 200 ms on 800 ms off Status Firmware update is running off Status Gateway not running or gateway booting FLT red on AS i connection error or AS i default address is set off error free 7 2 2 Volta...

Page 18: ...ription IOL yellow off Port configured as DI DO pin 4 C Q OFF on Port configured as DI DO pin 4 C Q ON green flashes 1 Hz Port configured as IO Link no IO Link device detected flashes 2 Hz Port config...

Page 19: ...e basic AS i slave of the AC6000 Addressing the AS i slave of the AC6000 p 24 Connect the addressed AC6000 with the AS i network AS i master shows configuration error Re configure the AS i network AC6...

Page 20: ...ssing the AS i slave of the AC6000 24 Adjusting the gateway profile 26 Configuring IO Link ports 28 Reading writing parameters of the IO Link devices 29 Reading writing process data 33 Reading identif...

Page 21: ...the AS i master and IO Link ports 2 The IO Link component of the AC6000 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 AC6000...

Page 22: ...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...

Page 23: ...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 59 If CMD Req Valid 0 Command request invalid verify and repeat step 1 If CM...

Page 24: ...e addressing ID1 code basic AS i slave additional AS i slaves valid address range of the basic AS i slaves 0xF 0 1 31 0xB 0xD 1 1 30 0x1 0x2 0x3 0xA 0xC 2 1 29 0x8 0x9 3 1 28 0x4 0x5 0x6 0x7 4 1 27 Ta...

Page 25: ...accessory Accessories p 37 Connect the AC1154 with the ASi OUT X22 port using the Y cable EVC844 Connect the Y cable EVC844 to 24 V DC 20 30 V SELV PELV Make sure the Y cable is properly connected Co...

Page 26: ...ports p 44 In the factory settings the AC6000 is a single AS i slave It has the CTT1 profile S 7 4 E ID1 0xF with 4 analogue input channels In each channel 2 bytes of input data of an IO Link port are...

Page 27: ...l 0 Channel 3 Channel 2 Channel 1 Channel 0 Channel 3 Channel 2 Channel 1 Channel 0 Port X01 1 0 1 0 Status Informatio nen Port X02 1 0 1 0 Port X03 1 0 1 0 Port X04 1 0 1 0 green input data rot outpu...

Page 28: ...e 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 paramet...

Page 29: ...he parameters of an IO Link device 0x0B Read Parameter p 87 0x0A Write Parameter Write the parameters of an IO Link device 0x0A Write Parameter p 84 9 5 1 Example Reading parameter 51984 Task The para...

Page 30: ...rst segment follow further segments Response Data Length 0x96 150 bytes to return data Command Status 0x01 Execution OK error codes Response Data 0 149 per byte 0x00 0xFF Parameter value bytes 0 149 A...

Page 31: ...mand 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...

Page 32: ...A 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 Lin...

Page 33: ...ion 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 Devic...

Page 34: ...lues will be kept During the firmware update no process data of the IO Link will be transferred After the firmware update Restart AC6000 Available commands Name Description Reference 0x0D Update Firmw...

Page 35: ...ng 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 follo...

Page 36: ...ce StandardLine 4 Ports IP 65 IP 66 IP 67 36 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...

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

Page 38: ...IO Link Master with AS Interface Interface StandardLine 4 Ports IP 65 IP 66 IP 67 38 13 Appendix Content Technical data 39 AS Interface 43 Command interface 61 33879...

Page 39: ...ication I O modules for field applications Daisy chain function Voltage supply Fieldbus interface 13 1 2 Electrical data 51995 Electrical data Operating voltage V 18 31 6 DC AS i Current consumption m...

Page 40: ...ching level low V 0 5 Short circuit protection yes 13 1 5 Outputs 51997 Outputs Number of digital outputs 4 IO Link Port Class A 4 x 1 Max current load per output mA 300 Short circuit protection yes A...

Page 41: ...Tests 52813 Approvals Tests EMC EN 61000 6 2 EN 61000 6 4 Shock resistance DIN EN 60068 2 27 Vibration resistance DIN EN 60068 2 64 2009 04 DIN EN 60068 2 6 2008 10 13 1 9 AS i classification 51999 AS...

Page 42: ...67 42 13 1 11 Electrical connection 52000 AS i IN X21 Connector M12 Wiring 1 AS i 2 AUX 3 AS i 4 AUX AS i OUT X22 Connector M12 Wiring 1 AS i 2 AUX 3 AS i 4 AUX 5 Process connection IO Link ports Cla...

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

Page 44: ...IP 67 44 13 2 1 Mapping inputs and outputs of the IO Link ports Content ID1 0x1 45 ID1 0x2 46 ID1 0x3 47 ID1 0x4 48 ID1 0x5 49 ID1 0x6 50 ID1 0x7 51 ID1 0x8 52 ID1 0x9 53 ID1 0xA 54 ID1 0xB 55 ID1 0xC...

Page 45: ...D1 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 2 0 Mapping Status information p 59 Port X02...

Page 46: ...el 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 0 Mapping Status information p 59 Port X02 0 Port X03 0 Port X04 3 2 1 0 0 L...

Page 47: ...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 0 Mapping Status information p 59 Port X02...

Page 48: ...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 Channe...

Page 49: ...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 Cha...

Page 50: ...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 Cha...

Page 51: ...el 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 1 0 1 0 Mapping...

Page 52: ...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 Port X01 1 0 0 Mapping Status information p 59 Port X02...

Page 53: ...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 Port X01 0 1 0 Mapping Status information p 59 Port X02...

Page 54: ...el 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 0 0 Mapping Status information p 59 Port X02 0 0 Port X03 0 0 Port X04 0 0 L...

Page 55: ...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 2 Channel 0 Port X01 0 Mapping Status information p 59 Port X02 0 Port X03 0 Port X04 0 Legend n...

Page 56: ...D1 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 1 0 Mapping Status information p 59 Port X02...

Page 57: ...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 0 Mapping Status information p 59 Port X02 0 Port X03 0 Port X04 0 Legend...

Page 58: ...s IP 65 IP 66 IP 67 58 ID1 0xF 52540 Basic Slave n S 7 4 E Channel 3 Channel 2 Channel 1 Channel 0 Port X01 0 Port X02 0 Port X03 0 Port X04 0 Legend n 1 31 valid address range of the Basic AS i slave...

Page 59: ...short circuit 0x1 short circuit 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 Co...

Page 60: ...ink 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 L...

Page 61: ...ata 75 0x06 Write Output Process Data 77 0x07 Read Diagnosis Data 79 0x08 Factory Defaults 81 0x09 Set IO Link Failsafe Data 82 0x0A Write Parameter 84 0x0B Read Parameter 87 0x0C Read Device Name Ser...

Page 62: ...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 8 bits Overview Acyclic com...

Page 63: ...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 proce...

Page 64: ...n p 66 0x03 0x03 Read IO Link Port Configuration p 70 0x04 0x04 Read Input Process Data p 73 0x05 0x05 Read Output Process Data p 75 0x06 0x06 Write Output Process Data p 77 0x07 0x07 Read Diagnosis D...

Page 65: ...0 ignored Command response 52126 Byte Bit 7 6 5 4 3 2 1 0 0 0x00 1 Block Counter 2 Command status list Diagnostic codes 3 0x01 4 reserved Port X04 PCE Port X03 PCE Port X02 PCE Port X01 PCE 5 160 igno...

Page 66: ...3 4 0x02 Write IO Link Port Configuration 52127 The command writes the configuration of the IO Link ports X01 X04 of the IO Link master The configuration consists of the following parameters Port Mod...

Page 67: ...t X04 Port configuration row 4 13 44 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...

Page 68: ...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 connectio...

Page 69: ...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 numb...

Page 70: ...The command reads the current configuration of the IO Link ports X01 X04 of the IO Link master The configuration consists of the following parameters Port Mode Validation ID Data Storage Vendor ID De...

Page 71: ...on row 4 13 34 43 Port X04 Port configuration row 4 13 44 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 L...

Page 72: ...s 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...

Page 73: ...he process data of the inputs of an IO Link port of the IO Link master and the corresponding status information PQI Command request 52134 Byte Bit 7 6 5 4 3 2 1 0 0 0x00 1 0x04 2 Target ID 3 0x00 4 16...

Page 74: ...rning 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 recogni...

Page 75: ...36 The command reads the process data of the outputs of an IO Link port of the IO Link master Command request 52137 Byte Bit 7 6 5 4 3 2 1 0 0 0x00 1 0x05 2 Target ID 3 0x00 4 160 ignored Legend Targe...

Page 76: ...ength 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 whethe...

Page 77: ...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...

Page 78: ...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 numb...

Page 79: ...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 informa...

Page 80: ...has triggered the event 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 M...

Page 81: ...mmand 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 Comma...

Page 82: ...149 Byte Bit 7 6 5 4 3 2 1 0 0 0x00 1 0x09 2 Target ID 3 Failsafe Data Length 4 Failsafe Data Byte 1 4 n 1 Failsafe Data Byte n 4 n 160 ignored Legend Target ID Target of the required operation 8 bits...

Page 83: ...2150 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 0x01 OK 0x04 Blocked Port another acyclic access is still active 0x07...

Page 84: ...ed 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...

Page 85: ...he required operation 8 bits 0x01 IO Link port 1 0x02 IO Link port 2 0x03 IO Link port 3 0x04 IO Link port 4 Data Length Length of the request data in this segment number of bytes 8 bits 0x00 0 0x9C 1...

Page 86: ...h 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 addit...

Page 87: ...ength 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...

Page 88: ...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 p...

Page 89: ...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 soft...

Page 90: ...evice 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 0...

Page 91: ...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 AC6000 Ensure that the PLC application does not write any data to the...

Page 92: ...alue 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 Command response 52162 Byte Bit 7 6 5 4 3 2...

Page 93: ...quest AS i master IO Link master 62 Command response 65 69 71 74 76 78 80 81 83 86 88 90 92 Command response IO Link master AS i master 63 Configuration 20 Configuring IO Link ports 28 Connecting IO L...

Page 94: ...mmand to the IO Link master 23 R Reading writing parameters of the IO Link devices 29 Reading writing process data 33 Reading identification and diagnostic information 33 Reading IO Link events 33 Rep...

Reviews: