Quickstart Guide
...
Simulator
Generator
5 min
review the following information for setting up and configuring the generator driver belden horizon data operations compatible series compatibility parameter compatible items driver type used to generate simulated data replaces gen 1 driver(s) docid\ s2kgjkvkfjdn8pimlqzmq learn more about docid 4wbexab2vfbkoxvwa0h g configure the list of registers when you docid\ csrurtoacnmmamyn uc5o 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 ( docid\ s2kgjkvkfjdn8pimlqzmq ) for the same device learn more about docid 4wbexab2vfbkoxvwa0h g 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 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 log exp 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 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