Skip to content

Commit

Permalink
docs: Added "slave-id" to the description of the unit-identifier.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdutz committed Mar 21, 2024
1 parent 00d32ec commit ee0259e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ModbusAsciiConfiguration implements PlcConnectionConfiguration {

@ConfigurationParameter("unit-identifier")
@IntDefaultValue(1)
@Description("Unit-identifier that identifies the target PLC (On RS485 multiple Modbus Devices can be listening). Defaults to 1.")
@Description("Unit-identifier or slave-id that identifies the target PLC (On RS485 multiple Modbus Devices can be listening). Defaults to 1.")
private int unitIdentifier;

public int getRequestTimeout() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ModbusRtuConfiguration implements PlcConnectionConfiguration {

@ConfigurationParameter("unit-identifier")
@IntDefaultValue(1)
@Description("Unit-identifier that identifies the target PLC (On RS485 multiple Modbus Devices can be listening). Defaults to 1.")
@Description("Unit-identifier or slave-id that identifies the target PLC (On RS485 multiple Modbus Devices can be listening). Defaults to 1.")
private int unitIdentifier;

public int getRequestTimeout() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ModbusTcpConfiguration implements PlcConnectionConfiguration {

@ConfigurationParameter("unit-identifier")
@IntDefaultValue(1)
@Description("Unit-identifier that identifies the target PLC (On RS485 multiple Modbus Devices can be listening). Defaults to 1.")
@Description("Unit-identifier or slave-id that identifies the target PLC (On RS485 multiple Modbus Devices can be listening). Defaults to 1.")
private int unitIdentifier;

@ConfigurationParameter("ping-address")
Expand Down

0 comments on commit ee0259e

Please sign in to comment.