EasyManua.ls Logo

IFM AL1340 - Page 60

IFM AL1340
129 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
IO-Link Master with Modbus TCP Interface DataLine 4 Ports IP 65 / IP 66 / IP 67
60
>
POST request
54700
Using a POST request the user has read and write access to a data point.
The syntax of the request to the IoT Core is:
{
"code":"code_id",
"cid":id,
"adr":"data_point/service",
"data":{req_data},
"auth":{"user":"usr_id","passwd":"password"}
}
Field
Parameter
Description
code
code_id
Service class
request
Request
transaction
Transaction
event
Event
cid
id
Correlation ID for the assignment of request and response; vom Nutzer frei vergebbare
Kennung
adr
data_point
Data point of the element tree which is to be accessed
service
Service to be performed (→ Overview: IoT services (→ S. 119))
data*
req_data
Data to be transferred to the IoT Core (e.g. new values); syntax depending on the service
auth**
usr_id
user name (base64 coded); default value: administrator
password
password (base64 coded)
* = optional; only required for services, that submit data to the IoT core (e. g. setdata)
** = optional; only required, if security mode is activated
The syntax of the return of the IoT Core is:
{
"cid":id,
"data":{resp_data},
"code":diag_code
}
Field
Parameter
Description
cid
id
Correlation ID for the assignment of request and response (see request)
data*
resp_data
Value of the data point; syntax depending on the service
code
diag_code
Diagnostic code (→ IoT Core: Diagnostic codes (→ S. 62))
* = optional; only required for services, that receive data from the IoT core (e.g. gettdata)