Technical data
Appendix
27.3 Data Types and Parameter Types
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 617
The following tables show the coding of the data types or of the memory areas for the parameter
type ANY.
Coding of the Data Types
Hexadecimal Code Data Type Description
b#16#00 NIL Null pointer
b#16#01 BOOL Bits
b#16#02 BYTE Bytes (8 bits)
b#16#03 CHAR Characters (8 bits)
b#16#04 WORD Words (16 bits)
b#16#05 INT Integers (16 bits)
B#16#06 DWORD Words (32 bits)
b#16#07 DINT Double integers (32 bits)
b#16#08 REAL Floating-point numbers (32 bits)
b#16#09 DATE Date
b#16#0A TIME_OF_DAY (TOD) Time of day
b#16#0B TIME Time
b#16#0C S5TIME Data type S5TIME
b#16#0E DATE_AND_TIME (DT) Date and time (64 bits)
b#16#13 STRING String
Coding of the Memory Areas
Hexadecimal Code Area Description
b#16#80 P I/O area
b#16#81 I Input area
b#16#82 Q Output area
b#16#83 M Bit memory area
b#16#84 DB Data block
b#16#85 DI Instance data block
b#16#86 L Local data (L stack)
b#16#87 V Previous local data