The Logic module can be used to process incoming and outgoing data point values. The calculation and processing functions can be defined within this definition file.
...
Col# | Parameter | Description | Scope | Unit | Mandatory / default value |
---|---|---|---|---|---|
1 | Item suffix | The suffix that is added to the item ID of the source item. The new item ID use used for the virtual item that is created by the module consists of the item ID of the source item + the specified suffix. | string | none | mandatory |
2 | Base path or base item ID | Specifies the source Item ID or the base path for searching within the item tree when multiple items shall be selected. | string | none | mandatory |
3 | Selector | If multiple items shall be selected, the selector specifies the matching pattern for the items below the base path. The selector itself is a regular expression. | string | none | empty |
4 | Data type | The type of the virtual item that is created. | BOOL, STR, BYTE, CHAR, INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, DATE, TIME | none | R |
5 | Access mode | The access rights of the item the virtual item that is created. Allowed values are R (read-only), W (write-only), RW (read and writable). | R, W, RW | none | R |
6 | Description | The description of the virtual item that is created. If left empty, the description of the source item is used. | string | none | empty (source item description is used) |
7 | Persistent | The persistent flag of the virtual item that is created. If left empty, the flag of the source item is used. | empty/true/false | none | empty (source item setting is used) |
8 | Synchronize | The synchronize flag of the virtual item that is created. If left empty, the flag of the source item is used. | empty/true/false | none | empty (source item setting is used) |
9 | In calculation function | The mathematical expression that is used to recalculate incoming data changes. it must contain the placeholder for the value (default value). An example of a valid expression is "value * 10 + 5". | string | none | empty |
10 | Out calculation function | The mathematical expression that is used to recalculate outgoing data changes. it must contain the placeholder for the value (default value). An example of a valid expression is "value * 10 + 5". | string | none | POSTempty |
11 | In processing type | none | empty | ||
12 | In processing resource | string | none | empty | |
13 | Out processing type | true/false | none | false | |
14 | Out processing resource | true/false | none | true | |
15 | Linked item(s) | string | none | empty |
...