slave.modbus¶
Modbus slave¶
type |
object |
||
properties |
|||
|
The id of the template to use for this file |
||
type |
string |
||
|
The variables and their values to be replaced from the template |
||
type |
object |
||
additionalProperties |
|||
|
The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files. |
||
type |
array |
||
items |
type |
string |
|
|
If the value is set to true, manual editing of this file should be avoided, as the composer will override the value in the next generation. |
||
type |
boolean |
||
|
Id of the module |
||
type |
string |
||
|
The host and port of the modbus slave |
||
type |
string |
||
|
Interval between readings on this Slave. |
||
default |
value |
1 |
|
unit |
SECONDS |
||
|
Duration after which a Modbus action will timeout on this Slave |
||
default |
value |
1 |
|
unit |
SECONDS |
||
|
Maximum size of a read request on this Slave for Coils and Discrete Inputs. |
||
type |
integer |
||
maximum |
2000 |
||
minimum |
1 |
||
default |
2000 |
||
|
Maximum size of a read request on this Slave for Inputs Registers and Holding Registers. |
||
type |
integer |
||
maximum |
125 |
||
minimum |
1 |
||
default |
125 |
||
|
Minimum time to wait between request on this Slave (must be << read_period). |
||
default |
value |
0 |
|
unit |
MILLISECONDS |
||
|
The address of the slave |
||
type |
integer |
||
maximum |
255 |
||
minimum |
0 |
||
default |
1 |
||
|
Number of simultaneous connections allowed on this Slave. |
||
type |
integer |
||
maximum |
20 |
||
minimum |
1 |
||
default |
1 |
||
additionalProperties |
False |
DurationConfigurationEntity¶
type |
object |
|
properties |
||
|
The amount of time expressed with the unit |
|
type |
integer |
|
|
The unit of time expressed with the value |
|
type |
string |
|
enum |
NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS |
|
additionalProperties |
False |