List of available operations |
Below there is a list of available operations:
This topic contains the following sections:
This section contains the following subsections:
This section contains the following subsections:
This operation generates a random value to its output. The value from 0 to the value that is set as an operation parameter.
Operation parameter
The upper value of random range.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This operation sets a constant value to the output.
Operation parameter
Represents a real number value. To indicate whether the number is positive or negative, apply + or - unary operators to the numeric constant. This creates a numeric expression that represents the signed numeric value. Numeric constants use positive when + or - unary operators are not applied.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This section contains the following subsections:
This operation stores the input tag in buffered queue. Access to buffered queue is available via Web Services (XML/AOAP).
Operation parameter
The parameter is the name of the queue.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This operation reads the value of an OPC item as configured in the OPC client configuration.
Item
The OPC item selected from the drop-down list.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This operation sets the value of a system variable (e.g. second, hour, minute, etc.) to the output.
Item parameter
The following value can be selected from the drop-down list including the following items.
System Item | Description |
---|---|
System.DateTime.Now.Date | Returns the current system date and time |
System.DateTime.Now.Day | Returns an integer representing the day part of the specified date. The day component is expressed as a value between 1 and 31. |
System.DateTime.Now.DayOfWeek | Returns an integer representing the day of week part of the specified date. DayOfWeek enumerated constant indicates the day of the week of this DateTime value. |
System.DateTime.Now.DayOfYear | Returns an integer representing the day of year part of the specified date. The day of the year component is expressed as a value between 1 and 366. |
System.DateTime.Now.Hour | Returns an integer representing the hour part of the specified time. The hour component is expressed as a value between 0 and 23. |
System.DateTime.Now.Kind | Returns a value that indicates whether the time represented by this instance is based on local time, Coordinated Universal Time (UTC), or neither. |
System.DateTime.Now.Milliseconds | Returns an integer representing the milliseconds part of the specified time. The milliseconds component is expressed as a value between 0 and 999. |
System.DateTime.Now.Minute | Returns an integer representing the minute part of the specified time. The minute component is expressed as a value between 0 and 59. |
System.DateTime.Now.Month | Returns an integer representing the month part of the specified date. The month component is expressed as a value between 1 and 12. |
System.DateTime.Now.Second | Returns an integer representing the seconds part of the specified time. The seconds between 0 and 59. |
System.DateTime.Now.Ticks | Gets the number of ticks that represent the date and time intervals that have elapsed since 12:00:00 midnight, January 1, 0001 |
System.DateTime.Now.TimeOfDay | Gets the time of Day that represents the fraction of the day that has elapsed since midnight. |
System.DateTime.Now.Year | Returns an integer representing the year part of the specified date. The year between 1 and 9999. |
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This operation writes the value of input in the selected OPC item.
Item parameter
The OPC item selected from the drop-down list.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This section contains the following subsections:
This operation tests if values of inputs are equal. If so, the operation sets true (a value greater than zero) on the output and false (zero) otherwise.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This operation tests whether the value on the input is within the selected range. If so, the operation sets true (a value greater than zero) on the output, and false (zero) otherwise.
Low Limit
The value of the low interval endpoint. If “Can be equal” is selected, the value can be equal to this endpoint value.
Hi Limit
The value of the upper interval endpoint. If “Can be equal” is selected, the value can be equal to this endpoint value.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This section contains the following subsections:
This operation adds values of inputs.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This operation calculates an arithmetic average of inputs.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This operation divides the value of the first input by the value of the second input.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This operation multiplies values of inputs.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This operation scales the input value. It calculates the selected power of 10 and multiplies this value by the input value.
Operation parameter
The value of the power to raise 10 to. The value argument can be of integer type, e.g. operation parameter ‘0’ – do not scale the value (10^0=1); ‘1’ - multiply the source value by 10 (10^1=10); ‘-2’ – divide the source value by 100 (10^(-2)=0.01=1/100).
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This operation subtracts the value of the second input from the value of the first input.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This section contains the following subsections:
This operation splits the input signal to outputs (it gets the value of the input and sets this value to both outputs).
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This section contains the following subsections:
This operation writes data into a database of your choice.
Operation parameter
Read topic SQL Conectivity to find more information about it.
Number of inputs
The number of inputs selected from the drop-down list.
Number of outputs
The number of outputs selected from the drop-down list.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This operation reads data from a database of your choice.
Operation parameter
Read topic SQL Conectivity to find more information about it.
Number of inputs
The number of inputs selected from the drop-down list.
Number of outputs
The number of outputs selected from the drop-down list.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.
This operation allows to transfer data between OPC and database. It has build-in conditional engine and XML script interpreter. Configuration is stored inside operation parameter as XML data. XML describes what should be done in this operation.
Operation parameter
Read topic SQL Conectivity to find more information about it.
Number of inputs
The number of inputs selected from the drop-down list.
Number of outputs
The number of outputs selected from the drop-down list.
Name
Name that identifies this operation. It doesn't matter (for DataPorter engine) what name is chosen, but it should be unique to other operation names and give information about purpose of this operation. This name is displayed in “Session tree view” and DataPorter statistics.
Comment
This is an optional comment about this operation.