Command
HTTP
method
JSON request part
Response JSON body
Function
api/crown/ac/SetPortOutput
POST
(write)
{
"data":
{
"Port“:1,
„Value“: true
}
}
{
"header": {
"status": 0,
"message": "Ok"
},
"data": {
"Status": "Ok"
}
}
Sets pin 4 to high
(true) or low
(false) according
to the value and
port defined in
the request part.
NOTE
The port owner
needs to be con‐
figured as REST
in order to
change the state
of the digital out‐
put.
api/crown/ac/
GetPortConfiguration
POST
(read)
{ "data": {"Port":1}}
{
"header": {
"status": 0,
"message": "Ok"
},
"data": {
"Status": "OK",
"Pin4Configuration": "IOLink",
"PortOwner": "Logic Editor",
"CycleTime":
"as fast as possible",
"IODDFileName": "none",
"DataStorageLevel":
"Disabled",
"VendorID": "0",
"DeviceID": "0"
}
Returns the full
port configura‐
tion of an IO-Link
port (“Port”=1, 2,
3, or 4)
api/crown/ac/
ReadDataStorage
POST
(read)
{
"data":
{
"Port": 1
}
}
{
"header": {
"status": 0,
"message": "Ok"
},
"data": {
}
}
Returns data
storage object as
a Base64 coded
string of an IO-
Link port
(“Port”=1, 2, 3,
or 4).
api/crown/ac/
WriteDataStorage
POST
(write)
{
"data":
{
"Port": 1
"DS_Data":
"eHCAIRoA1gGAAAAADAAAA‐
gAAGAAAB3QAdGVzdCB‐
CAAABAkMAAAQAAAACRAAA‐
BAAAAMhRAAAEAAAQA‐
FIAAAQBAAAAVQAAAQA="
}
}
{
"header": {
"status": 0,
"message": "Ok"
},
"data": {
"ErrorInfo": "OK"
}
}
Writes and
applies data stor‐
age object as a
Base64 coded
string of an IO-
Link port
(“Port”=1, 2, 3,
or 4). Ensure that
the data storage
object is compat‐
ible to the con‐
nected device.
SIG200 CONFIGURATION
7
8017853.1D0S/2021-11-04 | SICK
O P E R A T I N G I N S T R U C T I O N | Sensor Integration Gateway - SIG200
95
Subject to change without notice