Appendix
A.1 Overview of datatypes
Getting Connected to MindSphere
76 Getting Started, 05/2018
Area Types
S7 datapoint addresses must contain an area type.
I: Process Input Reads Input value of Process image.
PI: Peripheral Input Reads Input value directly from hardware.
Q: Process Output Reads Input value of Process image.
PQ: Peripheral Output Reads Output value directly from hardware.
M: Memory Reads Memory value of hardware.
T: Timer Reads Timer value of hardware.
C: Counter Reads Counter value of hardware.
DB: Datablock Reads datablock value from hardware.
DI: Instance Data Reads data directly from hardware.
Area Number
S7 datapoint addresses must contain area number.
e.g.: DB10 (10. datablock)
Variable Types
Area types other than timer and counter must contain a variable type.
Type Length
X: Bit(Bool) 1
B: Byte(Unsigned) 1 byte
W: Word(Unsigned) 2 bytes
D: Double Word(Unsigned) 4 bytes
CHAR: Byte(Signed) 1 byte
INT: Word(Signed) 2 bytes
DINT: Double Word(Signed) 4 bytes
REAL: Floating Point Number 4 bytes
STRING
2)
: String Calculated or given by user
Offset
Variable types must have an offset. Offset is the starting byte number.
e. g. DW4 (a double word starting from byte 4)