Tags are part of the overarching features Historical data and Datalogging to MQTT broker. With tags you configure when you want to log the data. You can log data on interval (every 100ms - 1h), when the value in the machine changes, or on custom triggers.
Add tags
Add a tag for every variable that you want to log. Note that you can create multiple tags for the same variable. Useful if you wish to log a variable's minimum and maximum value for example.
- Go to Fleet Manager > Devices and click on your device name.
- Under your Data source, go to Tags and click onAdd tag.
- Enter the requested information (details below) and click on Add.
Field Description Variable Select the variable you want to log. Name Enter a name for the variable. Identifier The identifier is entered automatically and ensures that every tag remains unique, even if they share the same name. Log on Interval
Log data on a time interval. Custom allows any interval between 100ms - 1h.Change
Log data when the value in the machine changes. Useful for values that don't change often. This also prevents logging the same consecutive values (e.g. true, true, true, etc.) and thus prevents clutter.The Statusbar component only shows a status up until the last logged value. If the value doesn't change often, this component may show a gap of data between the last value change and now. To bridge this gap and thus more accurately depict the machine status, a configuration option was added. This field is called Specification with the new option being On value changes and each hour of unchanged value. Requires StrideLinx router3 firmware 3.13 or higher .
Trigger
Log data on a custom trigger. Useful to log data at machine-specific events. For example when a certain temperature has been exceeded, an error occurred, or when a product leaves a conveyor. Log triggers need to be configured separately. Follow the instructions and come back here once you have: Configure log triggers. Requires StrideLinx router3 firmware 3.11 or higher .Formula
(log on interval only)The StrideLinx router will continuously request data from the machine, regardless of your logging interval. This enables you to log an aggregated value each interval, like the average value or the maximum value that occurred. Requires StrideLinx router3 firmware 3.7 or higher, .
Mean
Logs the average value.Min
Logs the minimum value.Max
Logs the maximum value.Last (default)
Increase
Logs the most recent value.
Logs the increase in value. Useful for production counters. All value decreases are ignored. For example, if the value changes from 0 to 5 to 0 to 5, the logged value is 10. Requires StrideLinx router3 firmware 3.21 or higher. More information and tips: Visualize production counters in StrideLinx Cloud.Retention policy Enter how long you want to store your data in the cloud. Requires your license/module to remain active. - Repeat step 3 for every tag you want to add or click Import from CSV-file near the top right corner to add tags in bulk instead.
- The structure of the CSV file is explained here: Import tags: CSV file structure.
- Using Export to CSV-file and Import from CSV-file enables you to easily copy tags from one device to another device. Alternatively, you can also use device templates.
You have now made the changes in the StrideLinx Cloud, but these are not yet active in your device. You will need to push your changes to your device for them to take effect.
Temporary disconnect
After this next step, the config push, the device may temporarily disconnect and LAN communication may be temporarily interrupted while it's applying the new settings. This only takes a moment.- Click on Push config to device in the top right corner.
- Click below to continue in the feature specific article.