106
ifm
Device Manual IO-Link Master with Modbus interface CabinetLine 8 Ports IP 20 (AL1940)
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"}
}