Area indicator Area types Description
Area indicator Area types Description
C Counter Reads Counter value of hardware.
DB Datablock Reads datablock value from hardware.
DI Instance Data Reads data directly from hardware.
I Process Input Reads Input value of Process image.
M Memory Reads Memory value of hardware.
PI Peripheral Input Reads Input value directly from hardware.
PQ Peripheral Output Reads Output value directly from hardware.
Q Process Output Reads Input value of Process image.
T Timer Reads Timer value of hardware.
Area Number
S7 datapoint addresses must contain area number.
E.g.: DB10 (10. datablock)
Data Types
The following table shows the data types:
Data type Length Date range
BOOLEAN 1 bit True to False
INT 4 bytes
−2147483648 to 2147483647
LONG 8 bytes
−9223372036854775808 to 9223372036854775807
DOUBLE 8 bytes
-9.9999999999999999999999999999999999999E+125 to
9.9999999999999999999999999999999999999E+125
STRING
1-255
bytes
The following table shows the S7 data types:
S7 data types:
Data type Length Date range