Sunteți pe pagina 1din 15

Symbols

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.1
Objectives

Upon completion of this chapter the participant will ...


... know the difference between absolute and symbolic addressing
... know the difference between local and global symbols
... know the difference between leading symbols and leading absolute
addresses
... be able to edit a global symbol table
... also be able to edit global symbols from the LAD/STL/FBD Editor
... be able to import and export a symbol table

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.2
Absolute and Symbolic Addressing

A I 0.0 A "T_System_ON"
= Q4.1 = "L_SYSTEM"
A I 0.4 A "S_M/A_ModeSelect"
= Q8.5 = "K_RT"
Call FC18 Call "FC_Count"

Symbol Address Data Type Comment


K_RT Q8.5 BOOL Run Conveyor Right
FC_Count FC18 FC18 Count Transported Parts
T_System_ON I 0.0 BOOL System ON Switch, Momentary Contact
L_SYSTEM Q4.1 BOOL System ON Light
S_M/A_ModeSelect I 0.4 BOOL Operating Mode Man=0/Auto=1
Selector Switch

(max. 24 characters) (max. 80 characters)

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.3
Symbolic Addressing - Overview

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 Program Editor


- Block parameters the block
- local / temporary data

Jump Labels Code section of Program Editor


the block
Block Names: Symbol Table Symbol Editor
- OB
- FB
- FC
- DB
- VAT
- UDT

Data Block Components Declaration part of the DB Program Editor

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.4
The Symbol Table

Double-click

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.5
Edit: Find and Replace

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.6
View: Filter

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.7
View: Sort

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.8
Symbol Table: Export

Where do you want to store the table?

In which format do you want to store


the table?

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.9
Symbol Table: Import

Select directory path here

Enter file name

Select file format

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.10
Editing Symbols in the LAD/STL/FBD Editor

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.11
Symbol Information in the LAD/STL/FBD Editor

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.12
Symbol Selection in the LAD/STL/FBD Editor

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.13
"Leading Symbols"

Symbol Table
Priority: Priority:
Absolute Value Old Entry:
System ON = Q8.0 Symbols

New Entry:
System ON = Q4.0

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.14
Exercise: Creating a Symbol Table for the Conveyor Model

Version A Version B
16 channel 32 channel
Modules Modules

SIMATIC® S7 Date: 03.09.2018


SITRAIN Training for
Automation and Drives
Siemens AG 2003. All rights reserved. File: SERV1_08E.15

S-ar putea să vă placă și