diff --git a/src/com/serotonin/mango/vo/dataSource/modbus/ModbusPointLocatorVO.java b/src/com/serotonin/mango/vo/dataSource/modbus/ModbusPointLocatorVO.java index 7577a77c0c..8f176f26e0 100644 --- a/src/com/serotonin/mango/vo/dataSource/modbus/ModbusPointLocatorVO.java +++ b/src/com/serotonin/mango/vo/dataSource/modbus/ModbusPointLocatorVO.java @@ -291,8 +291,8 @@ public void validate(DwrResponseI18n response) { if (!MODBUS_DATA_TYPE_CODES.isValidId(modbusDataType)) response.addContextualMessage("modbusDataType", "validate.invalidValue"); - if (!StringUtils.isBetweenInc(slaveId, 1, 255) && !socketMonitor) - response.addContextualMessage("slaveId", "validate.1to255"); + if (!StringUtils.isBetweenInc(slaveId, 0, 255) && !socketMonitor) + response.addContextualMessage("slaveId", "validate.0to255"); if (!slaveMonitor && !socketMonitor) { int maxEndOffset = 65536 - DataType diff --git a/webapp-resources/messages_de.properties b/webapp-resources/messages_de.properties index 9e67a3f58e..6c7d2ab7ab 100644 --- a/webapp-resources/messages_de.properties +++ b/webapp-resources/messages_de.properties @@ -3368,4 +3368,5 @@ systemSettings.invalidCustomCss=Invalid custom CSS systemsettings.reports.dataPointExtendedNameLengthLimit=Point name length limit in reports event.ds.recursiveError=Recursive Error event.meta.recursiveError=Recursive error in point "{0}": {1} -validate.cyclicDependency=Cyclic dependency: {0} \ No newline at end of file +validate.cyclicDependency=Cyclic dependency: {0} +validate.0to255=Must be between 0 and 255 inclusive diff --git a/webapp-resources/messages_en.properties b/webapp-resources/messages_en.properties index ddb2048e2d..a85d09b224 100644 --- a/webapp-resources/messages_en.properties +++ b/webapp-resources/messages_en.properties @@ -3371,4 +3371,5 @@ systemSettings.invalidCustomCss=Invalid custom CSS systemsettings.reports.dataPointExtendedNameLengthLimit=Point name length limit in reports event.ds.recursiveError=Recursive Error event.meta.recursiveError=Recursive error in point "{0}": {1} -validate.cyclicDependency=Cyclic dependency: {0} \ No newline at end of file +validate.cyclicDependency=Cyclic dependency: {0} +validate.0to255=Must be between 0 and 255 inclusive diff --git a/webapp-resources/messages_es.properties b/webapp-resources/messages_es.properties index a0e408caba..284bafa9a4 100644 --- a/webapp-resources/messages_es.properties +++ b/webapp-resources/messages_es.properties @@ -3411,4 +3411,5 @@ systemSettings.invalidCustomCss=Invalid custom CSS systemsettings.reports.dataPointExtendedNameLengthLimit=Point name length limit in reports event.ds.recursiveError=Recursive Error event.meta.recursiveError=Recursive error in point "{0}": {1} -validate.cyclicDependency=Cyclic dependency: {0} \ No newline at end of file +validate.cyclicDependency=Cyclic dependency: {0} +validate.0to255=Must be between 0 and 255 inclusive diff --git a/webapp-resources/messages_fi.properties b/webapp-resources/messages_fi.properties index 96294315e1..957b596d50 100644 --- a/webapp-resources/messages_fi.properties +++ b/webapp-resources/messages_fi.properties @@ -3496,4 +3496,5 @@ systemSettings.invalidCustomCss=Invalid custom CSS systemsettings.reports.dataPointExtendedNameLengthLimit=Point name length limit in reports event.ds.recursiveError=Recursive Error event.meta.recursiveError=Recursive error in point "{0}": {1} -validate.cyclicDependency=Cyclic dependency: {0} \ No newline at end of file +validate.cyclicDependency=Cyclic dependency: {0} +validate.0to255=Must be between 0 and 255 inclusive diff --git a/webapp-resources/messages_fr.properties b/webapp-resources/messages_fr.properties index 774be1e8e2..c9705db2c1 100644 --- a/webapp-resources/messages_fr.properties +++ b/webapp-resources/messages_fr.properties @@ -3365,4 +3365,5 @@ systemSettings.invalidCustomCss=Invalid custom CSS systemsettings.reports.dataPointExtendedNameLengthLimit=Point name length limit in reports event.ds.recursiveError=Recursive Error event.meta.recursiveError=Recursive error in point "{0}": {1} -validate.cyclicDependency=Cyclic dependency: {0} \ No newline at end of file +validate.cyclicDependency=Cyclic dependency: {0} +validate.0to255=Must be between 0 and 255 inclusive diff --git a/webapp-resources/messages_lu.properties b/webapp-resources/messages_lu.properties index 317f71de78..be6f8dcf5f 100644 --- a/webapp-resources/messages_lu.properties +++ b/webapp-resources/messages_lu.properties @@ -3384,4 +3384,5 @@ systemSettings.invalidCustomCss=Invalid custom CSS systemsettings.reports.dataPointExtendedNameLengthLimit=Point name length limit in reports event.ds.recursiveError=Recursive Error event.meta.recursiveError=Recursive error in point "{0}": {1} -validate.cyclicDependency=Cyclic dependency: {0} \ No newline at end of file +validate.cyclicDependency=Cyclic dependency: {0} +validate.0to255=Must be between 0 and 255 inclusive diff --git a/webapp-resources/messages_nl.properties b/webapp-resources/messages_nl.properties index c1a416ea0f..8e97b71105 100644 --- a/webapp-resources/messages_nl.properties +++ b/webapp-resources/messages_nl.properties @@ -3486,4 +3486,5 @@ systemSettings.invalidCustomCss=Invalid custom CSS systemsettings.reports.dataPointExtendedNameLengthLimit=Point name length limit in reports event.ds.recursiveError=Recursive Error event.meta.recursiveError=Recursive error in point "{0}": {1} -validate.cyclicDependency=Cyclic dependency: {0} \ No newline at end of file +validate.cyclicDependency=Cyclic dependency: {0} +validate.0to255=Must be between 0 and 255 inclusive diff --git a/webapp-resources/messages_pl.properties b/webapp-resources/messages_pl.properties index 573d1e0fb3..a3c48860de 100644 --- a/webapp-resources/messages_pl.properties +++ b/webapp-resources/messages_pl.properties @@ -3508,4 +3508,5 @@ systemSettings.invalidCustomCss=Invalid custom CSS systemsettings.reports.dataPointExtendedNameLengthLimit=Point name length limit in reports event.ds.recursiveError=Recursive Error event.meta.recursiveError=Recursive error in point "{0}": {1} -validate.cyclicDependency=Cyclic dependency: {0} \ No newline at end of file +validate.cyclicDependency=Cyclic dependency: {0} +validate.0to255=Must be between 0 and 255 inclusive diff --git a/webapp-resources/messages_pt.properties b/webapp-resources/messages_pt.properties index cfc1cfb8d2..ea980cd248 100644 --- a/webapp-resources/messages_pt.properties +++ b/webapp-resources/messages_pt.properties @@ -3523,4 +3523,5 @@ systemSettings.invalidCustomCss=Invalid custom CSS systemsettings.reports.dataPointExtendedNameLengthLimit=Point name length limit in reports event.ds.recursiveError=Recursive Error event.meta.recursiveError=Recursive error in point "{0}": {1} -validate.cyclicDependency=Cyclic dependency: {0} \ No newline at end of file +validate.cyclicDependency=Cyclic dependency: {0} +validate.0to255=Must be between 0 and 255 inclusive diff --git a/webapp-resources/messages_ru.properties b/webapp-resources/messages_ru.properties index ea5b9c4d0d..5f4a32b4b2 100644 --- a/webapp-resources/messages_ru.properties +++ b/webapp-resources/messages_ru.properties @@ -3519,4 +3519,5 @@ systemSettings.invalidCustomCss=Invalid custom CSS systemsettings.reports.dataPointExtendedNameLengthLimit=Point name length limit in reports event.ds.recursiveError=Recursive Error event.meta.recursiveError=Recursive error in point "{0}": {1} -validate.cyclicDependency=Cyclic dependency: {0} \ No newline at end of file +validate.cyclicDependency=Cyclic dependency: {0} +validate.0to255=Must be between 0 and 255 inclusive diff --git a/webapp-resources/messages_zh.properties b/webapp-resources/messages_zh.properties index 899d2baccf..41cb6d55b5 100644 --- a/webapp-resources/messages_zh.properties +++ b/webapp-resources/messages_zh.properties @@ -3471,4 +3471,5 @@ systemSettings.invalidCustomCss=Invalid custom CSS systemsettings.reports.dataPointExtendedNameLengthLimit=Point name length limit in reports event.ds.recursiveError=Recursive Error event.meta.recursiveError=Recursive error in point "{0}": {1} -validate.cyclicDependency=Cyclic dependency: {0} \ No newline at end of file +validate.cyclicDependency=Cyclic dependency: {0} +validate.0to255=Must be between 0 and 255 inclusive