Transfer object
Double-click on the transfer object, set the following properties, and confirm your entries with "OK":
| Property | Description |
|---|---|
| InfluxDB | Influx Plug-In instance to be used |
| Measurement series | Dynamic: A static measurement series must be configured in the transfer object. This setting should be used if data is to be written to only one measurement series. |
| Timestamp source | InfluxDB: When receiving the data, the InfluxDB server uses its own server time (UTC) as the timestamp. This option should not be used for large amounts of data. More information on this can be found at the bottom of this page. OPC Router (UTC): During transfer, the time from the OPC Router server is set as the timestamp in UTC. Dynamic: A custom timestamp can be passed at runtime. If possible, this is converted to UTC. |
| Null handling | Error: The transfer is aborted with an error if a null value is encountered. Discard: The value is discarded and nothing is written to the database. No error is triggered. Replace: A zero value is replaced with a specified value. |
| Tag keys | Tags that are assigned to the written value. Tags help to filter and classify the data. In addition, different tags prevent identical values from being combined. |
| Field keys | Names for the fields in which the values are written at runtime, |
| Default | Default value of a field. Note: This column is only available if "Discard" is selected for zero handling. |
| Type | Data type of a field Note: This column is only available if "Discard" is selected for zero handling. |
Measure series, tags, and fields that have not yet been used are automatically created by the InfluxDB server and do not need to be created beforehand.
Inserts are performed in batches whenever possible. Erroneous records do not prevent the insertion of valid data transmitted at the same time, but the transfer object displays a corresponding error.
When transferring large amounts of data, InfluxDB should not be used as the timestamp source, as this can lead to data aggregation. InfluxDB assigns timestamps when the data is received, which can lead to the summarization of values transmitted in the same nanosecond when batch inserts are performed.
It is recommended to use the OPC Router as the timestamp source or to set the timestamp yourself using the "dynamic" option.