From OpenSCADAWiki
Template IOs
Identifier | Parameter | Type | Mode | Attribute | Configuration | Value |
---|---|---|---|---|---|---|
transport | Transport | String | Input | Not attribute | Constant | Sockets.mbbase |
addr | Device address, [0...247] | Integer | Input | Not attribute | Constant | 1 |
mbType | ASCII|TCP] | String | Input | Not attribute | Constant | RTU |
maxBlkSz | ModBus maximum block size, [10...200] | Integer | Input | Not attribute | Constant | 200 |
fragMerge | ModBus blocks merging | Boolean | Input | Not attribute | Constant | 1 |
items | Items set
Rows in the form "[u|i|u2|i2|u4|i4|r|s]:{addr}:{w|r|~|i}:{id}[:{nm}]". |
Text | Input | Full access | Variable | #<SnthHgl font="monospace"><rule expr="^#[^\n]*" color="gray" font_italic="1"/><rule expr=":[rw~i]*:" color="red"/><rule expr=":(0[xX][0-9a-fA-F]*|[0-9]*),?(0[xX][0-9a-fA-F]*|[0-9]*),?(0[xX][0-9a-fA-F]*|[0-9]*),?(0[xX][0-9a-fA-F]*|[0-9]*)" color="blue"/><rule expr="^(u|i|u2|i2|u4|i4|r|s)" color="darkorange"/><rule expr="\\:" color="blue"/></SnthHgl> |
tr | Output transport | Object | Input | Not attribute | Variable | |
this | Object | Object | Input | Not attribute | Variable | |
f_start | Function start flag | Boolean | Input | Not attribute | Variable | 0 |
f_stop | Function stop flag | Boolean | Input | Not attribute | Variable | 0 |
f_frq | Frequency of calculation of the function, Hz | Real | Input | Not attribute | Variable | 1000 |
f_err | Function error | String | Input | Not attribute | Variable | 0 |