0% found this document useful (0 votes)
21 views14 pages

07 Symbols R01

The document discusses symbolic and absolute addressing in SIMATIC S7 and how symbols are used. Symbols provide more readable and maintainable code by assigning names to addresses. Symbols are stored in the symbol table and can be edited, imported, exported, filtered and sorted. Symbols are used for I/O, timers, counters, jump labels, and other program elements. The symbol table manages symbol definitions and priorities.

Uploaded by

thaibkpro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views14 pages

07 Symbols R01

The document discusses symbolic and absolute addressing in SIMATIC S7 and how symbols are used. Symbols provide more readable and maintainable code by assigning names to addresses. Symbols are stored in the symbol table and can be edited, imported, exported, filtered and sorted. Symbols are used for I/O, timers, counters, jump labels, and other program elements. The symbol table manages symbol definitions and priorities.

Uploaded by

thaibkpro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

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

You might also like