background image


80284130 / 

0

1

 

 0

9

 / 2019

 

Operating Instructions 

IO-Link Master with PROFINET Interface 

DataLine 

8 Ports 

IP 65 / IP 66 / IP 67 

AL1302

 

HW Revision: AB 

Firmware: 2.3.x 

LR DEVICE: 1.5.0.x 

English 

Summary of Contents for AL1302

Page 1: ... 80284130 01 09 2019 Operating Instructions IO Link Master with PROFINET Interface DataLine 8 Ports IP 65 IP 66 IP 67 AL1302 HW Revision AB Firmware 2 3 x LR DEVICE 1 5 0 x English ...

Page 2: ...ter setting evaluation 11 4 1 1 IO Link 11 4 1 2 PROFINET 11 4 1 3 Internet of Things IoT 11 4 1 4 Security mode 11 4 1 5 Parameter setting 12 4 1 6 Visual indication 12 4 2 Digital inputs 12 4 3 IO Link supply 12 5 Mounting 13 5 1 Mount the device 13 6 Electrical connection 14 6 1 Notes 14 6 2 PROFINET ports 15 6 3 IoT port 16 6 4 IO Link ports 17 6 4 1 Connect IO Link devices for Class A operati...

Page 3: ...igure IO Link devices 36 9 2 ifm IoT Core 37 9 2 1 First steps 37 9 2 2 General functions 38 9 2 3 Configure IoT interface 39 9 2 4 IoT interface Configure security mode 40 9 2 5 Configure the fieldbus interface 43 9 2 6 Configure IO Link ports 44 9 2 7 Configure IO Link devices 46 9 2 8 Set application identification 48 9 2 9 Read write cyclic process data 49 9 2 10 Control IO Link master 50 9 2 ...

Page 4: ... data 75 13 1 1 Application 75 13 1 2 Electrical data 75 13 1 3 Inputs outputs 75 13 1 4 Inputs 76 13 1 5 Outputs 76 13 1 6 Interfaces 76 13 1 7 Operating conditions 77 13 1 8 Approvals tests 77 13 1 9 Mechanical data 77 13 1 10 Electrical connection 78 13 2 PROFINET 79 13 2 1 Parameter data 79 13 2 2 Cyclic data 83 13 2 3 Acyclic data 85 13 3 ifm IoT Core 88 13 3 1 Overview IoT profile 89 13 3 2 ...

Page 5: ... 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 link com 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 mi...

Page 6: ...xpected or may result Important note Non compliance can result in malfunction or interference Information Supplementary 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 4 Modification history 34492 Version Topic Date 00 New creation of document 04 2019 01 Corrected Tec...

Page 7: ... is not in accordance with use as prescribed below wrong installation or incorrect handling can affect the safety of operators and machinery Observe these operating instructions Adhere to the warning notes on the product 2 2 Required background knowledge 34185 This document is intended for specialists Specialists are people who based on their relevant training and experience are capable of identif...

Page 8: ...strict access to authorised persons Do not connect the device to open networks or the internet If access from the internet is inevitable choose a safe method to connect with the device e g VPN Use encrypted data transmission e g https TLS 2 5 Tampering with the unit 33190 WARNING Tampering with the unit In case of non compliance Possible affects on safety of operators and machinery Expiration of l...

Page 9: ...se 9 34079 3 1 Permitted use 34209 The IO Link master serves as a gateway between intelligent IO Link devices and the PROFINET network The device is designed for use without a control cabinet in the plant construction 3 2 Prohibited use 34228 The device may not be used beyond the limits of the technical data Technical data S 75 ...

Page 10: ...IO Link Master with PROFINET Interface DataLine 8 Ports IP 65 IP 66 IP 67 10 4 Function Content Communication parameter setting evaluation 11 Digital inputs 12 IO Link supply 12 33836 ...

Page 11: ... interface integrated switch is RT and IRT conform according to PROFINET V2 3 Gateway for transmission of the process and parameter data between the connected IO Link devices and the higher level PROFINET controller Supported protocols SNMP LLDP MRP DCP RTA RTC Class 1 nicht synchronisiert PROFINET features FSU I M0 4 read write Device description GSDML file 4 1 3 Internet of Things IoT 54679 The ...

Page 12: ...sual indicators Status and error indication of the gateway of the PROFINET connection and of the system Status display of the voltage supply Status and activity display of the Ethernet connection Status error and short circuit overload indication of the IO Link ports 4 2 Digital inputs 33817 The device has 8 additional digital inputs type 2 according to EN 61131 2 The digital inputs are on pin 2 o...

Page 13: ...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 Ground the unit via the two mounting screws of the upper mounting lugs ...

Page 14: ...onditions 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 te...

Page 15: ...he M12 socket X21 and or X22 to the PROFINET network e g PROFINET PLC additional PROFINET device Tightening torque 0 6 0 8 Nm To connect the devices use M12 connectors with protection rating IP 65 IP 66 IP 67 or higher Accessories S 73 Cover the unused sockets with M12 protective caps art no E73004 Tightening torque 0 6 0 8 Nm ...

Page 16: ... DEVICE parameter setting software laptop PC with LR SMARTOBSERVER monitoring software laptop PC with software capable of processing http requests Tightening torque 0 6 0 8 Nm To connect the devices use M12 connectors with protection rating IP 65 IP 66 IP 67 or higher Accessories S 73 Cover the unused sockets with M12 protective caps art no E73004 Tightening torque 0 6 0 8 Nm ...

Page 17: ...ss A operation 51959 Wiring information The connected IO Link devices must be supplied exclusively via the IO Link master The additional digital inputs IO Link ports X01 X08 pin 2 have a type 2 behaviour according to the standard EN61131 2 The connected electronics must be electrically suited for this Connect the connectors of the IO Link devices with the M12 sockets of the IO Link ports X01 X08 T...

Page 18: ...suring 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 devi...

Page 19: ... to EN61010 1 secondary circuit with maximum 30 V DC supplied by mains circuit up to 300 V of overvoltage category II Tightening torque 0 6 0 8 Nm Maximum cable length 25 m To connect the device use M12 connectors with protection rating IP 65 IP 66 IP 67 or higher Accessories S 73 When using cable length greater than 25 m keep in mind the voltage drop as well as the required minimum voltage supply...

Page 20: ...view 34356 1 RDY BF and SF status LEDs Status LEDs S 21 2 LNK and ACT status LEDs of the PROFINET interfaces 1 X21 and 2 X22 Ethernet interface S 21 3 LNK ACT status LEDs and IoT LED of the IoT interface X23 IoT port S 22 4 IOL and DI status LEDs of the IO Link port X01 X08 IO Link ports Class A S 22 5 PWR status LED of the voltage supply X31 Voltage supply S 22 ...

Page 21: ...tatus Firmware update is running off Status Gateway not running or gateway booting BF red on Bus error flashes 1 Hz No connection to the PROFINET controller off error free SF red on Error in gateway At least 1 IO Link device sends warning alarm temperature over under current over under voltage shortcut off error free 7 2 2 Ethernet interface 34348 Each Ethernet interface X21 X22 has 2 LEDs LNK and...

Page 22: ...tes the status of the voltage supply Status LED Description US green on The supply voltage Us is applied off No supply voltage is applied or the applied supply voltage is too low 7 2 5 IO Link ports Class A 34074 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 configured as DI DO pin 4 C Q OFF on ...

Page 23: ... of the AL1302 the IoT interface and or the fieldbus interface must be configured according to the network environment Configure IoT interface LR DEVICE IoT Configure IP settings S 28 or Configure IoT interface S 39 Configure fieldbus interface LR DEVICE Fieldbus Configure IP settings S 31 or IoT Configure the fieldbus interface S 43 IoT fieldbus interface has valid IP settings User can set the pa...

Page 24: ...ycle time Vendor ID ID of the manufacturer of the IO Link device Device ID ID of the IO Link device Name Article number of the IO Link device For ifm articles This article number is stored along with a link to the produkt page on the ifm website Serial Serial number of the IO Link device LR Mode Interval Cycle time for the communication with the SmartObserver Diagnostic information of the device N...

Page 25: ...IO Link Master with PROFINET Interface DataLine 8 Ports IP 65 IP 66 IP 67 25 9 Configuration Content LR DEVICE 26 ifm IoT Core 37 PROFINET 62 33858 ...

Page 26: ... IP settings 31 IO Link ports Activate data transfer to LR AGENT or LR SMARTOBSERVER 32 IO Link ports Configure operating mode 33 IO Link ports Set the device validation and data storage 34 Info Show device information 34 Firmware Reset device to factory settings 35 Firmware Reboot the device 35 Configure IO Link devices 36 33692 On delivery the AL1302 is configured with the factory settings Facto...

Page 27: ...he connected IO Link devices without being connected to the AL1302 OFFLINE mode The configuration created in this way can be stored as a file lrp and loaded to the AL1302 and activated at a later date Further information about offline parameter setting Operating instructions LR DEVICE VPN connection 34382 An active VPN connection blocks the access of the parameter setting software LR DEVICE to the...

Page 28: ...re the IP settings of the IoT interface Select IoT menu The menu page shows the current settings Set the following parameters as required Name Description Possible values DHCP Activate deactivate the DHCP client of the device Static IP IP settings were set by the user DHCP IP settings are set by a DHCP server in the network IP address IP address of the IoT port Factory setting 169 254 X X Subnet m...

Page 29: ...The set password is not displayed Save changed values on the device The security mode only protects the access to the device via the IoT interface The user name administrator cannot be changed The security mode can be enabled without setting the password During the attempt to write to the device LR DEVICE requires to enter and confirm the password After entering the password the user has unrestric...

Page 30: ...OFINET and IoT Core have read access rights to events alarms PROFINET IoT read only PROFINET has read and write access rights to parameters and process data PROFINET has read access rights to events alarms IoT Core only has read access rights to parameters process data and events alarms IoT only IoT Core has read and write access rights to parameters and process data IoT has read access rights to ...

Page 31: ...fier of the IO Link master in the structure of LR AGENT or LR SMARTOBSERVER String32 Factory setting AL1302 After changing the parameter Port LR Agent or SMARTOBSERVER or Application Tag it may take 120 seconds before the device establishes a new TCP connection To prevent the delay Reboot the device after changing the the parameter Save changed values on the device 9 1 6 Fieldbus Configure IP sett...

Page 32: ... interface to the LR AGENT or LR SMARTOBSERVER has to be correctly configured IoT Configure the interface to LR AGENT or LR SMARTOBSERVER S 31 To activate deactivate data transfer Select Port x menu x 1 8 The menu page shows the current settings Set the following parameters as required Name Description Possible values Transmission to LR Agent or SMARTOBSERVER Transfer of process data of the connec...

Page 33: ...s Mode Operating mode of the IO Link port Disabled Port deactivated DI Operation as digital input DO Operation as digital output IO Link Operation as IO Link interface Cycle time actual Current cycle time of the data transfer between IO Link master and IO Link device on the port value in microseconds Parameter can only be read Cycle time preset Cycle time of the data transfer between the IO Link m...

Page 34: ... storage changes of the current parameter values will not be stored yes recovery of the parameter values when connecting an identical IO Link device with factory settings The options only apply if the IO Link port is in the operating mode IO Link For options Type compatible V1 1 device with Backup Restore and Type compatible V1 1 device with Restore If the vendor ID and device ID are changed in th...

Page 35: ...loader version of the IO Link master Serial number Serial number 9 1 11 Firmware Reset device to factory settings 33838 When the IO Link master is reset all parameters are set to the factory settings To reset the device to factory settings Select Firmware menu The menu page shows the current settings Click on Factory Reset to reset the device LR DEVICE sets the device to the factory settings 9 1 1...

Page 36: ...gure access rights S 30 1 Select IO Link master Start LR DEVICE Update IODD file library OR Import IODD file of the IO Link device manually Scan network for devices LR DEVICE detects IO Link master 2 Add IO Link device Under ONLINE Click on the required IO Link master LR DEVICE automatically detects the IO Link devices connected to the IO Link master e g ifm sensor KG5065 3 Configure IO Link devic...

Page 37: ...Read device information of the IO Link master 53 Read information about IO Link devices 53 Subscribe to events 54 MQTT support 56 Programmers notes 57 52244 General notes on the ifm IoT Core Programmers notes S 57 9 2 1 First steps 52245 To read the device description of the AL1302 Send the following POST request to the AL1302 code request cid 1 adr gettree AL1302 returns the device description as...

Page 38: ... element of type device Service Description getidentity Read device information getdatamulti Read several parameter values sequentially getelementinfo Read the uid of the AL1302 setelementinfo Write the uid of the AL1302 Depending on the read and write access rights the following services can be applied to elements of type data Service Description getdata Read the value of the element setdata Writ...

Page 39: ...s of the IoT port rw network ipaddress IP address of the IoT port rw network subnetmask Subnet mask of the network segment rw network ipdefaultgateway IP address of the network gateway rw rw read and write Applicable services Name Description network setblock Write all values of the substructure at once If the parameter Access rights is set to PROFINET IoT using IoT and PROFINET projection then th...

Page 40: ...work In the activated security mode the following restrictions apply Access only with authentication password protected user account Access only via secure https connection Transport Layer Security TLS The security mode only protects the access to the device via the IoT interface The standard value for users is administrator The set password cannot be read with getdata The current status of the se...

Page 41: ...ts of 2 steps 1 Activate security mode Use service setdata with datapoint iotsetup security securitymode to activate the security mode Request code request cid 1 adr iotsetup security securitymode setdata data newvalue 1 Response cid 1 code 200 2 Set required password Use service setdata with data point iotsetup security password to set the required password Request code request cid 1 adr iotsetup...

Page 42: ...as a Base64 coded character string administrator YWRtaW5pc3RyYXRvcg password cGFzc3dvcmQ Request code request cid 1 adr processdatamaster temperature getdata auth user YWRtaW5pc3RyYXRvcg passwd cGFzc3dvcmQ Response cid 1 data value 37 code 200 Example reset password 54686 Task The existing password is to be reset Solution To reset a password disable the security mode To disable it enter the user n...

Page 43: ...eldbusfirmware Firmware version of the IO Link master r network macaddress MAC address of the fieldbus interface r network ipaddress IP address of the fieldbus interface rw network subnetmask Subnet mask of the network segment rw network ipdefaultgateway IP address of the network gateway rw connectionstatus Status of the connection to the PROFINET network r r read only rw read and write parameter ...

Page 44: ...se of the IO Link port when a new IO Link device is connected rw validation_vendorid IO Link ID of the manufacturer that is to be validated rw validation_deviceid IO Link ID of the device that is to be validated rw datastorage Data storage area of the port rw datastorage maxsize Maximum size of the data storage area in bytes r datastorage chunksize Size of a data segment in bytes r datastorage siz...

Page 45: ...he reading process with length length starts code request cid 1 adr iolinkmaster port 2 datastorage getblobdata data pos 0 length h code request cid 1 adr iolinkmaster port 2 datastorage getblobdata data pos h length h code request cid 1 adr iolinkmaster port 2 datastorage getblobdata data pos 2 h length h code request cid 1 adr iolinkmaster port 2 datastorage getblobdata data pos n h length h Exa...

Page 46: ...IO Link device acyclic iolwriteacyclic Write a parameter of an IO Link device acyclic Example Read the parameter value of an IO Link device 33847 Task Read the serial number of the ifm temperature sensor TN2531 at IO Link port X02 Solution Read the serial number with the iolreadacyclic service from the IO Link device index 21 subindex 0 Request code request cid 4711 adr iolinkmaster port 2 iolinkd...

Page 47: ...ction normally closed Solution Change the parameter ou1 of the sensor to the value 4 using the iolwriteacyclicdata service The parameter can be accessed via IO Link index 580 subindex 0 IO Link description of the sensor Request code request cid 4711 adr iolinkmaster port 2 iolinkdevice iolwriteacyclic data index 580 subindex 0 value 34 The value has to be given in hexadecimal format The conversion...

Page 48: ...plication tag rw rw read and write Example Change name of the IO Link master a33823 Task Set the name of the IO Link master to AL1302 for the representation in the LR SMARTOBSERVER Solution Change the parameter Application Tag with the setdata service to the value AL1302 The data point of the parameter Application Tag in the device description object is devicetag applicationtag Request code reques...

Page 49: ... only changeable if not connected to fieldbus PLC Example Read process data of an IO Link device 33842 Task Read the current measured value of the ifm temperature sensor TN2531 at IO Link port X02 Solution Read the data point for the process input data with the getdata service Request code request cid 4711 adr iolinkmaster port 2 iolinkdevice pdin getdata Response cid 4711 data value 03C9 code 200...

Page 50: ...container maxsize Maximum size of the container area in bytes r container chunksize Size of a data segment in bytes r container size Size of the container area in bytes r r only read w write only Applicable services Name Description factoryreset Reset IO Link master to factory settings reboot Reboot IO Link master signal Trigger the flashing of the status LED install Install firmware transferred t...

Page 51: ...a BASE64 string 2 Start the transfer of the firmware Start the transfer of the firmware via the service start_stream_set parameter size size of the firmware file code request cid 1 adr firmware container start_stream_set data size 356676 3 Load the firmware into the flash memory of the IO Link master Send the BASE64 string of the firmware file to the IO Link master fragment by fragment value strin...

Page 52: ...on of the device supply r r read only Example Read several parameter values of the IO Link master simultaneously 33840 Task The following current values are to be read by the IO Link master temperature serial number Solution Read the current parameter values using the getdatamulti service data point temperature processdatamaster temperature data point serial number deviceinfo serialnumber Request ...

Page 53: ... r fieldbustype Fieldbus r r read only Additional information about the AL1302 can be read with the getidentity service Service getidentity S 98 9 2 13 Read information about IO Link devices 52339 The user can obtain information about the IO Link devices connected to the IO Link ports Substructure iolinkmaster port n iolinkdevice n 1 8 Available data points Name Description Access status Status of...

Page 54: ...update of the subscribed values rw iolinkmaster port n portevent Display of the following events on IO Link port n IO Link device connected IO Link device disconnected Operating mode of the IO Link port changed r iolinkmaster port n iolinkdevice iolinkevent Display of IO Link events r r read only rw read and write Applicable services Name Description datachanged subscribe Subscribe to an event mes...

Page 55: ... the operating temperature of the IO Link master Solution Subscribe to the required data using the subscribe service Request code request cid 4711 adr timer 1 counter datachanged subscribe data callback http 192 168 0 44 80 temp datatosend iolinkmaster port 2 iolinkdevice productname iolinkmaster port 2 iolinkdevice pdin processdatamaster temperature Additionally the interval of the timer 1 has to...

Page 56: ...ossible to send messages to a MQTT broker PUBLISH Example Publish the temperature to an MQTT broker Task Publish the temperature of an IO Link master to an MQTT broker IP address MQTT broker 192 168 82 100 port 1883 Topic abc Solution Request code request cid 1 adr iolinkmaster port 1 portevent datachanged subscribe data callback mqtt 192 168 82 100 1883 abc datatosend processdatamaster temperatur...

Page 57: ...y has an IoT Core The IoT Core allows the user to address the AL1302 from IT networks via a REST API and to integrate it into Internet of Things applications A device description is stored on the AL1302 This device description is a structured machine readable data object in JSON format All current values of parameters process data diagnostic data and device information are mapped in this data obje...

Page 58: ...rameter Description ip IP address of the IoT interface data_point Data point which is to be accessed service Service The syntax of the return of the IoT Core is cid id data value resp_data code diag_code Parameter Description id Correlation ID for the assignment of request and return resp_data Value of the data point depending on the data type of the data point diag_code Diagnostic code IoT Core D...

Page 59: ...ice Service to be performed Overview IoT services S 95 data req_data Data to be transferred to the IoT Core e g new values syntax depending on the service auth usr_id user name base64 coded default value administrator password password base64 coded optional only required for services that submit data to the IoT core e g setdata optional only required if security mode is activated The syntax of the...

Page 60: ... Master with PROFINET Interface DataLine 8 Ports IP 65 IP 66 IP 67 60 Example POST request 54035 Request code request cid 4711 adr devicetag applicationtag getdata Response cid 4711 data value AL1302 code 200 ...

Page 61: ...P settings of the IoT core changed application has to reboot the device Wait for min 1 second before the device is rebooted IP settings have been successfully changed IO Link master will be restarted wait for at least 1 second 400 Bad request Invalid request 401 Unauthorized Non authorised request 403 Forbidden Forbidden request 500 Internal Server Error Internal fault 503 Service Unavailable The ...

Page 62: ...k devices 66 Read and write cyclic process data 67 Read I M datasets 68 Detect diagnostics and alarms 68 34541 On the field bus side the device can be configured with the following options PROFINET projection software STEP 7 version 5 5 SP 4 or higher PROFINET projection software TIA portal Further information about operation and functions of the PROFINET parameter setting software Use the help fu...

Page 63: ...d Devices IO ifm electronic 1 AL1302 2 IO Link ports 3 PROFINET modules 9 3 2 Integrate the IO Link master in the project 52479 The AL1302 can be integrated from the hardware catalogue into the project Create new project open project Create and configure PROFINET controller and coupling units Create and configure PROFINET connection Drag the AL1302 node from the hardware catalogue and drop it on t...

Page 64: ...n the project Double click on slot 1 1 of the AL1302 Set parameters Access Rights as required Parameter of the IO Link master S 80 Save the project If the parameter Access Rights PROFINET IoT in LR DEVICE and the PROFINET projection software the parameter values set in the PROFINET projection software will always apply If the parameter Access Rights IoT only in LR DEVICE set the parameter Access R...

Page 65: ...ents The following table shows the available parameters depending on the selected operating mode Operating mode of the IO Link ports Available parameters Fail safe mode Pattern Value Validation Data storage Vendor ID VID Device ID Port cycle time IO Link events DI digital input X DO digital output X X IO Link input X X X X X IO Link output X X X X X X X IO Link input and output X X X X X X X not a...

Page 66: ...e IO Link Devices The following options are available Symbol function block Description Notes IO_LINK_DEVICE FB5001 Acyclic access to the parameters of an IO Link device Input parameter CAP Access point for function AL1302 AL1302 0xB400 PORT Slot sub slot of the IO Link interface of the connected IO Link device Port X01 1 Port X02 2 Port X08 8 IOL_INDEX and IOL_SUBINDEX Index and sub index of the ...

Page 67: ...ET controller Create a symbolic name and select the data type Assign an IEC address to the symbolic name Save the project Using the symbolic name the user can read the inputs and write the outputs from the application To check the validity of the cyclic process data evaluate the PQI byte PQI Port Qualifier Information S 84 Even if the fieldbus connection is interrupted the PQI byte indicates that ...

Page 68: ...ymbol function block Description Notes GET_IM_DATA Function block for reading the I M datasets of a device GET_IM_DATA only supports the reading of the I M0 dataset Input parameters IM_TYPE 0 RDREC Function block for acyclic reading of datasets Input parameters I M0 Index 0xAFF0 I M1 Index 0xAFF1 I M2 Index 0xAFF2 I M3 Index 0xAFF3 WRREC Function block for acyclic writing of datasets Observe acces...

Page 69: ... firmware 70 Replace IO Link device 71 51990 The operation of the unit is maintenance free Dispose of the unit in an environmentally friendly way in accordance with the applicable national regulations when it is no longer used 10 1 Cleaning process 51991 Clean the surface of the unit when necessary Do not use any caustic cleaning agents for this ...

Page 70: ...ettings of the interface to the LR SMARTOBSERVER Prerequisites Zip file with new firmware has been downloaded and unpacked Ethernet connection between laptop PC and device is established Security mode is disabled 1 Call up web interface Start web browser Enter the following into the address field of the browser and confirm with ENTER http IP address of the device web update Web browser shows the F...

Page 71: ...rts IO Link standard 1 1 or higher 1 Set data storage Set the following parameters of the IO Link port Validation and Data Storage Type compatible V1 1 device with Restore Save changes 2 Replace IO Link device Disconnect old IO Link device from IO Link master Connect new IO Link device with the same IO Link port of the AL1302 IO Link master copies parameter values from the data memory to the new I...

Page 72: ...e device has the following parameter settings Parameter Factory setting IP address PROFINET 0 0 0 0 Subnet mask PROFINET 0 0 0 0 IP gateway address PROFINET 0 0 0 0 IP address IoT interface 169 254 X X Subnet mask IoT interface 255 255 0 0 IP gateway address IoT interface 0 0 0 0 PROFINET name blank Data memory Data Storage empty ...

Page 73: ...IO Link Master with PROFINET Interface DataLine 8 Ports IP 65 IP 66 IP 67 73 12 Accessories 33870 List of accessories of AL1302 www ifm com Product page Accessories ...

Page 74: ...IO Link Master with PROFINET Interface DataLine 8 Ports IP 65 IP 66 IP 67 74 13 Appendix Content Technical data 75 PROFINET 79 ifm IoT Core 88 33879 ...

Page 75: ... 1 Application 33878 Application Application I O modules for field applications Daisy chain function Fieldbus interface 13 1 2 Electrical data 33808 Electrical data Operating voltage V 20 30 DC US to SELV PELV Current Consumption mA 300 3900 US Protection class III Sensor supply US Max current load total A 3 6 13 1 3 Inputs outputs 34068 Inputs outputs Total number of inputs and outputs 16 configu...

Page 76: ...s Communication interface Ethernet IO Link Communication interface IO Link TCP IP PROFINET IO Ethernet Transmission standard 10Base T 100Base TX Transmission rate MBit s 10 100 Protocol TCP IP PROFINET IO Factory settings IP address 0 0 0 0 Subnet mask 0 0 0 0 Gateway IP address 0 0 0 0 MAC address see type label IO Link master Type of transmission COM 1 COM 2 COM 3 IO Link revision V1 1 Number of...

Page 77: ...temperature C 25 60 Storage temperature C 25 85 Max perm relative air humidity 90 Max height above sea level m 2000 Protection rating IP 65 IP 66 IP 67 Pollution Degree 2 13 1 8 Approvals tests 33877 Approval tests EMC EN 61000 6 2 EN 61000 6 4 MTTF Years 90 13 1 9 Mechanical data 34050 Mechanical data Weight g 379 5 Materials Housing PA socket brass nickel plated ...

Page 78: ...t connection M12 Wiring 1 24 V DC US 2 3 GND US 4 Ethernet IN OUT X21 X22 Plug and socket connection M12 Wiring 1 TX 2 RX 3 TX 4 RX 5 IoT X23 Plug and socket connection M12 Wiring 1 TX 2 RX 3 TX 4 RX 5 Process connection IO Link ports Class A X01 X08 Plug and socket connection M12 Wiring 1 Sensor supply US L 2 DI 3 Sensor supply US L 4 C Q IO Link 5 ...

Page 79: ...a 85 33674 13 2 1 Parameter data 34546 Slot Subslot Name Description 1 1 Master Parameter data of the IO Link master Parameter of the IO Link master S 80 2 Port X01 Parameter data of the IO Link ports Parameters of the IO Link ports S 81 modules PROFINET modules S 83 3 Port X02 4 Port X03 5 Port X04 6 Port X05 7 Port X06 8 Port X07 9 Port X08 ...

Page 80: ...to parameters and process data PROFINET and LR DEVICE have read access rights to events alarms PROFINET IoT ro PROFINET has read and write access rights to parameters and process data PROFINET has read access rights to events alarms LR DEVICE only has read access rights to parameters process data and events alarms PROFINET only PROFINET has read and write access rights to parameters and process da...

Page 81: ... AL1302 when a new IO Link device is connected to the IO Link port no check and clear no verification of the vendor ID and device ID no data storage Type compatible V1 0 device IO Link device is compatible with the V1 0 IO Link standard Verification whether it is an IO Link device of the same type validation via vendor ID and device ID no data storage Type compatible V1 1 device IO Link device is ...

Page 82: ...ter values stored in the IO Link master are restored automatically on the IO Link device Vendor ID VID ID of the manufacturer that is to be validated 0 65535 ID of the manufacturer of the IO Link device ifm electronic 310 Device ID ID of the IO Link device that is to be validated 0 16777215 ID of the IO Link device IO Link Events Enable disable the transmission of IO Link events Diabled IO Link wo...

Page 83: ... PQI 1 byte input and output data and PQI IO Link 1I 15O PQI 1 byte input and 15 bytes output data and PQI IO Link 32I PQI 32 bytes input data and PQI IO Link 16I PQI 16 bytes input data and PQI IO Link 8I PQI 8 bytes input data and PQI IO Link 4I PQI 4 bytes input data and PQI IO Link 2I PQI 2 bytes input data and PQI IO Link 1I PQI 1 bytes input data and PQI IO Link 32O PQI 32 bytes output data ...

Page 84: ... status of the digital input on pin 4 DI FALSE OFF TRUE ON DI2 Signal status of the digital input on pin 2 if used FALSE OFF TRUE ON 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 FALSE no device TRUE device detected DE Device Error shows if an error or a warning occurred Note The user needs to determine the cause ...

Page 85: ...ial number Serial number of the device numbers separated by blanks r 16 Hardware revision Hardware revision of the device r 2 Software revision prefix Prefix of the software revision of the device V R P U or T r 1 Software Revision Software revision numbers separated by blanks e g x y z in Vx y z r 3 Revision Counter Revision counter is incremented with each parameter change r 2 Profile ID ID of s...

Page 86: ...ad and write I M0 Slot 1 34542 Variable Description Access Size Vendor ID IO Link ID of the manufacturer r 2 OrderID Order number of the device numbers are separated by blanks r 20 Serial number Serial number of the device numbers separated by blanks r 16 Hardware revision Hardware revision of the device r 2 Software revision prefix Prefix of the software revision of the device V R P U or T r 1 SO...

Page 87: ...he IO Link master Diagnostics 0x28 EVNT_CODE_DSREADY_NOACTION Data storage completed but no action since CRC was correct Alarm 0x29 DS_FAULT_IDENT Sensor does not match the content of the data memory Alarm 0x2A DS_FAULT_SIZE Sensor parameters too large for data memory Alarm 0x2B DS_FAULT_UPLOAD Error during data memory transmission from the sensor Alarm 0x2C DS_FAULT_DOWNLOAD Error during data mem...

Page 88: ...IO Link Master with PROFINET Interface DataLine 8 Ports IP 65 IP 66 IP 67 88 13 3 ifm IoT Core Content Overview IoT profile 89 Overview IoT types 94 Overview IoT services 95 33803 ...

Page 89: ...e uploadedablesoftware 93 Profile timer 93 34054 Profile blob 52264 Element identifier Characteristics Mandatory Comments blobname type data profiles blob Characterises the element as device information size type data mandatory chunksize type data mandatory setblobdata type service optional getblobdata type service optional start_stream_set type service optional stream_set type service optional cl...

Page 90: ...ducttext type data optional ordernumber type data optional productiondate type data optional productioncode type data optional hwrevision type data mandatory swrevision type data mandatory bootloaderrevision type data optional vendor type data optional vendortext type data optional vendorurl type data optional vendorlogo type data optional productwebsite type data optional supportcontact type data...

Page 91: ...nt type data mandatory Profile iolinkmaster 34205 Element identifier Properties mandatory Comments masterport type structure profile iolinkmaster Executable service mode type data profile parameter mandatory comspeed type data profile parameter mandatory mastercycletime_actual type data profile parameter mandatory mastercycletime_preset type data profile parameter mandatory validation_datastorage_...

Page 92: ...profile parameter optional ipversion type data profile parameter optional hostname type data profile parameter optional autonegotiation type data profile parameter optional portspeed type data profile parameter optional enablenetwork type service optional disablenetwork type service optional Profile parameter 34215 The profile is used to mark the elements of type data as parameters acyclic data Th...

Page 93: ...e structure profiles software uploadablesoft ware Software that can be loaded to the device via the IoT Core lastinstall type data optional installhistory type data optional container type data profile blob mandatory preinstall type service optional install type service mandatory postinstall type service optional abortinstall type service optional installstatus type data optional Profile timer 342...

Page 94: ...he following element types Name Description structure Element is a structure element like a folder in a file system service Element is a service that can be addressed from the network event Element is an event that can be started by the firmware and sends messages data Element is a data point device Root element a device represents ...

Page 95: ... Service iolreadacyclic 100 Service iolwriteacyclic 100 Service reboot 100 Service setblock 101 Service setdata 101 Service setelementinfo 102 Service signal 102 Service subscribe 103 Service unsubscribe 103 34056 Service factoryreset 34184 Name factoryreset Description The service sets the parameters of the device to the factory settings Request data field data none Response data field data none ...

Page 96: ...lement type mandatory STRING Type of the element format optional JSON object Format of the data content uid optional STRING profiles optional JSON array subs mandatory JSON array Subelements hash optional STRING Example code request cid 4 adr gettree Service getdata 34183 Name getdata Description Service reads the value of a data point and provides it Request data field data none Return data field...

Page 97: ...nt Request data field data Data field Required field Data type Description datatosend mandatory ARRAY OF STRINGS List of data points to be requested data points must support the service getdata datatosend url1 url2 urlx consistent optional BOOL Response data field data for each requested data point Data field Required field Data type Description url mandatory STRING Data point request code mandato...

Page 98: ...AY OF OBJECTS device optional AL1302 device serialnumber optional Serial number device hwrevision optional Hardware version device swrevision optional Software version device custom optional Security optional Security options security securitymode optional ENUM shows if the security mode is activated security authscheme optional ENUM shows the active authentication scheme security ispasswordset op...

Page 99: ...ddress port path Response data field data Data field Required field Data type Description callback mandatory STRING Address to which IoT Core event notifications are to be sent complete URL http ipaddress port path datatosend mandatory ARRAY OF STRINGS List of subscribed data points Example Request code request cid 4715 adr timer 1 counter datachanged getsubscriptioninfo data callback http 192 168...

Page 100: ...mandatory STRING Value of the parameter Value in hexadecimal format Service iolwriteacyclic 34177 Name iolwriteacyclic Description The service acyclically writes the parameter value of an IO Link device The parameter is accessed via IO Link index and subindex Request data field data Data field Required field Data type Description index mandatory NUMBER IO Link index of the parameter subindex manda...

Page 101: ...port the service setdata consistent optional BOOL Response data field data none Example code request cid 4711 adr iotsetup network setblock data consistent true datatosend ipaddress 192 168 0 6 ipdefaultgatewa y 192 168 0 250 Service setdata 34196 Name setdata Description The service sets the value of the data point Request data field data Data field Required field Data type Description newvalue m...

Page 102: ...N array format optional JSON object Response data field data Data field Required field Data type Description identifier mandatory STRING Identifier of the element type mandatory STRING Type of the element format optional JSON object Format of the data or the service content uid optional STRING profiles optional JSON array hash optional STRING Service signal 33819 Name signal Description The servic...

Page 103: ... http ipaddress port path datatosend mandatory ARRAY OF STRINGS List from URLs of data elements elements have to support getdata Response data field data none Service unsubscribe 34197 Name unsubscribe Description The service deletes an existing subscription unsubcribe is successful if cid and the callback address are registered for a subscription subscribe If the STRING DELETE is provided in call...

Page 104: ...lue of an IO Link device 46 Request with authentication 42 reset password 42 Subscribe to event 55 Update firmware 51 Explanation of Symbols 6 F Factory settings 72 Fieldbus Configure IP settings 31 Firmware Reboot the device 35 Reset device to factory settings 35 First steps 37 Function 10 G General 7 General functions 38 GET request 58 I I M datasets 85 I M0 Slot 0 85 I M0 Slot 1 86 I M1 Slot 0 ...

Page 105: ... Purpose of the document 5 R Read write cyclic process data 49 Read additional digital input 67 Read and write cyclic process data 67 Read device and diagnostic information 24 Read device information of the IO Link master 53 Read diagnostic data of the AL1302 52 Read I M datasets 68 Read information about IO Link devices 53 Remarks 27 Replace IO Link device 71 Required background knowledge 7 S Saf...

Reviews: