Downlink Command

This device supports downlink commands for configuration and control. The downlink application port is 85 by default.

General Settings

Item Channel Type Byte Description
Reboot ff 10 1 ff
Collect Interval ff 02 2 UINT16, Unit: s
Report Interval ff 03 2 UINT16, Unit: s
Tilt & Distance Switch ff 3e 1 00 = Disable; 01 = Enable

Distance Measurement

ff 56 1 00 = Disable; 01 = Enable

Installation Height for Bin Mode

ff 13 2 00 = Disable; 01 = Enable

Installation Height

ff 77 2 UINT16, Unit: mm
Device Mode ff 71 1

00 = Standard Mode;

01 = Bin Mode

Example:
  1. Reboot the device.
    ff10ff
  2. Set report interval as 20 minutes.
    ff03b004
    Channel Type Value
    ff 03 b004=>04b0=1200s=20 minutes
  3. Set the device as standard mode.
    ff7100
    Channel Type Value
    ff 71 00 = Standard Mode
  4. Enable “Tilt & Distance Switch” feature.

    ff3e01
    Channel Type Description
    ff 3e 01 = Enable

Threshold Alarm Setting

Channel Type Byte Description
ff 06 9

CTRL(1B)+Min(2B)+Max(2B)+00000000(4B)

CTRL:

Bit2~Bit0:

  • 000-disable
  • 001-below
  • 010-above
  • 011-within
  • 100-below or above

Bit5~Bit3:

  • 001-Standard Mode
  • 010-Bin Mode

Bit6=0

Bit7:

  • 0 - disable threshold dismiss report
  • 1 - enable threshold dismiss report
Example:
When the distance is below 20cm or above 80cm, the sensor will send threshold alarm.

ff068c c800 2003 00000000

Channel Type Value
ff 06

CTRL: 8c=10 001 100

100=below or above

001=standard mode

10=enable threshold dismiss report

Min: c8 00 => 00 c8 = 200 mm = 20cm

Max: 2003 => 03 20 = 800 mm = 80cm