IFM AL1327 handleiding

125 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 54 van 125
AL1327 IO-Link master with EtherNet/IP interface
54
w The data storage mechanism on IO-Link device will be activated.
w The IO-Link device synchronises changed parameter values with data storage of the IO-Link
master.
9.2.17.1 Example: Reading a parameter value of an IO-Link device
Task: Reading the serial number of the ifm temperature sensor TN2531 at port 2.
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]/iolinkdevice/iolreadacyclic",
"data":{
"index":21,
"subindex":0
}
}
Response:
{
"cid":4711,
"data":{"value":"4730323134323830373130"},
"code":200
}
The returned value is displayed in hexadecimal format. Converting the HEX value to a STRING value
results in: G0214280710.
9.2.17.2 Example: Writing a parameter value of an IO-Link device
Task: Setting the output configuration OUT1 of the ifm temperature sensor TN2531 at port 2 to the
value "Hnc / hysteresis function, normally closed".
Solution: Set the parameter [ou1] of the sensor with the service iolwriteacyclic to the value 4.
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 must be passed in hexadecimal format. Converting the STRING value to a HEX value
results in: 34.
Response:

Bekijk gratis de handleiding van IFM AL1327, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkIFM
ModelAL1327
CategorieNiet gecategoriseerd
TaalNederlands
Grootte10357 MB