7.1.14 105 – CUSTOM LOGIC DEFINITIONS REGISTERS
R105iiiii => 0?0105iiiiittttt…
U105105iiiiittttt… => 0?0105
Where:
iiiii = The specified zero-based custom logic index (0000-1023).
Note: For Modbus, the Modbus Custom Logic Index Register sets the iiii index.
Modbus: Read/Write Register=296, Len=1, 16-Bit Integer (iiiii)
ttttt = Custom Logic Type as:
enum custom_logic_type
{
// misc types
UNUSED = 0,
FCM_INPUT_PORT = 1,
FCM_OUTPUT_PORT = 2,
// run time values
RCU_RT = 10,
BAY_RT = 11,
PRESET_RT = 12,
COMPONENT_RT = 13,
METER_RT = 14,
ADDITIVE_RT = 15,
TANK_RT = 16,
SAMPLER_RT = 17,
// config read values
RCU_READ_CFG = 20,
BAY_ READ_CFG = 21,
PRESET_ READ_CFG = 22,
COMPONENT_ READ_CFG = 23,
METER_ READ_CFG = 24,
ADDITIVE_ READ_CFG = 25,
TANK_READ_CFG = 26,
SAMPLER_READ_CFG = 27,
REPORTS_READ_CFG = 28,
SD_CARD_READ_CFG = 29,
// config write values
RCU_WRITE_CFG = 30,
BAY_WRITE_CFG = 31,
PRESET_WRITE_CFG = 32,
COMPONENT_WRITE_CFG = 33,
METER_WRITE_CFG = 34,
ADDITIVE_WRITE_CFG = 35,
TANK_WRITE_CFG = 36,
SAMPLER_WRITE_CFG = 37,
REPORTS_WRITE_CFG = 38,