You are on page 1of 14

Symbolic Addressing

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date:
File:

07/30/16
PRO1_05E.1

SITRAIN Training for


Automation and Industrial Solutions

Objectives
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:

07/30/16
PRO1_05E.2

SITRAIN Training for


Automation and Industrial Solutions

Absolute and Symbolic Addressing


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:

07/30/16
PRO1_05E.3

SITRAIN Training for


Automation and Industrial Solutions

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:

07/30/16
PRO1_05E.4

With what are they created?

SITRAIN Training for


Automation and Industrial Solutions

The Symbol Table

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date:
File:

07/30/16
PRO1_05E.5

SITRAIN Training for


Automation and Industrial Solutions

Edit: Find and Replace

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date:
File:

07/30/16
PRO1_05E.6

SITRAIN Training for


Automation and Industrial Solutions

View: Filter

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date:
File:

07/30/16
PRO1_05E.7

SITRAIN Training for


Automation and Industrial Solutions

View: Sort

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date:
File:

07/30/16
PRO1_05E.8

SITRAIN Training for


Automation and Industrial Solutions

Editing Symbols in the LAD/STL/FBD Editor

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date:
File:

07/30/16
PRO1_05E.9

SITRAIN Training for


Automation and Industrial Solutions

Symbol Information in the LAD/STL/FBD Editor

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date:
File:

07/30/16
PRO1_05E.10

SITRAIN Training for


Automation and Industrial Solutions

Symbol Selection in LAD/FBD

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date:
File:

07/30/16
PRO1_05E.11

SITRAIN Training for


Automation and Industrial Solutions

Symbol Table: Export

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:

07/30/16
PRO1_05E.12

SITRAIN Training for


Automation and Industrial Solutions

Symbol Table: Import

Select directory path

Enter file name

Select file format

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date:
File:

07/30/16
PRO1_05E.13

SITRAIN Training for


Automation and Industrial Solutions

Exercise 1: Importing a Symbol Table

SIMATIC S7

Siemens AG 2008. All rights reserved.

Date:
File:

07/30/16
PRO1_05E.14

SITRAIN Training for


Automation and Industrial Solutions

You might also like