QuickStart Guide
...
Industrial Systems Connection ...
Simulator
Generator
4min
Review the following information for setting up and configuring the Generator driver.
Compatibility parameter | Compatible items |
---|---|
Driver type | Used to generate simulated data |
Replaces Gen 1 driver(s) | Learn more about Gen1 and Gen2 Driver Differences. |
When you Add Tags to the connected device, refer to the following register table and tag parameters.
Note: The address format in this Gen 2 driver is different from the Gen 1 driver (Simulator (Gen1)) for the same device. Learn more about Gen1 and Gen2 Driver Differences.
Name | Data Type | Address Format | Min Address | Max Address | Description |
---|---|---|---|---|---|
S | float64, int64, unit64, bit, char, string | DDDDD | 1 | 32768 | Random value generator |
H | int64 | DDDDD | 1 | 32768 | Holding Register |
Tip:
- If the Min_value and Max_value tag parameters are set, any generated tag values are overridden.
- The supported functions for the Formula tag parameter are
- sin
- cos
- tan
- power
- log
- exp
- rand
- sqrt
- We recommend that you use a cyclic function in the formula. The parameter t represents Unix time in milliseconds. When using trigonometric functions such as sine, adjust the period of the function by dividing t by 10,000, for example, sin(t/10000).