Quickstart Guide
...
Industrial Systems Connection ...
Simulator
Generator
4min
review the following information for setting up and configuring the generator driver manufacturing connect edge compatible series compatibility parameter compatible items driver type used to generate simulated data replaces gen 1 driver(s) simulator (gen1) docid pmzohotguisozmbaeql4 learn more about gen1 and gen2 driver differences docid 9115fvefze7bso1p2ltd configure the list of registers when yout add tags docid\ h5heqicxrcy3nch9kbg9i 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) docid\ bk118jnzhf 5njq0nmblj ) for the same device learn more about gen1 and gen2 driver differences docid\ aqatkqxqg43tfwvjo9tzd register table 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 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 formula enter the formula for the tag the input for the formula (t) represents the timestamp value min value enter the minimum value the tag can generate max value enter the maximum value the tag can generate count enter the number of register values to read a count higher than 1 will generate an array of values from the address value configured and respective subsequent address values 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 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) 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