Technical data
Defining Symbols
8.5 Symbol Table for Shared Symbols
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 203
Converting to C Variables
You can select symbols in the symbol table for an M7 program and convert them to corresponding
C variables in conjunction with the ProC/C++ software option.
8.5.2 Addresses and Data Types Permitted in the Symbol Table
Only one set of mnemonics can be used throughout a symbol table. Switching between SIMATIC
(German) and IEC (English) mnemonics must be done in the SIMATIC Manager using the menu
command Options > Customize in the "Language" tab.
IEC SIMATIC Description Data Type Address
Range
I E Input bit BOOL 0.0 to 65535.7
IB EB Input byte BYTE, CHAR 0 to 65535
IW EW Input word WORD, INT, S5TIME, DATE 0 to 65534
ID ED Input double word DWORD, DINT, REAL, TOD, TIME 0 to 65532
Q A Output bit BOOL 0.0 to 65535.7
QB AB Output byte BYTE, CHAR 0 to 65535
QW AW Output word WORD, INT, S5TIME, DATE 0 to 65534
QD AD Output double word DWORD, DINT, REAL, TOD, TIME 0 to 65532
M M Memory bit BOOL 0.0 to 65535.7
MB MB Memory byte BYTE, CHAR 0 to 65535
MW MW Memory word WORD, INT, S5TIME, DATE 0 to 65534
MD MD Memory double word DWORD, DINT, REAL, TOD, TIME 0 to 65532
PIB PEB Peripheral input byte BYTE, CHAR 0 to 65535
PQB PAB Peripheral output byte BYTE, CHAR 0 to 65535
PIW PEW Peripheral input word WORD, INT, S5TIME, DATE 0 to 65534
PQW PAW Peripheral output word WORD, INT, S5TIME, DATE 0 to 65534
PID PED Peripheral input double word DWORD, DINT, REAL, TOD, TIME 0 to 65532
PQD PAD Peripheral output double word DWORD, DINT, REAL, TOD, TIME 0 to 65532
T T Timer TIMER 0 to 65535
C Z Counter COUNTER 0 to 65535
FB FB Function block FB 0 to 65535
OB OB Organization block OB 1 to 65535
DB DB Data block DB, FB, SFB, UDT 1 to 65535
FC FC Function FC 0 to 65535
SFB SFB System function block SFB 0 to 65535
SFC SFC System function SFC 0 to 65535
VAT VAT Variable table 0 to 65535
UDT UDT User-defined data type UDT 0 to 65535