Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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.

File location

<WorkspaceDirectory>\DataFiles\xio.Logic.Parsing.dat


Col#Parameter DescriptionScopeUnitMandatory / default value
1Item suffixThe new item ID used for the virtual item that is created by the module consists of the item ID of the source item + the specified suffix. stringnonemandatory
2Base 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.

stringnonemandatory
3SelectorIf 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.stringnoneempty
4Data typeThe type of the virtual item that is created. BOOL, STR, BYTE, CHAR, INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, DATE, TIMEnoneR
5Access modeThe access rights of the virtual item that is created.  Allowed values are R (read-only), W (write-only), RW (read and writable).R, W, RWnoneR
6DescriptionThe description of the virtual item that is created. If left empty, the description of the source item is used.stringnoneempty (source item description is used)
7PersistentThe persistent flag of the virtual item that is created. If left empty, the flag of the source item is used.empty/true/falsenoneempty (source item setting is used)
8SynchronizeThe synchronize flag of the virtual item that is created. If left empty, the flag of the source item is used.empty/true/falsenoneempty (source item setting is used)
9In calculation functionThe 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".stringnoneempty
10Out calculation functionThe 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".stringnoneempty
11In processing type

noneempty
12In processing resource
stringnoneempty
13Out processing type
true/falsenonefalse
14Out processing resource
true/falsenonetrue
15Linked item(s)


stringnoneempty
  • No labels