ZB0929
Gateway
22
{
"code":"request",
"cid":4711,
"adr":"/nodes/vwv-node-ifm12345/nodeconfig/measurement-interval/setdata",
"data":{“newvalue“:120}
}
12.3.3 Diagnostic codes
Code
Text
Description
200
OK
Request successfully processed
230
OK but needs reboot
Request successfully processed; the IO-Link master must be re-
booted
231
OK but block request not finished
Request successfully processed; but block request not finished
Code
Text
Description
232
Data has been accepted, but internally modified
New values have been accepted but adjusted by the device
(master cycle time)
400
Bad request
Invalid request
403
Forbidden
Forbidden request
500
Internal Server Error
Internal fault
503
Service Unavailable
Service not available
530
The requested data is invalid
Invalid process data
12.3.4 Getting started
To read the device description and the address tree of the device:
u
Send the following POST request to the device:
{"code":"request","cid": 1,"adr":"gettree"}
w
The device returns the device description as structured JSON object.
u
Identify all substructures and the data points contained therein in the tree structure of the JSON
object.
u
Identify the applicable services for the access to substructures and the data points contained
therein.
12.3.5 General functions
The device has the element
device
.
The following services can be used on the root element of the type
device
:
Service
Description
../gettree
Provide the complete tree or subtree of the device description (JSON)
../getidentity
Read device information
../getdatamulti
Read several parameter values sequentially
../getsubscriberlist
Print a list of all active notification subscriptions
../querytree
Search device description for specific elements
Depending on the read and write access rights, the following services can be applied to elements of
the type
data
: