background image

 

IO-Link Master with IoT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 
 

46 

 

9.2.9 

Control IO-Link master 

52251 

Different services and management functions can be carried out on the IO-Link master. 

Substructure: 

firmware

 

Available data points: 

Name 

Description 

Access 

../version 

Software version 

../type 

Software type 

../container 

Area for updating the firmware 

../container/maxsize 

Maximum size of the container area (in bytes) 

../container/chunksize 

Size of a data segment (in bytes) 

../container/size 

Size of the container area (in bytes) 

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 to the IO-Link master 

../container/stream_set 

Transfer an individual data segment 

../container/start_stream_set 

Start sequential transmission of several data segments 

  

Summary of Contents for AL1352

Page 1: ... 80284138 02 09 2019 Operating Instructions IO Link Master with IoT Interface DataLine 8 Ports IP 65 IP 66 IP 67 AL1352 HW Revision AA Firmware 2 3 x LR DEVICE 1 5 0 x English ...

Page 2: ...n 10 4 1 Communication parameter setting evaluation 11 4 1 1 IO Link 11 4 1 2 Internet of Things IoT 11 4 1 3 Security mode 11 4 1 4 Parameter setting 11 4 1 5 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 IoT ports 15 6 3 IO Link ports 16 6 3 1 Connect IO Link devices for Class A operation 16 6 3 ...

Page 3: ...eps 35 9 2 2 General functions 36 9 2 3 Configure the IoT interface 36 9 2 4 IoT interface Configure security mode 37 9 2 5 Configure IO Link ports 40 9 2 6 Configure IO Link devices 42 9 2 7 Set application identification 44 9 2 8 Read write cyclic process data 45 9 2 9 Control IO Link master 46 9 2 10 Read diagnostic data of the AL1352 48 9 2 11 Read device information of the IO Link master 49 9...

Page 4: ...IO Link Master with IoT Interface DataLine 8 Ports IP 65 IP 66 IP 67 4 13 2 ifm IoT Core 67 13 2 1 Overview IoT profile 68 13 2 2 Overview IoT types 73 13 2 3 Overview IoT services 74 14 Index 83 ...

Page 5: ...tered 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 microsoft com Modbus is the property of the Schnei...

Page 6: ...n 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 HW revision 05 2019 02 Corrected Technical data Max current load pe...

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

Page 8: ...ict 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 liab...

Page 9: ...9 34079 3 1 Permitted use 34209 The IO Link master serves as a gateway between intelligent IO Link devices and the IoT core 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 63 ...

Page 10: ...IO Link Master with IoT 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: ...data between IO Linkmaster IO Link devices and the IT network level REST API to access process and parameter data Supported protocols TCP IP JSON MQTT 4 1 3 Security mode 54697 The IoT interface offers the following optional sercurity functions Secure data transfer via encrypted connection Secure Layer Transport TLS Access protection via authentification 4 1 4 Parameter setting 34210 The device pr...

Page 12: ...he 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 of the IO Link ports X01 X08 All inputs refer to the potential of the device supply pin 3 4 3 IO Link supply 34077 The device has 8 supplies for IO Link devices The IO Link ports X01 X08 are ports class A Every supply provides short circuit monitoring ...

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

Page 15: ...ptop PC with LR DEVICE parameter setting software laptop PC with LR SMARTOBSERVER monitoring software PC laptop with http request compatible software 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 61 Cover unused sockets with M12 protective caps art no E73004 Tightening torque 0 6 0 8 Nm ...

Page 16: ...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 Tigh...

Page 17: ...ing 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 devices...

Page 18: ...o 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 61 When using cable length greater than 25 m keep in mind the voltage drop as well as the required minimum voltage supply o...

Page 19: ...iew 19 LED indicators 20 34063 7 1 Overview 52274 1 Status LEDs RDY and IoT Status LEDs S 20 2 L A and 10 100 MBits s status LEDs of the IoT interface X21 X22 IoT interface S 20 3 IOL and DI status LEDs of the IO Link port X01 X08 IO Link ports Class A S 21 4 PWR status LED of the voltage supply X31 Voltage supply S 21 ...

Page 20: ...Error flashes 200 ms on 800 ms off Status Firmware update is running off Status Gateway not running or gateway booting IoT green off No connection to the LR SMARTOBSERVER on Connection to the LR SMARTOBSERVER activated 7 2 2 IoT interface 52238 Each IoT port X21 X22 has the 2 L A and 10 100 MBits s LEDs The LEDs indicate the status of the Ethernet connection Status LED Description L A green on Eth...

Page 21: ... IO Link device detected flashes 2 Hz Port configured as IO Link PROOPERATE state on Port configured as IO Link OPERATE state red flashes 2 Hz Port configuration error or short circuit or overload US on Transmission error DI yellow off Digital input pin 2 DI OFF on Digital input pin 2 DI ON 7 2 4 Voltage supply 34191 The interface for voltage supply X31 has the LED that is marked as US The LED ind...

Page 22: ...nt operating mode Operating and display elements S 19 To enable parameter setting of the AL1352 via the IoT core network the IoT interface must be configured according to the network environment Connect AL1352 via the ports X21 X22 to the IoT core network Configure the IoT interface IoT Configure IP settings S 27 IoT interface has valid IP settings User can set the parameters of the AL1352 Further...

Page 23: ... Mode Baud rate of the IO Link port MasterCycleTime Cycle time Vendor ID IO Link ID of the manufacturer of the IO Link device Device ID IO Link 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 product page on the ifm website Serial Serial number of the IO Link device Diagnostic information of the device Name ...

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

Page 25: ...GENT or LR SMARTOBSERVER 29 IO Link ports Configure operating mode 30 IO Link ports Set the device validation and data storage 31 IO Link ports Configuration of fail safe values 32 Info Show device information 32 Firmware Reset device to factory settings 33 Firmware Reboot the device 33 Configure IO Link devices 34 33692 On delivery the AL1352 is configured with the factory settings Factory settin...

Page 26: ... connected IO Link devices without being connected to the AL1352 OFFLINE mode The configuration created in this way can be stored as a file lrp and loaded to the AL1352 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 I...

Page 27: ... 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 mas...

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

Page 29: ...or LR SMARTOBSERVER String32 Factory setting AL1352 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 5 IO Link ports Activate data transfer to LR AGENT or LR SMARTOBSERVER 33690 The use...

Page 30: ...ode 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 mast...

Page 31: ...endor ID and device ID no there is no automatic 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 I...

Page 32: ...Fail safe IO Link Fail safe value of the output for operating mode IO Link Off No fail safe Reset Fail safe OFF Old Fail safe old value Pattern Fail safe byte sequence parameter can only be changed if the IoT core controller is disconnected Save changed values on the device 9 1 9 Info Show device information 34065 To read the general information of the ifm IO Link master Select Info menu The menu ...

Page 33: ...e 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 11 Firmware Reboot the device 33832 When rebooting the device all settings are kept To restart the AL1352 Select Firmware menu The menu page shows the current settings Click on Reboot to reboot the device LR DEVICE rebo...

Page 34: ...ter 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 device Mouse click on the port to which the IO Li...

Page 35: ...tion of the IO Link master 49 Read information about IO Link devices 49 Subscribe to events 50 MQTT support 52 Programmers notes 53 52244 General notes on the ifm IoT Core Programmers notes S 53 9 2 1 First steps 52245 To read the device description of the AL1352 Send the following POST request to the AL1352 code request cid 1 adr gettree AL1352 returns the device description as structured JSON ob...

Page 36: ...ead the value of the element setdata Write the value of the element 9 2 3 Configure the IoT interface 52247 The AL1352 is integrated into the IT network via the IoT interface Substructure iotsetup Available data points Name Description Access smobip IP address of the LR SMARTOBSERVER rw smobport Port number of the LR SMARTOBSERVER rw smobinterval Cycle time for the data transfer to the LR SMARTOBS...

Page 37: ...k 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 secur...

Page 38: ...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 se...

Page 39: ... 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 nam...

Page 40: ...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 size S...

Page 41: ... 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 Examp...

Page 42: ... 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 iolinkdev...

Page 43: ...on 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 of...

Page 44: ...cation 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 AL1352 for the representation in the LR SMARTOBSERVER Solution Change the parameter Application Tag with the setdata service to the value AL1352 The data point of the parameter Application Tag in the device description object is devicetag applicationtag Request code request c...

Page 45: ...ly 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 Th...

Page 46: ...tainer 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 to t...

Page 47: ...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 string ...

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

Page 49: ... fieldbustype Fieldbus r r read only Additional information about the AL1352 can be read with the getidentity service Service getidentity S 77 9 2 12 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 t...

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

Page 51: ...e 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 be...

Page 52: ...o send messages to a MQTT broker PUBLISH Example Publish the temperature to an MQTT broker 54687 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 xxx Request code request cid 1 adr iolinkmaster port 1 portevent datachanged subscribe data callback mqtt 172 18 87 50 1883 abc datatosend processdatamaster temperature...

Page 53: ...has an IoT Core The IoT Core allows the user to address the AL1352 from IT networks via a REST API and to integrate it into Internet of Things applications A device description is stored on the AL1352 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 object...

Page 54: ...iption 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 Di...

Page 55: ... Service to be performed Overview IoT services S 74 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 re...

Page 56: ...es have been accepted but were adjusted by the IO Link master 233 IP 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 50...

Page 57: ...irmware 58 Replace IO Link device 59 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 58: ...tings 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 Fir...

Page 59: ...s 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 AL1352 IO Link master copies parameter values from the data memory to the new IO ...

Page 60: ...11 Factory settings 33849 In the factory settings the device has the following parameter settings Parameter Factory setting 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 Host name blank Data storage empty ...

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

Page 62: ...IO Link Master with IoT Interface DataLine 8 Ports IP 65 IP 66 IP 67 62 13 Appendix Content Technical data 63 ifm IoT Core 67 33879 ...

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

Page 64: ...Class A 8 x 1 Max current load per output mA 300 Short circuit protection yes 13 1 6 Interfaces 52260 Interfaces Communication interface Ethernet IO Link Communication interface IO Link TCP IP TCP IP JSON Ethernet Transmission standard 10Base T 100Base TX Transmission rate MBit s 10 100 Protocol DCP DHCP Auto IP Factory settings IP address 169 254 X X Subnet mask 255 255 0 0 Gateway IP address 0 0...

Page 65: ...mperature 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 397 Materials Housing PA socket brass nickel plated ...

Page 66: ...oltage supply IN X31 Plug and socket connection M12 Wiring 1 24 V DC US 2 3 GND US 4 IoT port X21 X22 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 67: ...IO Link Master with IoT Interface DataLine 8 Ports IP 65 IP 66 IP 67 67 13 2 ifm IoT Core Content Overview IoT profile 68 Overview IoT types 73 Overview IoT services 74 33803 ...

Page 68: ...uploadedablesoftware 72 Profile timer 72 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 clea...

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

Page 70: ... 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_mo...

Page 71: ...file 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 The p...

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

Page 73: ... 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 74: ...78 Service iolreadacyclic 79 Service iolwriteacyclic 79 Service reboot 79 Service setblock 80 Service setdata 80 Service setelementinfo 81 Service signal 81 Service subscribe 82 Service unsubscribe 82 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 Example...

Page 75: ...ent 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 da...

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

Page 77: ... OF OBJECTS device optional AL1352 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 opti...

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

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

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

Page 81: ...rray 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 service s...

Page 82: ...tp 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 callbac...

Page 83: ...Symbols 5 F Factory settings 60 Firmware Reboot the device 33 Reset device to factory settings 33 First steps 35 Function 10 G General 7 General functions 36 GET request 54 I ifm IoT Core 35 67 Info Show device information 32 Inputs 64 Inputs outputs 63 Intended use 9 Interfaces 64 Internet of Things IoT 11 IO Link 11 IO Link ports 16 Activate data transfer to LR AGENT or LR SMARTOBSERVER 29 Confi...

Page 84: ...ta of the AL1352 48 Read information about IO Link devices 49 Remarks 26 Replace IO Link device 59 Required background knowledge 7 S Safety instructions 7 Safety symbols on the device 7 Security mode 11 Service factoryreset 74 getdata 75 getdatamulti 76 getidentity 77 getsubscriptioninfo 78 gettree 75 iolreadacyclic 79 iolwriteacyclic 79 reboot 79 setblock 80 setdata 80 setelementinfo 81 signal 81...

Reviews: