Skip to content

SetDigPort1CfgStructMsg

Set Dig Port 1 Cfg Struct Msg

AM Type: 169

Source Code


Field Bits Type Condition Description
ls_header_down — Struct Always
└── am_type 8 UInt Always
version 4 UInt Always
runtimeMode 8 Enum Always MODBUS (0), LUA (1)
portEnabled 1 Bool Always
powerVoltage 1 Enum Always V_5 (0), V_12 (1)
powerAlwaysOn 1 Bool Always
powerThreshold 16 UInt Always
resetOnFailure 1 Bool Always
terminationResistor 1 Bool Always
usbPowerRailOff 1 Bool Always
sensorInitOnStartup 1 Bool Always
rfu 1 Reserved Always
runtimeModeMsgVersion 4 UInt Always
payload — Switch Always
├── modbusBaudrate 24 UInt runtimeMode == MODBUS
├── uartDatabits 8 UInt runtimeMode == MODBUS
├── parity 8 Enum runtimeMode == MODBUS NONE (0), EVEN (1), ODD (2)
├── stopBits 8 Enum runtimeMode == MODBUS HALF (0), ONE (1), ONE_AND_HALF (2), TWO (3)
├── Sensor Addresses [ ] — Seq runtimeMode == MODBUS
│   └──  8 UInt —
├── luaTimeOut 16 UInt runtimeMode == LUA
├── luaRedundancyFrames 2 UInt runtimeMode == LUA
├── maxDataSize 14 UInt runtimeMode == LUA
├── maxRadioMsgSize 8 UInt runtimeMode == LUA
├── integration — Struct runtimeMode == LUA
│   ├── id 16 UInt runtimeMode == LUA
│   └── version — Struct runtimeMode == LUA
│       ├── major 5 UInt runtimeMode == LUA
│       └── minor 5 UInt runtimeMode == LUA
└── rfu 6 Reserved runtimeMode == LUA