How do I decode a 4-20mA Current Loop Sensor Uplink Event?

How do I decode a 4-20mA Current Loop Sensor Uplink Event?

The 4-20mA Current Loop Sensor will generate events if the measured value rises above or falls below the configured thresholds, rate of change, or is set for periodic reporting.

 

Byte 0: 7-4

Byte 0: 3-0

Byte 1

Byte 2 

 

Byte 3 and Byte 4

Protocol version

 

 

(4 bits)

Counter

 

 

 

(4 bits)

4-20mA Current Loop Message Type Code

 

 

0x11

4-20mA Analog Measurement Event Payload

 

 

(0x03 in the example below)

Analog Current measurement

 

 

(0x021F in the example below)

 

 

 

 

Protocol Definition

              First 4 bits are defined by Radio Bridge for the protocol

              Next 4 bits are a counter that goes from 0 to F (Hex) and repeats

             

Message Type

              0x11 represents the 4-20mA Analog Measurement Message Type

 

4-20mA Analog Measurement Sensor Event

              Byte 2                         Description

                  0x00                              Periodic Report

                  0x01                              Current has risen above upper threshold

                  0x02                              Current has fallen below lower threshold

                  0x03                              Report on change increase 

                  0x04                              Report on change decrease

 

Byte 3

              Current measurement in units of 10uA

 

Example of 4-20mA Current Loop Sensor Event Message

 

10 11  03 02 1F

 

1                                 Protocol Version (currently always 0x1)

0                                 Packet Counter (increments by 1 each message and wraps from 0xF to 0x0)

11                               4-20mA Event Type (0x11)

03                              4-20mA Current Loop Event (Report on Change Increase = 0x03)

021F                           Current measurement in units of 10uA (0x021F = 543uA)

 

 

The Radio Bridge Console will generate the following output for this message:

4-20mA Current Loop Event: Report on change increase

Current Measurement: 0.543 mA

 

 

 

 

 

 

 



    • Related Articles

    • How do I encode a configuration downlink for a 4-20mA Current Loop Sensor?

      NOTE:  All downlinks must contain a total of (8) bytes, padded with zeros at the end when necessary. See User Manual at https://www.multitech.com/brands/reveal-wireless-industrial-sensors for more information. 4-20mA Current Loop Sensor Threshold ...
    • How do I decode a Thermocouple Temperature Sensor event?

      The Thermocouple Temperature Sensor will generate events based on temperature measurements rising above or falling below configured thresholds, report-on-change, and periodic messaging.   Byte 0: 7-4 Byte 0: 3-0 Byte 1 Byte 2 Byte 3  and Byte 4 Byte ...
    • How Do I decode an Ultrasonic Level Sensor Event?

      The Ultrasonic Level Sensor will generate events if the measured distance rises above or falls below the configured thresholds.   Byte 0: 7-4 Byte 0: 3-0 Byte 1 Byte 2    Byte 3 and 4 Protocol version (4 bits) Counter (4 bits) Message Type Code 0x10 ...
    • How Do I Decode a No-Probe Temperature Sensor Event

      The No-Probe Temperature Sensor will generate events if the temperature rises above or falls below the configured thresholds   Byte 0: 7-4 Byte 0: 3-0 Byte 1 Byte 2    Byte 3 Byte 4 Protocol version     (4 bits) Counter       (4 bits) No-Probe Temp ...
    • How do I decode an External Probe Temperature Sensor Event?

      The External Probe Temperature Sensor will generate events if the temperature rises above or falls below the configured thresholds.   Byte 0: 7-4 Byte 0: 3-0 Byte 1 Byte 2    Byte 3 Byte 4 Protocol version     (4 bits) Counter       (4 bits) ...