This document has only specific information about the device connection settings and its address syntax.
Refer to the User Manual for more information on the Device Module.
Overview
The Simulator Driver gives you many options for data types and ranges, and it gives you control over which simulation values you can generate.
Pick from a list of data types — including Strings! — and set the Min & Max values you would like the data types to range through.
Do you want to simulate a real-world analog device and its response to a 4-20mA varying current? You can!
Or do you prefer to use a range that was 0-25 mA so you can simulate a wire break with 0 mA? Because you can too!
Summary
Communication Driver Information | |
---|---|
Driver name | TSimulator |
Assembly Name | T.ProtocolDriver.TSimulator |
Assembly Version | 1.0.0.1 |
Available for Linux | False |
Devices supported | N/A (Not Applicable) |
Manufacturer | N/A (Not Applicable) |
Protocol | Proprietary over TCP/IP |
PC Requirements | Ethernet port |
Channels Configuration
Protocol Options
Not used in this driver.
Nodes Configuration
Primary Station
Not used in this driver.
Points Configuration
The syntax for the TSimulator communication points is: <Type>:<Min>;<Max>
Example:
Where:
- <Type>: Represents the Simulation Type:
- BOOL: The tag receives a random BOOL value, 0 or 1.
- INTEGER: The tag receives a random integer value from 0 to 5.
- FLOAT: The tag receives a random float value from 0 to 5.
- STRING: The tag receives a random string with 10 string lengths.
- RAMP: The tag receives values from 0 to 10 in ascending order.
- SINE: The tag receives values based on the sine function, its behavior is similar to a wave.
NOTE
- For STRING simulation type, the StringLength can be configured in Modifiers column.
- You can change the time the value refreshes by changing the ReadPollingRate in AccessTypes.
Points configuration examples
TagName | Node | Address | DataType | AccessType | Modifiers |
---|---|---|---|---|---|
MySine | SimulatorNode | SINE:-50;50 | Native | Read | |
MyRamp | SimulatorNode | RAMP:0;100 | Native | Read | |
MyString | SimulatorNode | STRING: | Native | Read | StringLength=5 |
MyBool | SimulatorNode | BOOL: | Native | Read | |
MyInt | SimulatorNode | INTEGER:0;10 | Native | Read | |
MyFloat | SimulatorNode | FLOAT:-500;-100 | Native | Read |
Driver Revision History
TSimulator Revision History | |
---|---|
Version | Notes |
1.0.0.1 | Initial release on new documentation standards |