Zach equipment added
This commit is contained in:
@@ -68,7 +68,7 @@ Modbus_Point<T>* createModbus_Point(T* server, int category, int address, int va
|
||||
Serial.printf("Creating Input Register: %s\n", description);
|
||||
return new Modbus_Ireg<T>(server, address, value, description);
|
||||
|
||||
case IR_10X: {
|
||||
case IR_10x: {
|
||||
Serial.printf("Creating Scaled Input Register (10x): %s\n", description);
|
||||
Modbus_Point<T>* point = new Modbus_Ireg<T>(server, address, value, description);
|
||||
return new Modbus_ScaleDecorator<T>(point);
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
const int COIL = 0; /**< @brief 0x: R/W Coil */
|
||||
const int DI = 1; /**< @brief 1x: R Discrete Inputs */
|
||||
const int IR = 3; /**< @brief 3x: R Input Register - Single word */
|
||||
const int IR_10X = 31; /**< @brief 3x: R Input Register - Single word, 10x scaled */
|
||||
const int IR_10x = 31; /**< @brief 3x: R Input Register - Single word, 10x scaled */
|
||||
const int IR_LONG = 32; /**< @brief 3x: R Input Register - Double word, Long type */
|
||||
const int IR_FLOAT = 33; /**< @brief 3x: R Input Register - Double word, Float encoding */
|
||||
const int HR = 4; /**< @brief 4x: R/W Holding Register - Single word */
|
||||
|
||||
Reference in New Issue
Block a user