Set/Getsensoralarmthresholdcmd - netvox R718PE02 User Manual

Lidar material level detection sensor
Table of Contents

Advertisement

5.4 Set/GetSensorAlarmThresholdCmd

Fport:0x10
CmdID
CmdDescriptor
(1Byte)
SetSensorAlarm
0x01
ThresholdReq
SetSensorAlarm
0x81
ThresholdRsp
GetSensorAlarm
0x02
ThresholdReq
GetSensorAlarm
0x82
ThresholdRsp
Channel - 1 byte
0x00_Distance
0x01_FillLevel // When restoring factory settings, the last set value will be retained.
(1) SetSensorAlarmThresholdReq: (Set the Distance high threshold to 5m and the low threshold to 4m)
Downlink: 01002F0000138800000FA0 //1388Hex = 5000Dec, 5000*0.001m = 5m; FA0Hex = 4000Dec 4000*0.001m = 4m
Response: 8100000000000000000000
(2) GetSensorAlarmThresholdReq:
Downlink: 02002F0000000000000000
Response: 82002F0000138800000FA0
(3) Clear all sensor thresholds. (Configure the Sensor Type to 0)
Downlink: 0100000000000000000000
Response: 8100000000000000000000
Channel (1Byte,
0x00_Channel1,
0x01_Chanel2,
0x02_Channel3,etc)
Status
(0x00_success)
Channel (1Byte,
0x00_Channel1,
0x01_Chanel2,
SetSensorAlarmThresho
0x02_Channel3,etc)
Channel (1Byte,
0x00_Channel1,
0x01_Chanel2,
SetSensorAlarmThresho
0x02_Channel3,etc)
Payload(10Bytes)
SensorType
(1Byte,
0x00_Disable ALL
SensorthresholdSet
0Xffffffff_DISALBLEH
0x2F_ Distance,
0x30_ FillLevel,
Reserved (9Bytes,Fixed 0x00)
SensorType
(1Byte, Same as the
ldReq's SensorType)
SensorType
(1Byte, Same as the
0Xffffffff_DISALBLEH
ldReq's SensorType)
12
SensorHighThreshold
(4Bytes, Unit:same as
reportdata in fport6,
ighThreshold)
Reserved (8Bytes,Fixed 0x00)
SensorHighThreshold
(4Bytes, Unit: same as
reportdata in fport6,
ighThreshold)
SensorLowThreshold
(4Bytes, Unit:same as
reportdata in fport6,
0Xffffffff_DISALBLE
LowThreshold)
SensorLowThreshold
(4Bytes, Unit: same as
reportdata in fport6,
0Xffffffff_DISALBLE
LowThreshold)

Advertisement

Table of Contents
loading

Table of Contents