output.modbus¶
Modbus output¶
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 |
|||
|
Reference to the Modbus slave on which this value is read. |
|||
type |
string |
|||
|
Modbus value address on the slave. |
|||
type |
integer |
|||
|
Type of Modbus table on which this value is stored. |
|||
type |
string |
|||
enum |
COIL, HOLDING_REGISTER |
|||
default |
COIL |
|||
|
Type in which the read Value should be interpreted as |
|||
type |
string |
|||
enum |
BOOLEAN, INT8, INT16, INT32, INT64, FLOAT, DOUBLE, UINT8, UINT16, UINT32, TEXT |
|||
default |
BOOLEAN |
|||
|
Number of Modbus table unit occupied by this value. |
|||
type |
integer |
|||
|
Bytes and Words ordering. |
|||
type |
string |
|||
enum |
LITTLE, BIG, LITTLE_BYTE_SWAP, BIG_BYTE_SWAP |
|||
default |
BIG |
|||
|
When provided, allows to read only a sub-range of a Value |
|||
additionalProperties |
False |
|||
allOf |
if |
properties |
||
|
enum |
COIL, DISCRETE_INPUT |
||
then |
properties |
|||
|
enum |
BOOLEAN |
||
if |
properties |
|||
|
enum |
TEXT |
||
else |
allOf |
not |
||
if |
properties |
|||
|
enum |
TEXT, DOUBLE, BOOLEAN, FLOAT, INT8, INT16, INT32, INT64, UINT8, UINT32 |
||
then |
allOf |
not |
ModbusSubRange¶
type |
object |
|
properties |
||
|
Used to discard bit(s) to read |
|
type |
integer |
|
default |
0 |
|
|
Binary mask used to select the bit(s) read |
|
type |
integer |
|
default |
1 |
|
additionalProperties |
False |