LRS4000 REST interface description (1.9.1-b.0+1030.9320b)

Download OpenAPI specification:

This is the REST interface description of the LRS4000. The range of functions can vary depending on the variant and software package.

1 - General

Post/SetPassword

Sets the password for the CoLa A/B interface. In this example the password for userlevel 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

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "bSuccess": false
}

Post/getChallenge

Returns a challenge for the challenge and response authentication method. For more details see https://github.com/SICKAG/sick_scan_rest_client

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "realm": " ",
  • "nonce": " ",
  • "opaque": " ",
  • "salt": [ ]
}

Post/changePassword

Sets the password for the REST interface.For more details see https://github.com/SICKAG/sick_scan_rest_client

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "result": 0
}

Post/WriteEeprom

Saves all parameters permanently.

Request Body schema: application/json
required

successful operation

object or null

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "Success": false
}

Post/SoftReset

Reboots the device. All non-saved parameters are lost. This function requires the user level: Service.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/RebootDevice

Reboots the device and includes saving of all parameters.This function requires the user level: Service.

Request Body schema: application/json
required

successful operation

object or null

Responses

Request samples

Content type
application/json
{ }

Post/LoadFactoryDefaults

Resets all parameters to default.This function requires the user level: Service.

Request Body schema: application/json
required

successful operation

object or null

Responses

Request samples

Content type
application/json
{ }

Post/LoadApplicationDefaults

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.

Request Body schema: application/json
required

successful operation

object or null

Responses

Request samples

Content type
application/json
{ }

2 - Status

Get/DeviceStatus

Returns the device state (9 possible states).

Responses

Response samples

Content type
application/json
0
0

Get/SCdevicestate

Returns the device state (busy, ready, or ready).

Responses

Response samples

Content type
application/json
0
0

3 - Device

Get/DeviceIdent

Returns the device name and firmware version.

Responses

Response samples

Content type
application/json
{
  • "Name": "LRSNAV",
  • "Version": "1.9.1.0B"
}

Get/LocationName

Returns/sets the device name.

Responses

Response samples

Content type
application/json
"not defined"

Post/LocationName

Returns/sets the device name.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/SerialNumber

Returns the serial number.

Responses

Response samples

Content type
application/json
"12345678"

Get/FirmwareVersion

Returns the current firmware version.

Responses

Response samples

Content type
application/json
"x.x.x.x"

Post/FindMe

Sets the device LEDs into blinking mode for better identification.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/OrderNumber

Returns the order number (SICK part number).

Responses

Response samples

Content type
application/json
"1234567"

Get/DeviceType

Returns the device type.

Responses

Response samples

Content type
application/json
"LRSNAV"

4 - Basic settings

Get/ScanConfig

Configuration of angular resolution, scanning frequency, start- and stop angle

Responses

Response samples

Content type
application/json
{
  • "udiScanFreq": 1250,
  • "ScanRange": {
    }
}

Get/SensitivityMode

The sensitivity mode can be used to adjust the detection behavior. A higher sensitivity increases the scanning range.This setting should only be used when there is no direct sunlight and only low ambient light. A higher sensitivity increases the proneness to measurement noise and data loss. Ambient light can negatively affect the signal quality and impair the measurement performance.

Responses

Response samples

Content type
application/json
0
0

Post/SensitivityMode

The sensitivity mode can be used to adjust the detection behavior. A higher sensitivity increases the scanning range.This setting should only be used when there is no direct sunlight and only low ambient light. A higher sensitivity increases the proneness to measurement noise and data loss. Ambient light can negatively affect the signal quality and impair the measurement performance.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/SetScanConfigList

Set a new device scan resolution/frequency combination. Please note that configurations, starting with value 3x or 9x switch the device from standard to extended range mode and values starting with x, 1x, 6x, 7x switch the device from extended range to normal mode.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "eScanConfigError": 0
}

Get/LEDEnable

Returns/sets the LED mode (on/off).

Responses

Response samples

Content type
application/json
true

Post/LEDEnable

Returns/sets the LED mode (on/off).

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/mStartMeasure

Start motor, measurement and laser.

Request Body schema: application/json
required

successful operation

object or null

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "ErrorCode": 0
}

Post/mStandby

Disable the laser.

Request Body schema: application/json
required

successful operation

object or null

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "ErrorCode": 0
}

5 - Date and system time

Get/DeviceTime

Returns the current time of the internal clock (ms). The timer is 32 bit counter with a resolution of 1 ms.

Responses

Response samples

Content type
application/json
0
0

Get/TSCRole

Returns/sets the time synchronization role (none = 0 , NTP = 1 or PTP = 3).

Responses

Response samples

Content type
application/json
0
0

Post/TSCRole

Returns/sets the time synchronization role (none = 0 , NTP = 1 or PTP = 3).

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/TSCTCSrvAddr

Returns/sets the NTP time server"s IP address.

Responses

Response samples

Content type
application/json
[
  • 192,
  • 168,
  • 0,
  • 11
]

Post/TSCTCSrvAddr

Returns/sets the NTP time server"s IP address.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/TSCTCtimezone

Returns/sets the NTP time zone.

Responses

Response samples

Content type
application/json
0
0

Post/TSCTCtimezone

Returns/sets the NTP time zone.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/TSCTCupdatetime

Returns/sets the NTP update time.

Responses

Response samples

Content type
application/json
600

Post/TSCTCupdatetime

Returns/sets the NTP update time.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/DateTime

Returns the current time of the device (years, months, days, hours, minutes, seconds, microseconds).

Responses

Response samples

Content type
application/json
{
  • "uiYear": 0,
  • "usiMonth": 1,
  • "usiDay": 1,
  • "usiHour": 0,
  • "usiMinute": 0,
  • "usiSec": 0,
  • "udiUSec": 0
}

Post/mSetDateTime

Sets the time of the device (years, months, days, hours, minutes, seconds, microseconds).

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "ErrorCode": 0
}

6 - Filter

Get/FREchoFilter

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.

Responses

Response samples

Content type
application/json
0
0

Post/FREchoFilter

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.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/ParticleFilter

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.

Responses

Response samples

Content type
application/json
{
  • "bEnable": false,
  • "uiThreshold": 1000
}

Post/ParticleFilter

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.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/MeanFilter

Returns/sets the mean filter settings. This filter smooths the distance value by calculating the arithmetic mean from the configured number of scans.

Responses

Response samples

Content type
application/json
{
  • "bEnable": false,
  • "uiScanNumber": 10,
  • "eFilterMethod": 0
}

Post/MeanFilter

Returns/sets the mean filter settings. This filter smooths the distance value by calculating the arithmetic mean from the configured number of scans.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/LFPmedianfilter

Returns/sets the median filter settings. This filter smooths the distance values by transmitting just the median value of the last X scans.

Responses

Response samples

Content type
application/json
{
  • "bEnable": false,
  • "uiMedianWidth": 3
}

Post/LFPmedianfilter

Returns/sets the median filter settings. This filter smooths the distance values by transmitting just the median value of the last X scans.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

7 - Contamination indication

Get/ContaminationConfig

Returns/sets of the contamination indication settings such as sensitivity, response time, threshold for warning, and active sectors.

Responses

Response samples

Content type
application/json
{
  • "eStrategy": 0,
  • "usiResponseTime": 3,
  • "eThreshold": 0,
  • "eCover": 0,
  • "CustomSectors": [
    ],
  • "bEnableWarning": true,
  • "bEnableError": true
}

Post/ContaminationConfig

Returns/sets of the contamination indication settings such as sensitivity, response time, threshold for warning, and active sectors.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/ContaminationData

Returns the contamination state of all contamination sectors.

Responses

Response samples

Content type
application/json
[
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0
]

Get/ContaminationActiveSectors

Returns the active contamination sectors. Starts with right backside of the sensor when looking to the device on topside view and continues counterclockwise.

Responses

Response samples

Content type
application/json
[
  • false,
  • false,
  • false,
  • false,
  • false,
  • false,
  • false,
  • false,
  • false,
  • false,
  • false,
  • false
]

Get/ContaminationResult

Returns the contamination indication state of the device.

Responses

Response samples

Content type
application/json
{
  • "warningActive": false,
  • "errorActive": false
}

8 - Ethernet

Get/EtherIPAddress

Returns/sets used static IP address.

Responses

Response samples

Content type
application/json
[
  • 192,
  • 168,
  • 0,
  • 1
]

Post/EtherIPAddress

Returns/sets used static IP address.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/EtherIPGateAddress

Returns/sets default gateway address.

Responses

Response samples

Content type
application/json
[
  • 0,
  • 0,
  • 0,
  • 0
]

Post/EtherIPGateAddress

Returns/sets default gateway address.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/EtherIPMask

Returns/sets the subnet mask.

Responses

Response samples

Content type
application/json
[
  • 255,
  • 255,
  • 255,
  • 0
]

Post/EtherIPMask

Returns/sets the subnet mask.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/EtherAddressingMode

Returns/sets the mode for the IP address assignment (static or DHCP).

Responses

Response samples

Content type
application/json
0
0

Post/EtherAddressingMode

Returns/sets the mode for the IP address assignment (static or DHCP).

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/EtherDHCPFallback

Returns/sets the more for the DHCP fallback (retry or static)

Responses

Response samples

Content type
application/json
0
0

Post/EtherDHCPFallback

Returns/sets the more for the DHCP fallback (retry or static)

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/EtherIPAddressDHCP

Returns the assigned DHCP IP address.

Responses

Response samples

Content type
application/json
[
  • 192,
  • 168,
  • 0,
  • 1
]

Get/EtherIPGateAddressDHCP

Returns the assigned DHCP default gateway address.

Responses

Response samples

Content type
application/json
[
  • 0,
  • 0,
  • 0,
  • 0
]

Get/EtherIPMaskDHCP

Returns the assigned DHCP subnet mask.

Responses

Response samples

Content type
application/json
[
  • 255,
  • 255,
  • 255,
  • 0
]

Get/EtherMACAddress

Returns the MAC address of the ethernet interface.

Responses

Response samples

Content type
application/json
[
  • 0,
  • 6,
  • 119,
  • 0,
  • 0,
  • 0
]

Post/EtherColaTransmitTimeout

This parameter should only be changed in case the sensor is connected to a network where reconnections may be required caused by e.g. loose contact of the Ethernet cable. This command changes the Acknowledge timeout for TCP based CoLa protocols. Reducing the Acknowledge timeout allows a faster restart of data transmission after unwanted disconnects. In large networks with high amount of data traffic, a reduced Acknowledge timeout may lead to a port close, initiated by the sensor.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

9 - Leagcy protocols

Get/EtherAuxEnabled

Enables/disables the legacy interface CoLa A/B. If enabled CoLa A uses port 2111 and CoLa B uses 2112.

Responses

Response samples

Content type
application/json
true

Post/EtherAuxEnabled

Enables/disables the legacy interface CoLa A/B. If enabled CoLa A uses port 2111 and CoLa B uses 2112.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/EnableColaScan

Enables/disables 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.

Responses

Response samples

Content type
application/json
true

Post/EnableColaScan

Enables/disables 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.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/EtherCoLaAEventsEnable

This command enables/ disables the CoLa A event output. If disabled, CoLa A port 2111 still provides access to poll device parameters but event-based streaming output is limited to the ports 2112 (CoLa B) or data protocol Compact.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

10 - Webserver settings

Post/SetWebserverEnabled

Sets availability of the webserver (reboot required). If disabled, the webserver-based GUI and the REST interface can not be used anymore.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

11 - Inputs and outputs

Get/InputState

Returns the state of all inputs.

Responses

Response samples

Content type
application/json
{
  • "uiVersionNumber": 1,
  • "udiSystCount": 0,
  • "aDigitalIn": [
    ],
  • "aTimeBlock": [ ]
}

Get/OutputState

Returns the state of all outputs.

Responses

Response samples

Content type
application/json
{
  • "uiVersionNumber": 1,
  • "udiSystCount": 0,
  • "aDigitalOut": [
    ],
  • "aTimeBlock": [ ]
}

Get/PortState

Returns the state of the ports. PortState is preferred over OutputState.

Responses

Response samples

Content type
application/json
{
  • "uiVersionNumber": 0,
  • "udiSystCount": 0,
  • "aInternalPorts": [ ],
  • "aExternalPorts": [ ],
  • "aTimeBlock": [ ]
}

Post/mResetOutputCounter

Resets the counter for the outputs.

Request Body schema: application/json
required

successful operation

object or null

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "ErrorCode": 0
}

Get/PortConfiguration

Returns/sets the port configuration of all I/Os.

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    },
  • {
    },
  • {
    },
  • {
    }
]

Post/PortConfiguration

Returns/sets the port configuration of all I/Os.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/SetOutput

Sets the output state for an individual output. Precondition: output source set to SOPAS command.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "Success": false
}

12 - Data output

Get/DataOutputRange

Select the start and stop angle of the measurement data output for the currently active configuration. Once a valid configuration is set, the device will transmit valid distance values between the selected start and stop angle and for all other angles zero values. The amount of transmitted data will not be reduced by using this function.

Responses

Response samples

Content type
application/json
{
  • "uiLength": 1,
  • "aRange": [
    ]
}

Post/DataOutputRange

Select the start and stop angle of the measurement data output for the currently active configuration. Once a valid configuration is set, the device will transmit valid distance values between the selected start and stop angle and for all other angles zero values. The amount of transmitted data will not be reduced by using this function.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/ScanDataScaleFactor

Configure the scaling factor for distance measurements when LMDscandata or Compact is selected as the data output format.

Responses

Response samples

Content type
application/json
1

Post/ScanDataScaleFactor

Configure the scaling factor for distance measurements when LMDscandata or Compact is selected as the data output format.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/ScanDataFormat

Returns/sets the scan data format (e.g. Compact format) or disable scan data transmission.

Responses

Response samples

Content type
application/json
0
0

Post/ScanDataFormat

Returns/sets the scan data format (e.g. Compact format) or disable scan data transmission.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

13 - IMU data output

Post/EnableInertialMeasurementUnit

Enables/Disables IMU data streaming output on CoLa A/B protocol.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/InertialMeasurementUnit

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.

Responses

Response samples

Content type
application/json
{
  • "Acceleration": [
    ],
  • "AngularVelocity": [
    ],
  • "MagneticField": [
    ],
  • "Orientation": [
    ],
  • "TimeStamp": 0
}

14 - Region of interest

Get/LFPradialDistanceRangeFilter

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.

Responses

Response samples

Content type
application/json
{
  • "bEnable": false,
  • "ulDistMin": 0,
  • "ulDistMax": 200000
}

Post/LFPradialDistanceRangeFilter

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.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

15 - Field evaluation

Get/FieldEvaluationResult

Returns the state of all possible fields.

Responses

Response samples

Content type
application/json
{
  • "Version": 1,
  • "Timestamp": 0,
  • "EvaluationResultList": [ ]
}

Post/ActivateEvaluationGroup

Sets the activation condition for all existing evaluation groups, when activation is set to Telegram..

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "Success": [ ]
}

Post/SetFieldEvaluationContour

Sets the contour of an existing field.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "ErrorCode": 0
}

Get/FieldEvaluationGroupState

Returns the activation condition for all existing evaluation groups (not configured, active, or inactive).

Responses

Response samples

Content type
application/json
[
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0,
  • 0
]

Get/FieldEvaluationApplicationState

Get the field evaluation application state. It returns the information whether the field evaluation application is active, configuring or deactivated. 0 - Deactivated - no evaluation is set up. 1 - Activated - at least one active evaluation (group activation has no influence on that). 2 - Configuring - new calculation of the e.g. field geometries

Responses

Response samples

Content type
application/json
0
0

Post/StartTeachIn

Starts the teach in process.

Request Body schema: application/json
required

successful operation

object or null

Responses

Request samples

Content type
application/json
{ }

Post/StopTeachIn

Stops the teach in process.

Request Body schema: application/json
required

successful operation

object or null

Responses

Request samples

Content type
application/json
{ }

16 - Operating data

Get/LastParaDate

Returns the last date (e.g. 12.11.2024) when a permanent parameter save was executed.

Responses

Response samples

Content type
application/json
"DD.MM.YYYY"

Get/LastParaTime

Returns the last time (e.g. 13:24) when a permanent parameter save was executed.

Responses

Response samples

Content type
application/json
"HH:MM"

Get/PowerOnCnt

Returns the number of power on cycles.

Responses

Response samples

Content type
application/json
0
0

Get/DailyOpHours

Returns the runtime duration since the last power on (non-persistent).

Responses

Response samples

Content type
application/json
0
0

Get/OpHours

Returns the total number of operating hours during the lifetime of the device. The resolution is a 1/10 hour.

Responses

Response samples

Content type
application/json
0
0

Get/CurrentTempDev

Returns the current device temperature.

Responses

Response samples

Content type
application/json
20

17 - 3D scan recording

Post/ScanMergerEnabled

Enable/ disable the Scan Merger functionality.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/ScanMergerSource

Select the source of the rotation that should be used to create the 3D point cloud.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/ScanMergeTrigger

Select a trigger for the Scan Merger functionality.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/RotationOffset

Read/Write the current rotation offset of the scan merge in x, y and z direction in mm.

Responses

Response samples

Content type
application/json
{
  • "x": 0,
  • "y": 0,
  • "z": 0
}

Post/RotationOffset

Read/Write the current rotation offset of the scan merge in x, y and z direction in mm.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/EncoderTransformationType

Select the Encoder type that is used to create the scan merge when the Scan Merger source is set to Encoder.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/EncoderRotation

Set the start orientation when the encoder transformation type is set to rotation.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/EncoderTranslation

Set the start orientation when the encoder transformation type is set to translation.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/StartScanMerge

Start the recording of a scan merge when the Scan Merger functionality is enabled. The recording time is limited to 15 or 30 seconds, depending on the selected scan configuration.

Request Body schema: application/json
required

successful operation

object or null

Responses

Request samples

Content type
application/json
{ }

Post/StopScanMerge

Stop the recording of a running scan merge.

Request Body schema: application/json
required

successful operation

object or null

Responses

Request samples

Content type
application/json
{ }

18 - Motor synchronization

Post/SyncMode

synchronisation mode e.g. no synchronisation, hardware synchronisation, CAN synchronisation or CLOCK synchronisation (LRS4000 only supports Clock-Sync and wire sync)

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/SyncPhase

synchronisation phase difference between master and slave

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/MotorSyncStatus

Check if PTP master and slave are synced

Responses

Response samples

Content type
application/json
0
0

19- Encoder

Post/EncSetting

Select the encoder type.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/EncResolution

Set the encoder resolution in mm/Inc.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Get/ActualEncSpeed

Read encoder speed in m/s.

Responses

Response samples

Content type
application/json
0
0

20-Diagnostic file

Post/DoDiagnosisDump

Creates a diagnostic file (zip file) for further analysis.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "Successfull": false
}

Post/GetDiagnosisDumpInfo

Returns additional meta-information about the diagnostic file.

Request Body schema: application/json
required

successful operation

object or null

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "DiagDumpExists": false,
  • "DiagDumpTimestamp": 0
}

21 - Detection History

Get/EnableDetectionHistory

Returns/sets the detection history.

Responses

Response samples

Content type
application/json
true

Post/EnableDetectionHistory

Returns/sets the detection history.

Request Body schema: application/json
required

successful operation

object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Post/ResetDetectionHistory

Resets the detection history logs.

Request Body schema: application/json
required

successful operation

object or null

Responses

Request samples

Content type
application/json
{ }