Configuring a PLC Test Hierarchy
- Last UpdatedJul 22, 2015
- 2 minute read
The configuration view has seven parameters, plus "None".
Algorithm: Default Signal Type.
|
None |
The data value will change by itself. You can use it to test and validate your poking values. |
|
Cosine |
The data value will follow a cosine wave. |
|
Random |
The data value will be generated randomly. |
|
Sawtooth |
The data value will follow a sawtooth wave. |
|
Sine |
The data value will follow a sine wave. |
|
String |
The data value will have a string with a serial number of the syntax "TEST: { SerialNumber }". |
|
Triangular |
The value value will follow a triangular wave. |
|
Toggle |
The data value will toggle between 1 and 0. |
At run time, you can also specify the data generation algorithm on a per-item basis by specifying the algorithm name from the preceding list as a suffix to the item using / (forward slash) as the delimiter.
For example, if the default algorithm is Triangular and the tagname is iTest, adding the appropriate suffix will force a different set of data values to be generated, as in the following examples:
|
iTest |
Triangular wave |
|
iTest /sine |
Sine wave |
|
iTest /random |
Random value |
If you make configuration change in the algorithm, you will need to reset the corresponding hierarchy to take effect. See the <hyperlink - Activating/Deactivating the DAServer> for more information.
|
Rate of Change |
The rate of change of the value in milliseconds. |
|
Percentage Change per Interval |
|
|
Range/Group |
The range of signal values. |
|
Force Quality |
Force the simulated value to a certain OPC Quality such as Good, Bad, Subnormal, or Out of Service. |
|
Items Per Message |
Specify the maximum number items can be composed into 1 message internally inside the DAServer. |
|
Unsolicited Updates |
Leave checked (selected). |