![SICK SIG200 Скачать руководство пользователя страница 96](http://html.mh-extra.com/html/sick/sig200/sig200_operating-instruction_1264337096.webp)
Command
HTTP
method
JSON request part
Response JSON body
Function
api/crown/ac/
TriggerDataStorage
POST
(write)
{ "data": {"Port":1}}
{
"header": {
"status": 0,
"message": "Ok"
},
"data": {
"Status": "No Error"
}
Starts IO-Link
“Data Storage”
as configured for
an IO-Link port
(“Port”=1, 2, 3,
or 4)
api/crown/ac/FindMe
POST
(write)
{ "data": {"Start":true}}
-
Effects blinking
of SF LED on
SIG200 for find‐
ing
(“Start”=”true” or
“false”)
api/crown/ac/
GetRestDataInLength
POST
(read)
-
{
"header": {
"status": 0,
"message": "Ok"
},
"data": {"Value": 3}
Returns the
amount of data
values available
for accessing
Logic Editor
inputs
api/crown/ac/
GetRestDataOutLength
POST
(read)
-
{
"header": {
"status": 0,
"message": "Ok"
},
"data": {"Value": 4}
Returns the
amount of data
values available
for accessing
Logic Editor out‐
puts
api/crown/ac/SetRestDataIn
POST
(write)
{
"data": {"Offset":2,
"Value": 1024}
}
-
Sets a data value
as Logic Editor
input (“Offset”
selects data
value; “Value”
defines the
value)
api/crown/ac/GetRestDataIn POST
(read)
{
"data": {"Offset":0}
}
{
"header": {
"status": 0,
"message": "Ok"
},
"data": {"Value": 1024}
Returns a data
value that was
set as Logic Edi‐
tor input (“Off‐
set” selects data
value)
api/crown/ac/GetRestDataOut POST
(read)
{
"data": {"Offset":0}
}
{
"header": {
"status": 0,
"message": "Ok"
},
"data": {"Value": 1024}
Returns a data
value that is a
Logic Editor out‐
put (“Offset”
selects data
value)
7.4.9
IO-Link device communication
Access to connected IO-Link devices is also possible via the REST API.
The namespace for accessing IO-Link devices in REST is "iolink/sickv1/".
NOTE
The namespace does not include the default name "api".
7
SIG200 CONFIGURATION
96
O P E R A T I N G I N S T R U C T I O N | Sensor Integration Gateway - SIG200
8017853.1D0S/2021-11-04 | SICK
Subject to change without notice