Skip to content

DigGenGintecAficDataStrMsg

Dig Gen Gintec Afic Data Str Msg

Message containing the data read from Gintec AFIC sensors connected to the DIG Gen.

Top-level portError / portData handles port-level failures. When portError is False, portData
contains the sensor array. Each measurement has a paired boolean error flag: when the flag is
True the measurement field holds a 3-bit error subcode, otherwise it holds the value.

Integration ID: 10 | Message Version: 0

Source Code


Field Bits Type Unit Condition Mutator Error Description
numSensors 8 UInt Always Number of sensors in the portData array.
portError 1 Bool Always Port-level failure flag. When True, errorData holds the port error code and portData is absent.
errorData 3 UInt portError == 1 EntryError(GENERAL_ERROR, 0), EntryError(GENERAL_ERROR, 1), EntryError(HARDWARE_ERROR, 2), EntryError(GENERAL_ERROR, 3), EntryError(GENERAL_ERROR, 4), EntryError(GENERAL_ERROR, 5), EntryError(GENERAL_ERROR, 6), EntryError(GENERAL_ERROR, 7)
Sensor Status [numSensors] — Seq portError == 0
├── xAxisError 1 Bool — Error flag for the X-axis. When True, xAxis holds a 3-bit error subcode; when False, it holds the value.
├── xAxis 3 UInt xAxisError == 1 EntryError(GENERAL_ERROR, 0), EntryError(NOT_RESPONDING, 1), EntryError(DATA_OUT_OF_RANGE, 2), EntryError(NOT_VALID, 3), EntryError(PROTOCOL_ERROR, 4), EntryError(GENERAL_ERROR, 5), EntryError(GENERAL_ERROR, 6), EntryError(GENERAL_ERROR, 7)
├── xAxis 18 Int deg xAxisError == 0 ScalingMutator(×1000)
├── yAxisError 1 Bool — Error flag for the Y-axis. When True, yAxis holds a 3-bit error subcode; when False, it holds the value.
├── yAxis 3 UInt yAxisError == 1 EntryError(GENERAL_ERROR, 0), EntryError(NOT_RESPONDING, 1), EntryError(DATA_OUT_OF_RANGE, 2), EntryError(NOT_VALID, 3), EntryError(PROTOCOL_ERROR, 4), EntryError(GENERAL_ERROR, 5), EntryError(GENERAL_ERROR, 6), EntryError(GENERAL_ERROR, 7)
├── yAxis 18 Int deg yAxisError == 0 ScalingMutator(×1000)
├── zAxisError 1 Bool — Error flag for the Z-axis. When True, zAxis holds a 3-bit error subcode; when False, it holds the value.
├── zAxis 3 UInt zAxisError == 1 EntryError(GENERAL_ERROR, 0), EntryError(NOT_RESPONDING, 1), EntryError(DATA_OUT_OF_RANGE, 2), EntryError(NOT_VALID, 3), EntryError(PROTOCOL_ERROR, 4), EntryError(GENERAL_ERROR, 5), EntryError(GENERAL_ERROR, 6), EntryError(GENERAL_ERROR, 7)
├── zAxis 18 Int deg zAxisError == 0 ScalingMutator(×1000)
├── temperatureError 1 Bool — Error flag for the temperature. When True, temperature holds a 3-bit error subcode; when False, it holds the value.
├── temperature 3 UInt temperatureError == 1 EntryError(GENERAL_ERROR, 0), EntryError(NOT_RESPONDING, 1), EntryError(DATA_OUT_OF_RANGE, 2), EntryError(NOT_VALID, 3), EntryError(PROTOCOL_ERROR, 4), EntryError(GENERAL_ERROR, 5), EntryError(GENERAL_ERROR, 6), EntryError(GENERAL_ERROR, 7)
├── temperature 11 Int Cel temperatureError == 0 ScalingMutator(×10)
├── sensorStatusError 1 Bool — Error flag for the sensor status. When True, sensorStatus holds a 3-bit error subcode; when False, it holds the value.
├── sensorStatus 3 UInt sensorStatusError == 1 EntryError(GENERAL_ERROR, 0), EntryError(NOT_RESPONDING, 1), EntryError(DATA_OUT_OF_RANGE, 2), EntryError(NOT_VALID, 3), EntryError(PROTOCOL_ERROR, 4), EntryError(GENERAL_ERROR, 5), EntryError(GENERAL_ERROR, 6), EntryError(GENERAL_ERROR, 7)
└── sensorStatus 2 UInt sensorStatusError == 0