TIA Portal Workshop
SIMATIC S7-1500: Modular Controller for the Mid to Upper Performance Range
SIMATIC S7-1500: Modular Controller for the Mid to Upper Performance Range
SIMATIC S7-1500: Modules
Single-tier assembly Multi-tier Multi-ti er distributed ET200MP
max. 32 central modules in rack
... PS/PM (optional)
CPU
DI, DO, AI, AO
PS new power segment
CM/CP: - Point-toPoint-to-Point Point (RS232, RS485) - PROFIBUS PROFIBUS - PROFINET PROFINET
TM: - Count Counting ing - Position sensing max. 2 per rack for backplane bus supply of subsequent I/O modules
SIMATIC S7-1500: Installation and Mounting Positions Backplane is in planning stage Profile rail with integrated mounting rail
Vertical Horizontal Bus connector Busverbinder If no backplane
SIMATIC S7-1500: Connection Technology/Front Connector
Release latch Entriegelungslasche
4 jumper links can be inserted
Wiring position Wiring position Strain relief by means of cable ties
Operating position
SIMATIC S7-1500: CPU-Display
●
●
●
●
●
→
Overview
Every S7-1500 CPU is delivered with a Display Two sizes depending on the CPU type 1.36” up to CPU1513 2.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
SIMATIC S7-1500: CPU-Display
→
Menu and Colors
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)
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
SIMATIC S7-1200/1500: Memory Cards
1 2 3 4 5
Serial number of the SD card Product version Order number Card size Slide switch for write-protect (must not be write-protected)
SIMATIC Memory Card in the S7-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
Write with: ● Commercially available SD card reader ● Field PG
TIA Portal: Portal View and Project View
Project View Hierarchical project structuring · All editors, parameters and data accessible ·
Portal View Task-oriented Fast project entry
· ·
Portal View Portals
Actions of the selected portal
Hardware and network configuration
Block Editor New project
Drive parameterization
Selection window for the selected action
Migration HMI configuration User interface language Accessible devices
Switch to Project view
Project View
Task Cards (tools)
Project navigation (Project tree)
Working area
Details view
Task bar (opened editors)
Inspector window - Properties - Info output - Diagnostics
Project Tree Project
CPU
Block group
CPU program
PLC tags Local modules (central I/O) Device group Language settings for the entire project Online access SIMATIC Card Reader
Distributed I/O HMI device
Online Tools, Configuring and Parameterizing the Hardware with CPU
online offline
Status, Diagnostics
Configuration, Parameterization
Task Card
Online Connection via Industrial Ethernet: IP Address and Subnet Mask
MAC Address:
08-00-06-01-74-10
MAC Address:
08-00-06-01-74-20
Subnet Mask:
255.255.255.0
Subnet Mask:
255.255.255.0
IP Address:
192.168.111.10
IP Address:
192.168.111.12
Subnet
Node
Subnet
Node
Online Access: Accessible Devices in the Portal View
Call online accesses of Project view
Accessible Devices in the Project View: CPU Online Access: Reading-out the Diagnostics Buffer
Show / hide interfaces
Details for the entry line selected above
Accessible Devices in the Project View: CPU Online Access: CPU-RUN/STOP, MRES
Online Access to the CPU: IP Address, Name, Time, FW Update, Memory Card
Resetting the CPU using the Mode Selector Switch RUN STOP
1. Set the mode selector switch to STOP
MRES RUN STOP
2. Press and hold the mode selector switch in the MRES position until the RUN/STOP LED has flashed 2x slowly
RUN/STOP LED of the S7-1500
MRES RUN
then let go again
STOP MRES RUN STOP MRES RUN
within 3 sec !!!
STOP 3. Press and hold the mode selector switch in the MRES position until the RUN/STOP LED begins to flash quickly then let go again
STOP
Result:
MRES RUN STOP MRES
4. Set the mode selector switch to RUN A CPU restart is carried out
With inserted PROGRAM card Memory reset Without inserted card Reset to factory settings
Components of the "Devices & Networks" Editor
Connection configuration
Topology configuration
Device configuration and module parameter assignment
Devices & Networks: Device View (Hardware Configuration)
Address parameter assignment ®
(right) section in the working area
Module parameter assignment ®
Properties in the Inspector window
Setpoint Configuration: Creating a Hardware Station Portal view
Project view
Inserting / Deleting a Module
Possible slots
Deleting in the Device view deletes individual modules
Inserting from the Hardware catalog
1xR
Deleting in the Network view deletes entire station
Area for Modules Not Plugged In
Open / close area
Uploading a Hardware Station into the Project (1) (Hardware with Parameterization and Software)
Select the desired node (device)
Uploading a Hardware Station into the Project (2) (Hardware with Parameterization and Software)
CPU Properties: Ethernet Address
Select CPU
Compiling the Hardware Configuration and Downloading it into the CPU
1xR
1xR
Status / Error information
Status LEDs of the S7-1500 CPU
CPU defective; Memory Card defective
RUN/STOP LED
CPU in RUN mode CPU in startup (transition from STOP →RUN) CPU in STOP mode CPU Reset or Firmware Update running ERROR LED
Program error, system error or diagnostic problem exists MAINT LED
Maintenance request of an I/O module exists Firmware Update successfully completed
Status LEDs of the Central I/O of the S7-1500 CPU
Module defective
RUN LED
Module ready for operation Module running, but has no valid parameter assignment ERROR LED
Module error or diagnostic problem exists
Channel status
Channel error exists; e.g. wire break, short-circuit ... DI/DO 1-Status of channel AI/AO Channel is parameterized and OK
Task Description: Creating a Project with an S7-1500 Station
Exercise 3: Erasing the SIMATIC Memory Card of the CPU
Exercise 11: Addresses of the DO Module
Exercise 12: Addresses of the AI Module
Exercise 13: Compiling the Device Configuration and downloading it into the CPU
Compile HW station
1xR
Download HW station into CPU
Types of Program Blocks
Operating system
DB
DB
Cycle Time
OB_Cycle (OB1)
Process
Organization blocks
FC
FB
Error
FB
FC
Legend: OB = Organization block FB = Function block FC = Function DB = Data block
The maximum nesting depth depends on the CPU!
FB FB with Instance DB
Structured Programming
Linear Program
Program Partitioned into Areas
Structured Program
Recipe A Pump
OB_ Cycle (OB1)
OB_ Cycle (OB1)
Recipe B Mixer
OB_ Cycle (OB1)
Outlet
Outlet
All instructions are found in one block (usually in the Organization block OB_Cycle)
The instructions for the individual functions are found in individual blocks. OB_Cycle calls these blocks one after the other.
Re-usable functions are programmed in individual blocks. OB_Cycle (or other blocks) calls these blocks and passes on the relevant data.
Creating a New OB
Adding a New Block
Block Properties (All): Programming Language, Time Stamps
Selecting the Programming language
Time stamps
Block Properties: Know-how Protection
1xR
Block Programming
Insert network
Display Favorites On/Off
Add further input
Block Calls
Drag & Drop
Downloading Blocks into the CPU
1xR
Downloading Blocks into the CPU: S7-1500 - Memory Concept SD Card: CPU load memory • PLC tag table • PLC data types • Block comments/symbols • Hardware configuration Code work memory: §
Logic blocks (FC, FB, OB) Data work memory: Global DBs Instance-DBs Technology objects §
§
1xR
§
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) §
§
§
Monitoring a Block
Monitor Block On / Off
Hardware Diagnostics
1xR