Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 DescriptionScopeUnitMandatory / default value
1NameItem suffixThe name suffix that is added to the item ID of the data point. In combination with the Path, it must be uniquesource item. The new item ID use for the virtual item that is created by the module.stringnonemandatory
2PathThe structure that is used to represent the data point. In combination with the Name, it must be unique.Base path or base item ID


stringnonemandatory
3Selector
stringnoneempty
34Data typeThe type of the data pointitem that is createdBOOL, STR, BYTE, CHAR, INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, DATE, TIMEnoneSTRR
45Access modeThe access rights of the data point. the item that is created.  Allowed values are R (read-only), W (write-only), RW (read and writable).R, W, RWnoneR
5Polling UrlThe URL which is used to retrieve the data point value. The server polls by HTTP GET requests to this URL. If empty, polling is not available.6Description
stringnone9Update UrlThe URL which is used to update the data point values. The server issues HTTP PUT, POST or GET requests to this URL. If empty, updating of the values is not possible.empty
6Polling intervalThe polling interval in milliseconds.50 – 65535ms5000
7Polling ResourceThe resource that is used for polling. It has to match the name that is used in the HTTP resource definition.Reference to HTTP resource definitionnoneempty
8Polling ParametersA comma-separated list of parameters that are used to replace the placeholders within the polling resource ({0}, {1}, ...).stringmsempty
(source item description is used)
7Persistent
empty/true/falsenoneempty (source item setting is used)
8Synchronize
empty/true/falsenoneempty (source item setting is used)
9In calculation function
stringnoneempty
10Update MethodThe web update request method. POST, PUT, GETOut calculation function

nonePOST
11Update ResourceThe resource that is used for updating. It has to match the name that is used in the HTTP resource definition.Reference to HTTP resource definitionIn processing type

noneempty
12Update ParametersA comma-separated list of parameters that are used to replace the placeholders within the update resource ({0}, {1}, ...).In processing resource
stringnoneempty
13PersistentIf enabled, the last known data point value is restored after server start up.Out processing type
true/falsenonefalse
14Synchronize If enabled, the value is synchronized with the backup server if used.Out processing resource
true/falsenonetrue
15Authentication User

Username for Basic or Digest HTTP authentication if required by the HTTP server. If empty, no HTTP authentication is used.

stringnoneempty
16Authentication Password

Password for Basic or Digest HTTP authentication if required by the HTTP server. If empty, no HTTP authentication is used.

stringnoneempty
17Additional HTTP HeadersA list of additional HTTP headers which is included in each HTTP request, e.g. for authentication purposes. Additional headers must have the following form: "<key1>: <value1>\r\n<key2>: <value2>\r\n<key3>: <value3>..."Linked item(s)


stringnoneempty18Authentication MethodThe authentication method (Basic or Digest) if required by the HTTP server.Basic, DigestnoneBasic