Siemens SIMATIC STEP 7 V5.2 Getting Started page 21

Table of Contents

Advertisement

Because there are lots of names for the entire "Getting Started" project, you can
copy the symbol table to your "Getting Started" project in Section 4.1.
The data type which was previously added automatically to the symbol table determines the
type of the signal to be processed for the CPU. STEP 7 uses, among others, the following
data types:
BOOL
Data of this type are bit combinations. 1 bit (type BOOL) to 32 bits (DWORD).
BYTE
WORD
DWORD
CHAR
Data of this type occupy exactly one character of the ASCII character set.
INT
They are available for the processing of numerical values (for example, to calculate
arithmetic expressions).
DINT
REAL
S5TIME
Data of this type represent the different time and date values within STEP 7 (for
example, to set the date or to enter the time value for a timer).
TIME
DATE
TIME_OF_DAY
STEP 7 Getting Started
A5E00171228-01
Save the entries or changes you have
made in the symbol table and close the
window.
You can find more information under Help >
Contents in the topics "Programming Blocks"
and "Defining Symbols".
Programming with Symbols
Here you can see the symbol
table for the S7 program in the
"Getting Started" example for
Statement List.
Generally speaking, only one
symbol table is created per
S7 program, regardless of
which programming language
you have selected.
All printable characters (for
example, special characters,
spaces) are permitted in the
symbol table.
3-3

Advertisement

Table of Contents
loading

Table of Contents