You are on page 1of 14

SIEMENS-ATC SD (ST- SERV1)

Symbolic Addressing

SIMATIC S7
Siemens AG 2008. All rights reserved.

Date:
File:

24.11.2014
SERV1_06E.1

SITRAIN Training

for
Automation and Industrial Solutions

Objectives

SIEMENS-ATC SD (ST- SERV1)

Upon completion of the chapter the participant will ...

SIMATIC S7
Siemens AG 2008. All rights reserved.

...

know the difference between absolute and symbolic addressing

...

know the difference between local and global symbols

...

know the difference betweeen leading symbols and leading


absolute addresses

...

be able to edit a global symbol table

...

be able to use the Block Editor to edit global symbols

Date:
File:

24.11.2014
SERV1_06E.2

SITRAIN Training

for
Automation and Industrial Solutions

Absolute and Symbolic Addressing

SIEMENS-ATC SD (ST- SERV1)

Absolute Representation

Symbolic Representation

I0.0

"SYSTEM_ON"

Q8.0

"LED_ON"

I0.4

"M_FORW"

Q20.5

"MOTOR_FOR"

Call

FC18

Call

"COUNT"

Symbol

Address

Data Type

Comment

MOTOR_FOR

Q20.5

BOOL

Motor moves forward

COUNT

FC18

FC18

Count bottles

SYSTEM_ON

I0.0

BOOL

Switch system on

SYSTEM_ON

Q8.0

BOOL

Indicator: System is On

M_FORW

I0.4

BOOL

Pushbutton: Motor forward

(max. 24 characters)

SIMATIC S7
Siemens AG 2008. All rights reserved.

(max. 80 characters)

Date:
File:

24.11.2014
SERV1_06E.3

SITRAIN Training

for
Automation and Industrial Solutions

SIEMENS-ATC SD (ST- SERV1)

Symbolic Addressing
Where are symbols used?

Where are they stored?

Global Data:
- Inputs
- Outputs
- Bit mem., timers, counters
- Peripheral I/O

Symbol Table

Symbol Editor

Local Block Data:


- Block parameters
- local / temporary data

Declaration part of the


block

Program Editor

Jump Labels

Code section of the


block

Program Editor

Block Names:
- OB
- FB
- FC
- DB
- VAT
- UDT

Symbol Table

Symbol Editor

DB Components

Declaration part of the DB

Program Editor

SIMATIC S7
Siemens AG 2008. All rights reserved.

Date:
File:

24.11.2014
SERV1_06E.4

With what are they created?

SITRAIN Training

for
Automation and Industrial Solutions

SIEMENS-ATC SD (ST- SERV1)

The Symbol Table

SIMATIC S7
Siemens AG 2008. All rights reserved.

Date:
File:

24.11.2014
SERV1_06E.5

SITRAIN Training

for
Automation and Industrial Solutions

SIEMENS-ATC SD (ST- SERV1)

Edit: Find and Replace

SIMATIC S7
Siemens AG 2008. All rights reserved.

Date:
File:

24.11.2014
SERV1_06E.6

SITRAIN Training

for
Automation and Industrial Solutions

SIEMENS-ATC SD (ST- SERV1)

View: Filter

SIMATIC S7
Siemens AG 2008. All rights reserved.

Date:
File:

24.11.2014
SERV1_06E.7

SITRAIN Training

for
Automation and Industrial Solutions

SIEMENS-ATC SD (ST- SERV1)

View: Sort

SIMATIC S7
Siemens AG 2008. All rights reserved.

Date:
File:

24.11.2014
SERV1_06E.8

SITRAIN Training

for
Automation and Industrial Solutions

SIEMENS-ATC SD (ST- SERV1)

Editing Symbols in the LAD/STL/FBD Editor

SIMATIC S7
Siemens AG 2008. All rights reserved.

Date:
File:

24.11.2014
SERV1_06E.9

SITRAIN Training

for
Automation and Industrial Solutions

SIEMENS-ATC SD (ST- SERV1)

Symbol Information in the LAD/STL/FBD Editor

SIMATIC S7
Siemens AG 2008. All rights reserved.

Date:
File:

24.11.2014
SERV1_06E.10

SITRAIN Training

for
Automation and Industrial Solutions

SIEMENS-ATC SD (ST- SERV1)

Symbol Selection in LAD/FBD

SIMATIC S7
Siemens AG 2008. All rights reserved.

Date:
File:

24.11.2014
SERV1_06E.11

SITRAIN Training

for
Automation and Industrial Solutions

Symbol Table: Export

SIEMENS-ATC SD (ST- SERV1)

Where do you want to store the table?

In which format do you want to store


the table?

SIMATIC S7
Siemens AG 2008. All rights reserved.

Date:
File:

24.11.2014
SERV1_06E.12

SITRAIN Training

for
Automation and Industrial Solutions

SIEMENS-ATC SD (ST- SERV1)

Symbol Table: Import

Select directory path

Enter file name

Select file format

SIMATIC S7
Siemens AG 2008. All rights reserved.

Date:
File:

24.11.2014
SERV1_06E.13

SITRAIN Training

for
Automation and Industrial Solutions

Exercise 1: Creating a Symbol Table for the Conveyor Model

SIEMENS-ATC SD (ST- SERV1)

"K_Conv_RIGHT" (Q 8.5)
"K_Conv_LEFT" (Q 8.6)

"BAY1"
(I 8.5)

"BAY2"
(I 8.6)

"BAY3"
(I 8.7)

"Horn"
(Q 8.7)

"LB"
(I 8.0)

"T_Bay1"
"T_Bay2"
"T_Bay3"
"T_Bay-LB"
(I 8.1)
(I 8.2)
(I 8.3)
(I 8.4)
"L_Bay1"
"L_Bay2"
"L_Bay3"
"L_Bay-LB"
(Q 8.1)
(Q 8.2)
(Q 8.3)
(Q 8.4)

SIMATIC S7
Siemens AG 2008. All rights reserved.

Date:
File:

24.11.2014
SERV1_06E.14

SITRAIN Training

for
Automation and Industrial Solutions