Quickstart Guide
...
Industrial Systems Connection ...
Simulator

Simulator (Gen1)

3min
review the following information for setting up and configuring the simulator (gen1) driver manufacturing connect edge compatible series compatibility parameter compatible items driver type used to generate simulated data validated devices/series this driver is used to generate simulated data it supports all the standard python math functions such as math sin(x) and math cos(x) configure the list of registers when you add tags docid\ h5heqicxrcy3nch9kbg9i to the connected device, refer to the following register table and tag parameters name value type address format min address max address description b bit ddd 0 255 boolean w int ddd 0 255 integer w float ddd 0 255 float tag parameters name select a register name from the drop down list the available options depend on the names in the register table value type select a data type from the drop down list the available options depend on the register name selected polling interval enter a value in seconds this determines how often the tag should poll the register for data tag name enter a name for the tag description (optional) enter a description for the tag address enter a tag address the value must in the decimal format, within the allowed min/max range omit the leading zeros the device might use the decimal (d), hexadecimal (h), or octal (o) address format see the register table at the bottom of the dialog box for bit tags, append the bit address without the bit separator the lowercase letters in the address format indicate how many digits you should enter in the bit address min value enter the minimum value the tag can generate max value enter the maximum value the tag can generate formula enter the formula for the tag tag formula enter a formula for the tag to process the generated data two variables are permitted value (current tag value) and timestamp (current tag unix time in milliseconds) the following math functions are available sin cos sqrt tan power power( x ) performs the operation 10^x log log( x ) is the natural logarithm (the logarithm is in base e ) exp exp( x ) performs the operation e^x only publish on change of value select the checkbox to customize nats messages to be published only when the value parameter changes from a previous value to a new one change of value only applies to boolean, numeric (such as int or float), and simple string data types it does not apply to complex types, such as json or array poll once topics will not be affected by change of value settings these topics will still only see a single message meta data metadata summarizes basic information about data this feature allows you to define key value pair data for the device output payload later on it can then be used to find, use, and reuse particular instances of data note if you use special characters in meta data key names, the special characters are replaced with underscore characters in the payload this can cause two key names to be combined into one for example, configuring the key names a b and a&\&b will cause only one key name to be created (a b) tip all simulated tags have a default range of 50 to 50 users can override or restrict these defaults using a csv upload entering in the min and max columns prevents the default constraints from being applied numeric values in the min and max columns will replace the default settings the min and max constraints apply to the defined tag formula and do not affect boolean tags