![background image](http://html1.mh-extra.com/html/ifm/al1330/al1330_operating-instructions-manual_3887894131.webp)
IO-Link master with EtherCAT interface DataLine 4 ports IP 65 / IP 66 / IP 67
131
>
Service: setblock
34186
Name:
setblock
Description:
The service simultaneously sets the values of several data points of a structure.
Request data (field "data"):
Data field
Required field
Data type
Description
datatoset
mandatory
ARRAY OF
OBJECTS
List of data points and their new values; data points must support the
service setdata
consistent
optional
BOOL
Response data (field "data"):
none
Example:
Request:
{
"code":"request",
"cid":4711,
"adr":"iotsetup/network/setblock",
"data":{
"datatoset":{
"ipaddress":"192.168.0.6",
"subnetmask":"255.255.255.0",
"ipdefaultgateway":"192.168.0.250",
"dhcp":0}
}
}
Response:
{
"cid":4711,
"code":233
}