Symbols
SIMATIC S7 Date: 04.03.2019
File: 07_.1
Absolute and Symbolic Addressing
Absolute Representation Symbolic Representation
A I0.0 A "SYSTEM_ON"
= Q8.0 = "SYSTEM_ON"
A I0.4 A "M_FORW"
= Q20.5 = "MOTOR_FOR
Cal FC18 Cal " "COUNT"
l l
Symbol Address Data Type Comment
MOTOR_FOR Q20.5 BOOL Motor moves forward
COUNT FC18 FC18 Count bottles
SYSTEM_ON_SW I0.0 BOOL Switch system on
SYSTEM_ON_LT Q8.0 BOOL Indicator: System is “On”
M_FORW I0.4 BOOL Pushbutton: Motor forward
(max. 24 (max. 80
characters) characters)
SIMATIC S7 Date: 04.03.2019
File: 07_.2
Symbolic Addressing
Where are symbols used? Where are they stored? With what are they created?
Global Data: Symbol Table Symbol Editor
- Inputs
- Outputs
- Bit mem., timers, counters
- Peripheral I/O
Local Block Data: Declaration part of the Program Editor
- Block parameters block
- local / temporary data
Jump Labels Code section of the Program Editor
block
Block Names: Symbol Table Symbol Editor
- OB
- FB
- FC
- DB
- VAT
- UDT
DB Components Declaration part of the DB Program Editor
SIMATIC S7 Date: 04.03.2019
File: 07_.3
The Symbol Table
Double-click
SIMATIC S7 Date: 04.03.2019
File: 07_.4
Edit: Find and Replace
SIMATIC S7 Date: 04.03.2019
File: 07_.5
View: Filter
SIMATIC S7 Date: 04.03.2019
File: 07_.6
View: Sort
SIMATIC S7 Date: 04.03.2019
File: 07_.7
Symbol Table: Export
Where do you want to store the table?
In which format do you want to
store the table?
SIMATIC S7 Date: 04.03.2019
File: 07_.8
Symbol Table: Import
Select directory
path
Enter file name
Select file format
SIMATIC S7 Date: 04.03.2019
File: 07_.9
Editing Symbols in the LAD/STL/FBD Editor
SIMATIC S7 Date: 04.03.2019
File: 07_.10
Symbol Information (in the LAD/STL/FBD Editor)
SIMATIC S7 Date: 04.03.2019
File: 07_.11
Symbol Selection in the LAD/STL/FBD Editor
SIMATIC S7 Date: 04.03.2019
File: 07_.12
"Leading Symbols"
Symbol Table
Priority: Priority:
Absolute Value Old Entry: Symbols
System ON = Q8.0
New Entry:
System ON = Q4.0
SIMATIC S7 Date: 04.03.2019
File: 07_.13
Exercise: Creating a Symbol Table for the Conveyor Model
Version A Version B 32
16 channel channel
Modules Modules
SIMATIC S7 Date: 04.03.2019
File: 07_.14