Download OpenAPI specification:
This is the REST interface description of the picoScan120. The range of functions can vary depending on the variant and software package.
Returns authentication success. For more details see https://github.com/SICKAG/sick_scan_rest_client
successful operation
{ }Sets the password for the CoLa A/B interface only. In this example the password for user level: Service (4) is set to - test - (integer value of the password hash - test -). For more details see https://github.com/SICKAG/sick_scan_rest_client
successful operation
object |
{- "data": {
- "siUserLevel": 4,
- "udiNewPassword": 3410122659
}
}{- "bSuccess": false
}Returns a challenge for the challenge and response authentication method. For more details see https://github.com/SICKAG/sick_scan_rest_client
successful operation
object |
{- "data": {
- "user": "Run"
}
}{- "realm": " ",
- "nonce": " ",
- "opaque": " ",
- "salt": [ ]
}Sets the password for the REST interface. For more details see https://github.com/SICKAG/sick_scan_rest_client
successful operation
object |
{- "data": {
- "encryptedMessage": [ ],
- "userLevel": "Run"
}
}{- "result": 0
}Activates / deactivates a specific user level for the REST interface.
successful operation
object |
{- "data": {
- "userLevel": 0,
- "isEnabled": false
}
}{- "result": 0
}Activates / deactivates a specific user level for the CoLa A/B interface.
successful operation
object |
{- "data": {
- "userLevel": 7,
- "isEnabled": false
}
}{- "result": false
}Resets only the user parametrization of the fields, evaluation cases, and parameters under the section "Application". Other parameters like interface settings, echo filter, etc. remain unchanged. This function requires the user level: Service.
successful operation
{ }Sets the time of the device (years, months, days, hours, minutes, seconds, microseconds).
successful operation
object |
{- "data": {
- "DateTime": {
- "uiYear": 0,
- "usiMonth": 1,
- "usiDay": 1,
- "usiHour": 0,
- "usiMinute": 0,
- "usiSec": 0,
- "udiUSec": 0
}
}
}{- "ErrorCode": 0
}Returns/sets the particle filter settings. Filters out disturbances in the measurement data caused by particles such as dust, snowflakes, or similar. Configure the minimal threshold of the required distance step (mm) between the echo to be filtered and the echoes of surrounding beam angles.
{- "bEnable": false,
- "uiThreshold": 500
}Returns/sets the particle filter settings. Filters out disturbances in the measurement data caused by particles such as dust, snowflakes, or similar. Configure the minimal threshold of the required distance step (mm) between the echo to be filtered and the echoes of surrounding beam angles.
successful operation
object |
{- "data": {
- "LFPparticle": {
- "bEnable": false,
- "uiThreshold": 500
}
}
}Configures the device search by SICK tools. If disabled, finding the device via device search and changing the IP address via SICK tools is not possible.
successful operation
object |
{- "data": {
- "EtherCoLaScanMode": 0
}
}Sets availability of the webserver (reboot required). If disabled, the webserver-based GUI and the REST interface can not be used anymore.
successful operation
object |
{- "data": {
- "Enable": true
}
}{- "uiVersionNumber": 1,
- "udiSystCount": 0,
- "aDigitalOut": [
- {
- "IOState": {
- "eIOState": 0
}, - "udiCounter": 0
}, - {
- "IOState": {
- "eIOState": 0
}, - "udiCounter": 0
}, - {
- "IOState": {
- "eIOState": 0
}, - "udiCounter": 0
}, - {
- "IOState": {
- "eIOState": 0
}, - "udiCounter": 0
}, - {
- "IOState": {
- "eIOState": 0
}, - "udiCounter": 0
}, - {
- "IOState": {
- "eIOState": 0
}, - "udiCounter": 0
}, - {
- "IOState": {
- "eIOState": 0
}, - "udiCounter": 0
}, - {
- "IOState": {
- "eIOState": 0
}, - "udiCounter": 0
}
], - "aTimeBlock": [ ]
}[- {
- "PortType": 0,
- "Name": "IOx",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 0,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 0,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 0,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [ ]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 0,
- "Name": "IOx",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 0,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 0,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 0,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [ ]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 0,
- "Name": "IOx",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 0,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 0,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 0,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [ ]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 0,
- "Name": "IOx",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 0,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 0,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 0,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [ ]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 0,
- "Name": "IOx",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 0,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 0,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 0,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [ ]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 0,
- "Name": "IOx",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 0,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 0,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 0,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [ ]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 0,
- "Name": "IOx",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 0,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 0,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 0,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [ ]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 0,
- "Name": "IOx",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 0,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 0,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 0,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [ ]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}
]Returns/sets the port configuration of all I/Os.
successful operation
object |
{- "data": {
- "PortConfiguration": [
- {
- "PortType": 0,
- "Name": "InOut1",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 1,
- "Sensitivity": 1,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 1,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 1,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [ ]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 1,
- "Name": "InOut2",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 1,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 1,
- "OutputMode": 2,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 1,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [
- {
- "Name": "DRDY",
- "Invert": false,
- "Reserved5": 0,
- "Reserved6": 0
}
]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 1,
- "Name": "InOut3",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 1,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 0,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 1,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [
- {
- "Name": "FE01",
- "Invert": false,
- "Reserved5": 0,
- "Reserved6": 0
}
]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 0,
- "Name": "InOut4",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 1,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 0,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 1,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [ ]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 0,
- "Name": "InOut5",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 1,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 0,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 1,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [ ]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 0,
- "Name": "InOut6",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 1,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 0,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 1,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [ ]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 1,
- "Name": "InOut7",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 1,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 1,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 1,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [
- {
- "Name": "DRDY",
- "Invert": false,
- "Reserved5": 0,
- "Reserved6": 0
}
]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}, - {
- "PortType": 1,
- "Name": "InOut8",
- "InputSettings": {
- "Logic": 0,
- "Debounce": 10,
- "Sensitivity": 1,
- "Reserved1": 0,
- "Reserved2": 0
}, - "OutputSettings": {
- "Logic": 1,
- "OutputMode": 0,
- "RestartType": 0,
- "RestartTime": 200,
- "RestartInput": 1,
- "Combination": 1,
- "Reserved3": 0,
- "Reserved4": 0,
- "Sources": [
- {
- "Name": "DRDY",
- "Invert": false,
- "Reserved5": 0,
- "Reserved6": 0
}
]
}, - "Reserved7": 0,
- "Reserved8": 0,
- "Reserved9": 0,
- "Reserved10": 0
}
]
}
}Sets the output state for an individual output. Precondition ist to set the output source to "SOPAS command".
successful operation
object |
{- "data": {
- "Output": 0,
- "Value": 0
}
}{- "Success": false
}Returns/sets the destination IP address settings for measurement data streaming (UDP).
successful operation
object |
{- "data": {
- "ScanDataEthSettings": {
- "Protocol": 1,
- "IPAddress": [
- 192,
- 168,
- 0,
- 100
], - "Port": 2115
}
}
}Enables/disables the measurement data streaming. The measurement data itself is sent via a UDP-based SICK-specific format. A Python example can be found at https://github.com/SICKAG/ScanSegmentAPI.
falseEnables/disables the measurement data streaming. The measurement data itself is sent via a UDP-based SICK-specific format. A Python example can be found at https://github.com/SICKAG/ScanSegmentAPI.
successful operation
object |
{- "data": {
- "ScanDataEnable": false
}
}Creates a diagnostic file (zip file) for further analysis.
successful operation
object |
{- "data": {
- "DoRunlevelLoop": true,
- "Output": "file"
}
}{- "Successfull": false
}Returns additional meta-information about the diagnostic file.
successful operation
{ }{- "DiagDumpExists": false,
- "DiagDumpTimestamp": 0
}Removes the uploaded certificate bundle.
successful operation
{ }{- "success": false,
- "errorCode": {
- "error": " "
}
}Uploads a certificate bundle in the PEM format via JSON.
successful operation
object |
{- "data": {
- "contentCertificateBundle": " ",
- "contentPrivateKey": " "
}
}{- "success": false,
- "errorCode": {
- "error": " "
}
}