Download OpenAPI specification:
This is the REST interface description of the picoScan150. 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
}
}
}Returns/sets the mean filter settings. This filter smooths the distance value by calculating the arithmetic mean from the configured number of scans (2..4 scans). Points with zero distance are treated as missing values and are not taken into account for averaging. If all distances considered for averaging have the value 0, the result will be 0 as well.
{- "bEnable": false,
- "uiAveragingDepth": 3
}Returns/sets the mean filter settings. This filter smooths the distance value by calculating the arithmetic mean from the configured number of scans (2..4 scans). Points with zero distance are treated as missing values and are not taken into account for averaging. If all distances considered for averaging have the value 0, the result will be 0 as well.
successful operation
object |
{- "data": {
- "LFPmovingAveragingFilter": {
- "bEnable": false,
- "uiAveragingDepth": 3
}
}
}Returns/sets the multi-echo filter settings. Depending on the environment the sensor receives several measurement points on the same angular step (multi-echo). The filter can out the first echo, the last echo or all echos.
0Returns/sets the multi-echo filter settings. Depending on the environment the sensor receives several measurement points on the same angular step (multi-echo). The filter can out the first echo, the last echo or all echos.
successful operation
object |
{- "data": {
- "FREchoFilter": 0
}
}Returns/sets of the contamination indication settings such as sensitivity, response time, threshold for warning, and active sectors.
{- "eStrategy": 0,
- "usiResponseTime": 3,
- "eThreshold": 0,
- "eCover": 0,
- "CustomSectors": [ ],
- "bEnableWarning": true,
- "bEnableError": true
}Returns/sets of the contamination indication settings such as sensitivity, response time, threshold for warning, and active sectors.
successful operation
object |
{- "data": {
- "ContaminationConfig": {
- "eStrategy": 0,
- "usiResponseTime": 3,
- "eThreshold": 0,
- "eCover": 0,
- "CustomSectors": [ ],
- "bEnableWarning": true,
- "bEnableError": true
}
}
}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,
- "aDigitalIn": [
- {
- "IOState": {
- "eIOState": 0
}
}, - {
- "IOState": {
- "eIOState": 0
}
}, - {
- "IOState": {
- "eIOState": 0
}
}, - {
- "IOState": {
- "eIOState": 0
}
}, - {
- "IOState": {
- "eIOState": 0
}
}, - {
- "IOState": {
- "eIOState": 0
}
}, - {
- "IOState": {
- "eIOState": 0
}
}, - {
- "IOState": {
- "eIOState": 0
}
}
], - "aTimeBlock": [ ]
}{- "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
}
}Returns/sets the destination IP address settings for IMU data streaming (UDP).
successful operation
object |
{- "data": {
- "ImuDataEthSettings": {
- "Protocol": 1,
- "IPAddress": [
- 192,
- 168,
- 0,
- 100
], - "Port": 7503
}
}
}Returns the current IMU data (e.g. Acceleration, Orientation, ... ). The data is given in the following coordinate system which is based on the DIN70000 system. The x-axis lies on the 90-degree-beam of the 0-degree-layer. The y-axis is perpendicular to the x-axis and lies in the 0-degree-layer. The y-values are rising in the counterclockwise rotation direction (right-handed system). The z-axis is perpendicular to the x-y-plane and the scanner top points to rising z-values.
{- "Acceleration": [ ],
- "AngularVelocity": [ ],
- "Orientation": [ ],
- "TimeStamp": 0
}Returns/sets the angle range filter settings. The filter restricts the output scan to a specified angle range. Filtered measurement values are set to 0. If the content of a complete data segment is set to 0 this segment is not output anymore.
{- "bEnable": false,
- "fThetaStart": -900000,
- "fThetaStop": 900000,
- "fPhiStart": -900000,
- "fPhiStop": 900000,
- "uiBeamIncrement": 1
}Returns/sets the angle range filter settings. The filter restricts the output scan to a specified angle range. Filtered measurement values are set to 0. If the content of a complete data segment is set to 0 this segment is not output anymore.
successful operation
object |
{- "data": {
- "LFPangleRangeFilter": {
- "bEnable": false,
- "fThetaStart": -900000,
- "fThetaStop": 900000,
- "fPhiStart": -900000,
- "fPhiStop": 900000,
- "uiBeamIncrement": 1
}
}
}Returns/sets the interval filter settings. The filter reduces the scan output rate by a given factor.
successful operation
object |
{- "data": {
- "LFPintervalFilter": {
- "bEnable": false,
- "uiReductionFactor": 2
}
}
}Returns/sets the scanning range filter settings. Restriction of the distance measurements to a specified distance range. Measurement distances outside of the specified distance are assigned the distance and RSSI value 0.
{- "bEnable": false,
- "ulDistMin": 0,
- "ulDistMax": 200000
}Returns/sets the scanning range filter settings. Restriction of the distance measurements to a specified distance range. Measurement distances outside of the specified distance are assigned the distance and RSSI value 0.
successful operation
object |
{- "data": {
- "LFPradialDistanceRangeFilter": {
- "bEnable": false,
- "ulDistMin": 0,
- "ulDistMax": 200000
}
}
}Returns/sets the cuboid area filter settings. The cuboid area filter limits the measurement data box defined by its extension in the x- and y-axis.
{- "bEnable": false,
- "lXMin": 0,
- "lXMax": 5000,
- "lYMin": -5000,
- "lYMax": 5000,
- "lZMin": -20000,
- "lZMax": 20000
}Returns/sets the cuboid area filter settings. The cuboid area filter limits the measurement data box defined by its extension in the x- and y-axis.
successful operation
object |
{- "data": {
- "LFPcubicareafilter": {
- "bEnable": false,
- "lXMin": 0,
- "lXMax": 5000,
- "lYMin": -5000,
- "lYMax": 5000,
- "lZMin": -20000,
- "lZMax": 20000
}
}
}Sets the activation condition for all existing evaluation groups (not configured, active, or inactive).
successful operation
object |
{- "data": {
- "List": [
- {
- "GroupId": 1,
- "Activate": true
}, - {
- "GroupId": 2,
- "Activate": false
}, - {
- "GroupId": 3,
- "Activate": true
}
]
}
}{- "Success": [ ]
}Sets the contour of an existing field.
successful operation
object |
{- "data": {
- "EvaluationId": 1,
- "LowerZLimit": 0,
- "UpperZLimit": 0,
- "Points": [
- {
- "x": 0,
- "y": -1000
}, - {
- "x": 1000,
- "y": -1000
}, - {
- "x": 1000,
- "y": 1000
}, - {
- "x": 0,
- "y": 1000
}
]
}
}{- "ErrorCode": 0
}Returns the contour of an existing field.
successful operation
object |
{- "data": {
- "EvaluationId": 0
}
}{- "Contour": [ ]
}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
}[- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true
]Returns/sets the evaluations which are logged (if they are in use).
successful operation
object |
{- "data": {
- "EvaluationsToLog": [
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true,
- true
]
}
}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": " "
}
}