EM400-UDL – Configurable Properties
You can update a device's settings by modifying the configurable properties of its TSL model via API. This topic provides the configurable parameters for EM400-UDL TSL model, their descriptions, and how to use them.
Usage
- Have an overview of the configurable properties and their default values of EM400-UDL .
- Copy the example code and remove the comments and parameters that do not require modification.
- Edit the desired properties according to the detailed
properties description
.
Note: Make sure that the edited example code complies with the JSON format requirements.
- Use the edited example code as the body parameters of Update Device Properties Incrementally.
Configurable Properties
The following code represents all configurable properties in the EM400-UDL TSL model, along with their default values.
- Click a property to view its detailed description and valid values.
- Configure the example code as needed, then use it as the body parameters of Update Device Properties Incrementally to save time and effort.
{
"version": "v1.0",
"type": "TSL",
"properties": {
"working_mode_settings": { // Work Mode Type: struct
"current_mode": "0", // Work Mode Type: enum
"standard_mode_reporting_interval": 600, // Reporting Interval Type: int Unit: s
"standard_mode_collection_interval": 600 // Collecting Interval Type: int Unit: s
},
"tilt_linkage_distance_enable": false, // Tilt&Distance Switch Type: bool
"standard_mode_distance_alarm_rules": { // Distance Threshold Alarm Type: struct
"alarm_condition": "0", // Threshold Condition Type: enum
"alarm_deactivation_enable": false, // Threshold Dismiss Report Type: bool
"threshold_min": 0, // Value A Type: float Unit: mm
"threshold_max": 0 // Value B Type: float Unit: mm
},
"tof_detection_enable": true, // TOF Type: bool
"resampling_settings": { // recovery collect Type: struct
"counter": 1, // recovery cnt Type: int
"interval": 5 // recovery period Type: int Unit: s
}
}
}
Description
The following table provides the description and valid values for the configurable properties of EM400-UDL.
| Parameter | Type | Description | |
|---|---|---|---|
| working_mode_settings | Struct |
Work Mode settings. |
|
| current_mode | Enum |
Specify the work mode of the device. Valid value:
|
|
| standard_mode_reporting_interval | Integer |
Specify the interval for data reporting (Unit: Second).
|
|
| standard_mode_collection_interval | Integer |
Specify the interval for collecting data (Unit: second).
|
|
| tilt_linkage_distance_enable | Boolean |
Decide whether to turn off the distance measurement when the device offset angle is greater than 20 degrees. Valid value:
|
|
| standard_mode_distance_alarm_rules | Struct |
Distance Threshold Alarm settings. |
|
| alarm_condition | Enum |
Specify the conditions for triggering the distance alarm. Valid value:
|
|
| alarm_deactivation_enable | Boolean |
Decide whether to enable alarm dismiss report. Valid value:
|
|
| threshold_min | Float |
Specify the minimum threshold for distance alarm ( Unit : mm).
|
|
| threshold_max | Float |
Specify the maximum threshold for distance alarm ( Unit : mm).
|
|
| tof_detection_enable | Boolean |
Decide whether to enable distance measurement. Valid value:
|
|
| resampling_settings | Struct |
Sensor re-collection settings. |
|
| counter | Integer |
Specify the maximum number of re-collections after sensor data collection error.
|
|
| interval | Integer |
Specify the interval of re-collections after sensor data collection error ( Unit : Second).
|
|