Expressions.expr-primary-opc-time

An OPC relative time

Format

{{ OPC { 'TimeValue' | ? | ( TimeExpr ) } }}

Remarks

Specifies an OPC relative time.

The Time value can be one of the following:

The resulting string is interpreted as an OPC Relative time, in the format: Keyword [ [ { + | - } ] QuantityKeyword ]*.

Where Keyword is taken from the following table and Quantity is a numeric value.

Keyword Description
NOW The current time
SECOND Seconds
MINUTE Minutes
HOUR Hours
DAY Days
WEEK Weeks
MONTH Months
YEAR Years

Keywords can be abbreviated.

Example:

{OPC 'NOW'}

{OPC 'HOUR + 5 MINUTES'}

{OPC (? || ' + 1H - 5M'}


Disclaimer

Geo SCADA Expert 2019