PreviousNext
[0x1E] Action
Help > Sensor Types > [0x1E] Action

         PROPOSAL

         The return value is non-zero unsigned 2-byte wide containing a state, a class and a counter of the action. The format is the following:

         b.0                   0: action is not triggered from the last readout
                  1: action is triggered from the last readout

         b.1-b.7             Counter of action triggers. Maximum value 0x7F overflows to 0x00.

         b.8-b.14           Class of the action

         0x00           Unused

         0x01-0x0F   Unspecified1-Unspecified15

         0x10           Light on

         0x11           Light off

         0x12           Light toggle

         …               ToDo

         … 0x7F      Reserved

         b.15                 0: value ok
                  1: error

 

The recommended visual numeric representation is the ccc.t.nnn where ccc is class in decimal radix, t is a trigger state and nnn is counter. Example: 16.1010 is triggered Light on for the tenth time.

 

         FRC 2-byte: FRC return value equals unmodified return value.