Simulation Server Suffixes
- Last UpdatedJul 22, 2015
- 2 minute read
The Simulation OI Server allows you to specify suffixes for each item, described in the following table, to identify the simulation signal.
-
The naming syntax is case insensitive.
-
The range, rate and other parameters are configured in the appropriate PLC_Test hierarchy.
-
If the suffix is not specified, the configured value of the "Algorithm" parameter in the PLC_Test hierarchy will be used.
For more information, see Configuring a PLC Test Hierarchy.
|
Suffix |
Description |
|
/cosine |
Generate a cosine wave. |
|
/none |
No signal value is to be generated. |
|
/random |
Generate a random value between 0 and value of Range/Group configured in the PLC_Test Hierarchy. |
|
/rand.normal |
Generate a normalized random value between 0.0 and 1.0. |
|
/sawtooth |
Generate a sawtooth wave. |
|
/sine |
Generate a sine wave. |
|
/string |
Generate a string with changing numeric value of the form TEST:{number}. |
|
/toggle |
Toggle value between 0 and 1. |
|
/triangular |
Generate a triangular wave. |
The Simulation OI Server supports suffixes for process variable simulation, listed in the following table. For each simulated process variable, there are 3 other suffixes, which can be set dynamically at run time to determine the behavior of each simulated process variable. The suffix is case insensitive and does not require any configuration in the PLC_Test hierarchy.
|
Suffix |
Description |
Default Value |
Example |
|
/sim.pv |
This is the process variable for the corresponding tag. |
70.0 |
Tag1 /sim.pv |
|
/sim.sp |
Specifies the setpoint for the associated process variable. |
60.0 |
Tag1 /sim.sp |
|
/sim.dev |
Specifies the maximum deviation the setpoint and process variable can have. The actual deviation is randomly generated. |
6.0 |
Tag1 /sim.dev |
|
/sim.noise |
Specifies the maximum amount of fluctuation the process variable can have. The actual noise level is randomly generated. |
3.0 |
Tag1 /sim.noise |
Alternatively, if a tag ends with the pre-defined syntax described in the following table, the Simulation OI Server can recognize it as a process variable or as an associated parameter. The syntax for process variable parameters is encoded in the process variable definition file PVSyntax.txt in folder C:\ProgramData\Wonderware\DAServer\DASSim.
|
Suffix |
Description |
Default Value |
Example |
|
.pv |
This is the process variable for the corresponding tag. |
70.0 |
Tag1.pv |
|
.sp |
Specifies the setpoint for the associated process variable. |
60.0 |
Tag1.sp |
|
.dev |
Specifies the maximum deviation the setpoint and process variable can have. The actual deviation is randomly generated. |
6.0 |
Tag1.dev |
|
.noise |
Specifies the maximum amount of fluctuation the process variable can have. The actual noise level is randomly generated. |
3.0 |
Tag1.noise |