TIA Portal Workshop - Teknik...
Transcript of TIA Portal Workshop - Teknik...
TIA Portal Workshop
© Siemens AG 2015. All rights reserved.Unrestricted
Page 11 Siemens AG © 2015
SIMATIC S7-1500: Modular Controllerfor the Mid to Upper Performance Range
Page 12 Siemens AG © 2015
SIMATIC S7-1500: Modules
max. 32 central modules in rack
CPU DI, DO,AI, AO
...
CM/CP:- Point-to-Point(RS232, RS485)
- PROFIBUS- PROFINET
PS/PM(optional)
TM:- Counting- Position sensing
Single-tier assemblyMulti-tier distributed ET200MP
max. 2 per rackfor backplane bus supply ofsubsequent I/O modules
PSnew powersegment
Page 13 Siemens AG © 2015
SIMATIC S7-1500:Installation and Mounting Positions
Profile rail with integratedmounting rail
Vertical
Horizontal
Backplane is in planning stage
BusverbinderIf no backplane
Bus connector
Page 14 Siemens AG © 2015
SIMATIC S7-1500:Connection Technology/Front Connector
4 jumper linkscan be inserted
Wiring position
Strain relief bymeans of cable ties
EntriegelungslascheRelease latch
Operating position
Wiring position
Page 15 Siemens AG © 2015
SIMATIC S7-1500: CPU-Display → Overview
● Every S7-1500 CPU is delivered with a Display
● Two sizes depending on the CPU type1.36” up to CPU15132.4” as of CPU1515
● Has its own MLFB→ can be ordered as replacement part
● CPU can be operated without the Display
● Removal and insertion possible during running operation→ CPU stays in RUN
● Bilingual display (menu and error/message texts)
● Language can be switched during running operation
Page 16 Siemens AG © 2015
SIMATIC S7-1500: CPU-Display → Menu and Colors
Colors of status information and their meaning:
green RUN of CPU, RUN with pending alarm message
yellow STOP or CPU HOLD
red Error
white Connection setup or connection to CPU lost
Main menu items and their meaning:Overview (CPU status: name, type, MLFB, version)
Diagnostics (display diagnostics buffer, message display)
Settings (CPU settings: addresses, time, operating mode, CPU Reset,protection level, unlock Display when password set)
Modules (status information of modules in the system)
Display (display settings: brightness, display language,energy-saving times, MLFB, version)
Page 18 Siemens AG © 2015
SIMATIC S7-1200/1500: Memory Cards
Serial number of the SD cardProduct versionOrder numberCard sizeSlide switch for write-protect(must not be write-protected)
Write with:● Commercially available SD card reader● Field PG
12345
SIMATIC Memory Card in theS7-1200 / S7-1500:● Load memory● Distribution of programs (only S7-1200)● Firmware update● Documentation● Memory Card Binding● Unlinked DBs● Archiving of data● Module exchange without PG
Page 32 Siemens AG © 2015
TIA Portal: Portal View and Project View
Portal View· Task-oriented
· Fast project entry
Project View· Hierarchical project structuring
· All editors, parameters and data accessible
Page 33 Siemens AG © 2015
Portal View
Selection window forthe selected action
Migration
New project
Switch to Project view
Hardwareand
networkconfiguration
Portals Actions of the selected portal
Accessibledevices
HMIconfiguration
Block Editor
Driveparameterization
User interface language
Page 34 Siemens AG © 2015
Project View
Working area
Details view
Task bar(openededitors)
Projectnavigation(Project tree)
Inspector window- Properties- Info output- Diagnostics
Task Cards(tools)
Page 35 Siemens AG © 2015
Project Tree
Device group
Block group
CPU
Language settingsfor the entire project
Online access
Project
Distributed I/O
PLC tags
CPU program
Local modules(central I/O)
SIMATIC Card Reader
HMI device
Page 37 Siemens AG © 2015
Online Tools,Configuring and Parameterizing the Hardware
Task Cardwith CPU
online ® Status,Diagnostics
offline ® Configuration,Parameterization
Page 38 Siemens AG © 2015
Online Connection via Industrial Ethernet:IP Address and Subnet Mask
MAC Address: 08-00-06-01-74-10
Subnet Mask: 255.255.255.0
IP Address: 192.168.111.10
MAC Address: 08-00-06-01-74-20
Subnet Mask: 255.255.255.0
IP Address: 192.168.111.12
Subnet Node Subnet Node
Page 39 Siemens AG © 2015
Online Access:Accessible Devices in the Portal View
Call onlineaccesses ofProject view
Page 40 Siemens AG © 2015
Accessible Devices in the Project View:CPU Online Access: Reading-out the Diagnostics Buffer
Details for the entry lineselected above
Show / hideinterfaces
Page 41 Siemens AG © 2015
Accessible Devices in the Project View:CPU Online Access: CPU-RUN/STOP, MRES
Page 42 Siemens AG © 2015
Online Access to the CPU:IP Address, Name, Time, FW Update, Memory Card
Page 43 Siemens AG © 2015
Resetting the CPU using the Mode Selector Switch
1. Set the mode selector switch to STOP
within 3 sec !!!
RUNSTOPMRES
2. Press and hold the mode selector switch in the MRESposition until the RUN/STOP LED has flashed 2x slowly
3. Press and hold the mode selector switch in the MRESposition until the RUN/STOP LED begins to flash quickly
4. Set the mode selector switch to RUNA CPU restart is carried out
STOP
Result:With inserted PROGRAM card
® Memory reset
Without inserted card® Reset to factory settings
RUN/STOP LEDof the S7-1500
RUNSTOPMRESRUN
STOPMRES
then let go again
RUNSTOPMRESRUN
STOPMRES
then let go again
RUNSTOPMRES
Page 44 Siemens AG © 2015
Components of the "Devices & Networks" Editor
Deviceconfiguration
andmodule
parameterassignment
Connectionconfiguration
Topologyconfiguration
Page 45 Siemens AG © 2015
Devices & Networks:Device View (Hardware Configuration)
Module parameter assignment® Properties in the Inspector window
Address parameter assignment® (right) section in the working area
Page 46 Siemens AG © 2015
Setpoint Configuration: Creating a Hardware Station
Portal view
Project view
Page 47 Siemens AG © 2015
Inserting / Deleting a Module
Possibleslots
Inserting from theHardware catalog
1xR
Deleting in theNetwork view
deletes entire station
Deleting in the Deviceview deletes
individual modules
Page 48 Siemens AG © 2015
Area for Modules Not Plugged In
Open / close area
Page 49 Siemens AG © 2015
Uploading a Hardware Station into the Project (1)(Hardware with Parameterization and Software)
Select the desired node(device)
Page 50 Siemens AG © 2015
Uploading a Hardware Station into the Project (2)(Hardware with Parameterization and Software)
Page 51 Siemens AG © 2015
CPU Properties: Ethernet Address
Select CPU
Page 56 Siemens AG © 2015
Compiling the Hardware Configuration andDownloading it into the CPU
1xR
Status / Errorinformation
1xR
Page 57 Siemens AG © 2015
Status LEDs of the S7-1500 CPU
RUN/STOP LED
CPU in STOP mode
Maintenance request of an I/O module exists
MAINT LED
Firmware Update successfully completed
Program error, system error or diagnostic problem exists
ERROR LED
CPU in RUN modeCPU in startup (transition from STOP→RUN)
CPU defective;Memory Card defective
CPU Reset or Firmware Update running
Page 58 Siemens AG © 2015
Status LEDs of the Central I/O of the S7-1500 CPU
RUN LED
Module ready for operation
Module error or diagnostic problem exists
ERROR LED
Module running, but has no valid parameter assignment
Module defective
DI/DO 1-Status of channelAI/AO Channel is parameterized and OK
Channel error exists;e.g. wire break, short-circuit ...
Channel status
Page 59 Siemens AG © 2015
Task Description:Creating a Project with an S7-1500 Station
Page 60 Siemens AG © 2015
Exercise 3:Erasing the SIMATIC Memory Card of the CPU
Page 61 Siemens AG © 2015
Exercise 11: Addresses of the DO Module
Page 62 Siemens AG © 2015
Exercise 12: Addresses of the AI Module
Page 63 Siemens AG © 2015
Exercise 13: Compiling the Device Configurationand downloading it into the CPU
Download HWstation into CPU
CompileHW station
1xR
Page 71 Siemens AG © 2015
FB withInstance DB
OB = Organization blockFB = Function block
FC = FunctionDB = Data block
Types of Program Blocks
The maximum nesting depthdepends on the CPU!
Legend:
Error
OB_Cycle(OB1)
Organizationblocks
Cycle
Time
Process
Operating systemDB DB
FC
FB
FB
FB
FC
Page 72 Siemens AG © 2015
Structured Programming
Structured ProgramProgram Partitionedinto Areas
The instructions for the individualfunctions are found in individual
blocks. OB_Cycle calls theseblocks one after the other.
Re-usable functions are programmedin individual blocks.
OB_Cycle (or other blocks) callsthese blocks and passes on the
relevant data.
Linear Program
All instructions are foundin one block (usually in
the Organizationblock OB_Cycle)
OB_Cycle(OB1)
Recipe A
Recipe B
Mixer
Outlet
Pump
Outlet
OB_Cycle(OB1)
OB_Cycle(OB1)
Page 75 Siemens AG © 2015
Creating a New OB
Page 76 Siemens AG © 2015
Adding a New Block
Page 77 Siemens AG © 2015
Block Properties (All):Programming Language, Time Stamps
Selecting theProgramming
language
Time stamps
Page 78 Siemens AG © 2015
Block Properties: Know-how Protection
1xR
Page 79 Siemens AG © 2015
Block Programming
Add further input
Insert network
Display FavoritesOn/Off
Page 80 Siemens AG © 2015
Block Calls
Drag & Drop
Page 81 Siemens AG © 2015
Downloading Blocks into the CPU
1xR
Page 82 Siemens AG © 2015
Downloading Blocks into the CPU:S7-1500 - Memory Concept
Code work memory:§ Logic blocks (FC, FB, OB)
Data work memory:§ Global DBs§ Instance-DBs
§ Technology objects
Retentive memory:Retentive variables from:
§ Global DBs§ Instance-DBs
§ Technology objects§ Bit memories
§ SIMATIC timers / counters
Other memory areas§ Bit memories
§ SIMATIC timers / counters§ Process images(PII/PIQ)
SD Card: CPU load memory• PLC tag table
• PLC data types• Block comments/symbols• Hardware configuration
1xR
Page 83 Siemens AG © 2015
Monitoring a Block
Monitor BlockOn / Off
Page 120 Siemens AG © 2015
Hardware Diagnostics
1xR
Page 121 Siemens AG © 2015
Online & Diagnostics
Online &Diagnostics