![background image](http://html.mh-extra.com/html/ifm/al1301/al1301_operating-instructions-manual_620805084.webp)
84
ifm
Operating Instructions IO-Link Master with PROFINET interface DataLine 4 Ports IP 65 / IP 66 / IP 67 / IP 69K (AL1301)
05 / 2018
Appendix
ifm IoT Core
>
Service: setblock
12224
Name:
setblock
Description:
The service simultaneously sets the values of several data points of a structure.
Applicable to:
Objects of the
data
type
Request data:
Data field
Required
field
Data type
Default
Description
datatosend
mandatory
ARRAY OF
(STRINGS)
List of data points and their new values; data points must
support the service setdata
consistent
optional
BOOL
false
Return data (data):
none
Example:
{
"code":10,
"cid":4711,
"adr":"/iotsetup/network/setblock",
"data":{"consistent":true,"datatosend":["ipaddresse":"192.168.0.6","ipdefaultgatew
ay":"192.168.0.250"]}
}
>
Service: setdata
11036
Name:
setdata
Description:
The service sets the value of the data point.
Applicable to:
Objects of the
data
type
Request data:
Data field
Required
field
Data type Default
Description
newvalue
mandatory
STRING
New value of the element/data point
Return data (data):
none
Example:
{
"code":10,
"cid":4711,
"adr":"devicetag/applicationtag/setdata",
"data":{"newvalue":"ifm IO-Link master"}
}