Symbols: Simatic S7

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 14

Symbols

SIMATIC S7 Date: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.1
Absolute and Symbolic Addressing

A I 0.0 A “PLANT_ON"
= Q8.0 = “ON_INDIC"
A I 0.4 A "M_FORW"
= Q20.5 = "MOTOR_FORW"
Call FC18 Call “COUNT"

Symbol Address Data Type Comment


MOTOR_FORW Q20.5 BOOL Motor forwards
COUNT FC18 FC18 Count bottles
PLANT_ON I 0.0 BOOL Switch on plant
ON_INDIC Q8.0 BOOL Indicator: Plant is “On”
M_FORW I 0.4 BOOL M.-con. switch: Motor forwards

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

SIMATIC S7 Date: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.2
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: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.3
Opening the Symbol Table

SIMATIC S7 Date: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.4
Edit: Find and Replace

SIMATIC S7 Date: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.5
View: Filter

SIMATIC S7 Date: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.6
View: Sort

SIMATIC S7 Date: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.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: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.8
Symbol Table: Import

Select directory path here

Enter file name

Select file format

SIMATIC S7 Date: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.9
Editing Symbols (in the LAD/STL/FBD Editor)

SIMATIC S7 Date: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.10
Symbol Information (in the LAD/STL/FBD Editor)

SIMATIC S7 Date: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.11
Symbol Selection (in the LAD/STL/FBD Editor)

SIMATIC S7 Date: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.12
"Leading Symbols"

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

New Entry:
Plant ON = Q4.0

SIMATIC S7 Date: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.13
Exercise: Creating a Symbol Table for FC 15

Address Address
Symbol
(Version A) (Version B)

Plant On Q 8.1 Q 4.1


Manual Mode Q 8.2 Q 4.2
Automatic Mode Q 8.3 Q 4.3
Conveyor Forward Q 20.5 Q 8.5
Conveyor Backward Q 20.6 Q 8.6
Start I 0.0 I 0.0
Stop I 0.1 I 0.1
Jog Forward I 0.2 I 0.2
Jog Backward I 0.3 I 0.3
Automatic/Manual I 0.4 I 0.4
Enter Mode I 0.5 I 0.5

SIMATIC S7 Date: 27.12.20 Information and Training Center


Knowledge for Automation
Siemens AG 1999. All rights reserved. File: SYH_10E.14

You might also like