Valuetype

Der Valuetype wird verwendet, um den gelesenen Wert zurück zum originalen WinCC OA-Wert zu konvertieren und deutet an, dass die Spalte gelesen werden soll.

valuetype WinCC OA-Elementtyp InfluxDB-Spalten-Suffix und Typ
0 bool bool
1 int int
2 unsigned int int
3 float float or float_special
4 string string
5 blob N/A
6 lang string string
7 char int
8 bit32 int
9 bit64 int
10 time int
11 dpid string
12 long int
13 unsigned long int
all dyn dyn

HINWEISE

  • Wenn die dyn-Spalte nicht null ist, hat sie Priorität.
  • Wenn float_special nicht null ist, hat diese Priorität vor float.
  • float_special wird als string gespeichert.

Die Spalte mit dem Suffix _float_special enthält die speziellen float-Werte #inf und nan, weil InfluxDB die Werte nicht im Float-Datentyp abbilden kann.