Date: 01.01.22 File: PRO1_17E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Solutions (Version A)
Mar 27, 2015
Date: 10.04.23File: PRO1_17E.1
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Solutions (Version A)
Date: 10.04.23File: PRO1_17E.2
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Creating a Project
Date: 10.04.23File: PRO1_17E.3
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Inserting an S7-Program
Date: 10.04.23File: PRO1_17E.4
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Inserting an S7-Block
Date: 10.04.23File: PRO1_17E.5
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: CPU Memory Reset
Date: 10.04.23File: PRO1_17E.6
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Selecting the Mnemonics
Date: 10.04.23File: PRO1_17E.7
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Opening and Editing FC 1
Date: 10.04.23File: PRO1_17E.8
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Changing the Programming Language
Date: 10.04.23File: PRO1_17E.9
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Saving FC 1
Date: 10.04.23File: PRO1_17E.10
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Downloading a Block into the PLC
Date: 10.04.23File: PRO1_17E.11
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Calling FC 1 in OB 1
Date: 10.04.23File: PRO1_17E.12
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Testing FC 1 (in LAD)
Date: 10.04.23File: PRO1_17E.13
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Expanding the Program in the FC 1 Block
Date: 10.04.23File: PRO1_17E.14
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Normally Open and Normally Closed ContactsTask: In all three examples the light should be on when S1 is activated and S2 is not activated!
I 1.0 I 1.1 Q 4.0 I 1.0 I 1.1 Q 4.0
A I 1.0
AN I 1.1
= Q 4.0
Q 4.0
I 1.0
I 1.1
&
Q 4.0
I 1.0
I 1.1
&
Q 4.0
I 1.0
I 1.1
&
A I1.0
A I1.1
= Q 4.0
AN I 1.0
A I 1.1
= Q 4.0
Software
I1.0
S1
I1.1
S2
I1.0
S1
I1.1
S2
I1.0
S1
I1.1
S2
Q 4.0
Programmable controller
LightLight Light
Q 4.0
Programmable controller
Q 4.0
Programmable controller
FDB
STL
LAD
Hardware
I 1.0 I 1.1 Q 4.0
I 1.0 I 1.1 I 1.0 I 1.1 I 1.0 I 1.1
Date: 10.04.23File: PRO1_17E.15
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Program for a Bottling Plant (Mode Section)
Date: 10.04.23File: PRO1_17E.16
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Timers
T4S_PEXT
STVR
BIBCD
Q
I 0.7S5T#5s
I 0.5 Q 8.0
I 0.7
I 0.5
Q8.0
T4S_PULSE
STVR
BIBCD
Q
I 0.7S5T#5s
I 0.5 Q 8.0
I 0.7
I 0.5
Q8.05s
T4S_ODT
STVR
BIBCD
Q
I 0.7S5T#5s
I 0.5 Q 8.0
I 0.7
I 0.5
Q8.0
T4S_ODTS
STVR
BIBCD
Q
I 0.7S5T#5s
I 0.5 Q 8.0
I 0.7
I 0.5
Q8.0
I 0.7
I 0.5
Q8.0
T4S_OFFDT
STVR
BIBCD
Q
I 0.7S5T#5s
I 0.5 Q 8.0
Date: 10.04.23File: PRO1_17E.17
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Program for a Bottling Plant (Filling Cycle and Bottle Count)
Date: 10.04.23File: PRO1_17E.18
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Program for a Bottling Plant (Production Data)
Date: 10.04.23File: PRO1_17E.19
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise : Program for a Bottling Plant (Number of Packaging Units)
Date: 10.04.23File: PRO1_17E.20
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Creating a Symbol Table for FC 15
Date: 10.04.23File: PRO1_17E.21
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Monitoring and Modifying Variables
Date: 10.04.23File: PRO1_17E.22
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Modifying Variables in the Stop Mode
Date: 10.04.23File: PRO1_17E.23
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Using Trigger Points for the Modify Variables Function
(Q 4.6)
Additional network in OB 1 of the S7 program "My Program"
Date: 10.04.23File: PRO1_17E.24
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Forcing
Date: 10.04.23File: PRO1_17E.25
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Combining Program Status and Monitor Variable
Date: 10.04.23File: PRO1_17E.26
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Program for a Bottling Plant - Data Storage (1)
Date: 10.04.23File: PRO1_17E.27
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Program for a Bottling Plant - Data Storage (2)
Date: 10.04.23File: PRO1_17E.28
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Using Local Variables
Date: 10.04.23File: PRO1_17E.29
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Editing a Parameter-assignable FC
Date: 10.04.23File: PRO1_17E.30
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Calling a Parameter-assignable FC
Date: 10.04.23File: PRO1_17E.31
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Editing a Function Block
Date: 10.04.23File: PRO1_17E.32
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Calling a Function Block and Testing It
Date: 10.04.23File: PRO1_17E.33
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Recognizing Types of Variables
Absolute Symbolic
XXXXX
XX
Temporary Static Parameter
XX
XX
X
L #Number_1
T #Max_value
T MW 40
Statement
L #Number_2
L #Intermediate_resultL “Number_1"
T #Number_2
Global
XX
Local
XXXX
X
Date: 10.04.23File: PRO1_17E.34
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Finding Stop Errors and Eliminating Them
Incorrect -> Correct InstructionLocationError
CALL FC 30 -> CALL FC 23 OB 1, Network 51
T DB4.DBW 2 -> T DB5.DBW 2 FC 23, Network 22
T DB5.DBW 40 -> T DB5.DBW 4 FC 23, Network 33
L PIW 362 -> L PIW 352 ( L PIW 304 ) FC 20, Network 14
Date: 10.04.23File: PRO1_17E.35
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Troubleshooting with I Stack, B Stack
Error 1Questions Error 2 Error 3
FC 100, NW 2BTI
In which block and at whichinstruction did the erroroccur?
FC 101, NW 2OPN DB[MW 30] FC 102, NW 2
BCD conversion errorWhat is the cause of the error? Incorrect block numberat OPN DB
I/O accesserror, writing
OB 1, FC 100Which blocks were executedup to the error? OB 1, FC 101 OB 1, FC 102
Accu 1: 8A
Accu 2: 5
Which values were in the accumulators at the errorlocation?
Accu 1: 80
Accu 2: 5
Accu 1: 4868
Accu 2: CAFE
No valid BCD numberin Accu 1Why did the error occur? Incorrect DB number
in MW 30Incorrect I/Oaddress
DB 104Which data blocks wereopen? --- ---
Date: 10.04.23File: PRO1_17E.36
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Eliminating Logical Program Errors
Incorrect -> Correct InstructionLocationError
A Q 8.1 -> A Q 8.0 FC 15, Network 21
= Q 20.5 -> = Q 20.6 FC 15, Network 52
A I 16.1 -> A I 16.6 FC 16, Network 13
„>R“ -> „<R“FC 20, Network 24
L 0 -> L 6FC 19, Network 15
Date: 10.04.23File: PRO1_17E.37
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Enabling Diagnostic Messages
Date: 10.04.23File: PRO1_17E.38
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Outputting User Messages
Date: 10.04.23File: PRO1_17E.39
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Enabling Diagnostic Interrupts and Simulating Hardware Faults
Date: 10.04.23File: PRO1_17E.40
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Reading Out System Information
Date: 10.04.23File: PRO1_17E.41
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Reading Out and Adapting the Actual Configuration
Date: 10.04.23File: PRO1_17E.42
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Assign Parameters to Clock Memory and Test It
Date: 10.04.23File: PRO1_17E.43
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Determing type of Startup in OB 100
Date: 10.04.23File: PRO1_17E.44
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Setting the System Time
Date: 10.04.23File: PRO1_17E.45
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Creating a Flashing Light with Cyclic Interrupt
Date: 10.04.23File: PRO1_17E.46
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Writing a Program for a Time-of-Day Interrupt
Date: 10.04.23File: PRO1_17E.47
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Assigning Parameters to the Analog Module SM335
Date: 10.04.23File: PRO1_17E.48
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Assigning Parameters to the Analog Module SM331
Date: 10.04.23File: PRO1_17E.49
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Controlling the Level in a Tank
Date: 10.04.23File: PRO1_17E.50
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Diagnostic Interrupt from an Analog Module
Date: 10.04.23File: PRO1_17E.51
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Achiving a Project
Date: 10.04.23File: PRO1_17E.52
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Preparing for Communication
Training Area 2
PG 740
SIEMENS Node No.:.......Station 2
CPU-MPI address: 3
PG 740
SIEMENS Node No.:.......Station 1
CPU-MPI address: 2
Training Area 1
Date: 10.04.23File: PRO1_17E.53
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Configuring Global Data Communication
Date: 10.04.23File: PRO1_17E.54
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
Exercise: Monitoring Variables in Several Stations