IP address changes for Schertz setup
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
#include <ModbusIP_ESP8266.h>
|
#include <ModbusIP_ESP8266.h>
|
||||||
const char *ssid = "ArduinoWifiB"; /**< @brief The SSID of the WiFi network. */
|
const char *ssid = "ArduinoWifiB"; /**< @brief The SSID of the WiFi network. */
|
||||||
const char *password = "123abc456"; /**< @brief The password for the WiFi network. */
|
const char *password = "123abc456"; /**< @brief The password for the WiFi network. */
|
||||||
IPAddress local_IP(172, 17, 32, 11); /**< @brief The static IP address for the device. */
|
IPAddress local_IP(172, 17, 32, 49); /**< @brief The static IP address for the device. */
|
||||||
IPAddress gateway(172, 17, 32, 1); /**< @brief The gateway IP address. */
|
IPAddress gateway(172, 17, 32, 1); /**< @brief The gateway IP address. */
|
||||||
IPAddress subnet(255, 255, 255, 0); /**< @brief The subnet mask. */
|
IPAddress subnet(255, 255, 255, 0); /**< @brief The subnet mask. */
|
||||||
|
|
||||||
@@ -56,6 +56,9 @@
|
|||||||
* This array defines all the Modbus points available on the emulated device.
|
* This array defines all the Modbus points available on the emulated device.
|
||||||
* The `description` field is crucial as it's used to look up points within the application logic.
|
* The `description` field is crucial as it's used to look up points within the application logic.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// "One-Based" Addressing for IR, HR registers
|
||||||
|
|
||||||
modbusMap mb_map[] =
|
modbusMap mb_map[] =
|
||||||
{
|
{
|
||||||
{COIL, 0, 0, "ON/OFF Command By BMS"}, // Receive signal from PLC
|
{COIL, 0, 0, "ON/OFF Command By BMS"}, // Receive signal from PLC
|
||||||
|
|||||||
Reference in New Issue
Block a user