Upload
nyamai20008234
View
231
Download
1
Embed Size (px)
Citation preview
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
1/14
Date: 24.11.2014File: SERV1_06E.1SIMATIC S7Siemens AG 2008. All rights reserved. SITRAIN
Training forAutomation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
Symbolic Addressing
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
2/14
Date: 24.11.2014File: SERV1_06E.2SIMATIC S7Siemens AG 2008. All rights reserved. SITRAIN
Training forAutomation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
Objectives
Upon completion of the chapter the participant wil l ...
... know the difference between absolute and symbolic addressing
... know the difference between local and global symbols
... know the difference betweeen leading symbols and leadingabsolute addresses
... be able to edit a global symbol table
... be able to use the Block Editor to edit global symbols
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
3/14
Date: 24.11.2014File: SERV1_06E.3SIMATIC S7Siemens AG 2008. All rights reserved. SITRAIN
Training for
Automation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
Absolute and Symbolic Addressing
Symbol Address Data Type Comment
MOTOR_FOR
COUNT
SYSTEM_ON
SYSTEM_ON
M_FORW
Q20.5
FC18
I0.0
Q8.0
I0.4
BOOL
FC18
BOOL
BOOL
BOOL
Motor moves forward
Count bottles
Switch system on
Indicator: System is On
Pushbutton: Motor forward
(max. 24 characters) (max. 80 characters)
A "SYSTEM_ON"
= "LED_ON"
A "M_FORW"
= "MOTOR_FOR"
Call "COUNT"
Symbolic Representation
A I0.0
= Q8.0
A I0.4
= Q20.5
Call FC18
Absolute Representat ion
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
4/14
Date: 24.11.2014File: SERV1_06E.4SIMATIC S7Siemens AG 2008. All rights reserved. SITRAIN
Training for
Automation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
Local Block Data: Declaration part of the Program Editor- Block parameters block- local / temporary data
Jump Labels Code section of the Program Editor block
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
DB Components Declaration part of the DB Program Editor
Block Names: Symbol Table Symbol Editor - OB- FB
- FC- DB- VAT- UDT
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
5/14
Date: 24.11.2014File: SERV1_06E.5SIMATIC S7Siemens AG 2008. All rights reserved.
SITRAIN Training forAutomation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
The Symbol Table
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
6/14
Date: 24.11.2014File: SERV1_06E.6SIMATIC S7Siemens AG 2008. All rights reserved.
SITRAIN Training forAutomation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
Edit: Find and Replace
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
7/14
Date: 24.11.2014File: SERV1_06E.7SIMATIC S7Siemens AG 2008. All rights reserved.
SITRAIN Training forAutomation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
View: Filter
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
8/14
Date: 24.11.2014File: SERV1_06E.8SIMATIC S7Siemens AG 2008. All rights reserved.
SITRAIN Training forAutomation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
View: Sort
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
9/14
Date: 24.11.2014File: SERV1_06E.9SIMATIC S7Siemens AG 2008. All rights reserved.
SITRAIN Training forAutomation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
Editing Symbols in the LAD/STL/FBD Editor
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
10/14
Date: 24.11.2014File: SERV1_06E.10SIMATIC S7Siemens AG 2008. All rights reserved.
SITRAIN Training forAutomation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
Symbol Information in the LAD/STL/FBD Editor
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
11/14
Date: 24.11.2014File: SERV1_06E.11SIMATIC S7Siemens AG 2008. All rights reserved.SITRAIN Training for
Automation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
Symbol Selection in LAD/FBD
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
12/14
Date: 24.11.2014File: SERV1_06E.12SIMATIC S7Siemens AG 2008. All rights reserved.SITRAIN Training for
Automation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
Symbol Table: Export
Where do you want to store the table?
In which format do you want to storethe table?
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
13/14
Date: 24.11.2014File: SERV1_06E.13SIMATIC S7Siemens AG 2008. All rights reserved.SITRAIN Training for
Automation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
Symbol Table: Import
Select file format
Enter file name
Select directory path
7/24/2019 SERV1 06E Symbolic [Compatibility Mode]
14/14
Date: 24.11.2014File: SERV1_06E.14SIMATIC S7Siemens AG 2008. All rights reserved.SITRAIN Training for
Automation and Industrial Solutions
SIEMENS-A
TC
SD
(ST-SE
RV1)
Exercise 1: Creating a Symbol Table for the Conveyor Model
"Horn"(Q 8.7)"LB"(I 8.0)"BAY1"(I 8.5) "BAY2"(I 8.6) "BAY3"(I 8.7)
"L_Bay2"
(Q 8.2)
"T_Bay2"
(I 8.2)
"L_Bay1"
(Q 8.1)
"T_Bay1"
(I 8.1)
"L_Bay3"
(Q 8.3)
"T_Bay3"
(I 8.3)
"L_Bay-LB"
(Q 8.4)
"T_Bay-LB"
(I 8.4)
"K_Conv_RIGHT" (Q 8.5)"K_Conv_LEFT" (Q 8.6)