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