Here the events sent by the module is described.
Event | Description |
---|---|
CLASS1.DATA (15) Type=2, A/D Value | Input/Output data steam event sent on regular intervals if activated. Byte 0: 0b01100000 + sensoridx (0x60-0x63) for integer. Byte 1: 0 Byte 2: 0 Byte 3: MSB of A/D value Byte 4: LSB of A/D value. |
CLASS1.MEASUREMENT (10) Type=x, Configurable | Input/Output data steam event sent on regular intervals if activated. Byte 0: 0b011uuiii where 0101 is floating point, uu is configured unit for the selected VSCP type, iii is channel 0-3. Byte 1-4: 32-bit floating point value in bigendian format. |
CLASS1.ALARM (1) Type=1, Alarm occurred | If an alarm is armed this event is sent when it occurs and the corresponding alarm bit is set in the alarm register. Byte 0 - Channel 0x00-0x03 for low alarm or with bit 7 set to indicate high alarm (0x80-0x83) Byte 1 - Zone for module. Byte 2 - Sub zone for channel or sub zone for module if channel sub zone is zero. |
CLASS1.INFORMATION (20) Type=3, On | An I/O channel has been set to its ON position. For an output this means that it has been set high. For a channel set as an input it means the channel input turned high. The channel is checked every second for a change. |
CLASS1.INFORMATION (20) Type=4, Off | An I/O channel has been set to its OFF position. For an output this means that it has been set low. For a channel set as an input it means the channel input turned low. The channel is checked every second for a change. |
CLASS1.CONTROL (30) Type=5, TurnOn | An I/O channel has been set to its ON position. The channel is checked every second for a change. This is only valid for a channel configured as input. |
CLASS1.CONTROL (30) Type=6, TurnOff | An I/O channel has been set to its OFF position. The channel is checked every second for a change. This is only valid for a channel configured as input. |