Specifications

7
Data Type Structure Section 1-4
1.4.1 Data Types
Direct accessing of the following data types is possible:
E input bits (bit access, read-only)
A output bits (bit access)
M flag bits (bit access)
EB input bytes (byte access, read-only)
AB output bytes (byte access)
MB flag bytes (byte access)
EW input word (word access, read-only)
AW output word (word access)
MW flag word (word access)
ED input double word (double word access, read-only)
AD output double word (double word access)
MD flag double word (double word access)
DW data word (word access)
DL data word, left (high) (word access)
DR data word, right (low) (word access)
DD data double word (double word access)
T timer (word access, read-only)
Z counter (word access, read-only)
The size of each data area depends on the CPU of the PLC.
1.4.2 Special Simatic Data Formats
The following data formats are supported in the editors:
KB 0 to 255
Variable in byte format
KF -32768 to +32767
Variable in 16-bit fixed point number format
KH 0000 to FFFF
Variable in 4-digit hexadecimal number format
DH 00000000 to FFFFFFFF
Variable in 8-digit hexadecimal number format
KC !! to zz (2 ASCII-characters each)
Variable represented by 2 characters in ASCII format
KT 000.0 to 999.3
Variable represented as a time value
KZ 000 to 999
Variable represented as a count value
KG ±1.2*10-38 to .±3.4*10+38
Variable in 32-bit floating point number format
KM 00000000 00000000 to 11111111 11111111
Variable in bit pattern format