Prévia do material em texto
TIA Portal Workshop © Siemens AG 2015. All rights reserved. Unrestricted Page 11 Siemens AG © 2015 SIMATIC S7-1500: Modular Controller for 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 assembly Multi-tier distributed ET200MP max. 2 per rack for backplane bus supply of subsequent I/O modules PS new power segment Page 13 Siemens AG © 2015 SIMATIC S7-1500: Installation and Mounting Positions Profile rail with integrated mounting rail Vertical Horizontal Backplane is in planning stage Busverbinder If no backplane Bus connector Page 14 Siemens AG © 2015 SIMATIC S7-1500: Connection Technology/Front Connector 4 jumper links can be inserted Wiring position Strain relief by means 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 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 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 card Product version Order number Card size Slide switch for write-protect (must not be write-protected) Write with: ● Commercially available SD card reader ● Field PG 1 2 3 4 5 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 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 for the selected action Migration New project Switch to Project view Hardware and network configuration Portals Actions of the selected portal Accessible devices HMI configuration Block Editor Drive parameterization User interface language Page 34 Siemens AG © 2015 Project View Working area Details view Task bar (opened editors) Project navigation (Project tree) Inspector window - Properties - Info output - Diagnostics Task Cards (tools) Page 35 Siemens AG © 2015 Project Tree Device group Block group CPU Language settings for 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 online accesses of Project view Page 40 Siemens AG © 2015 Accessible Devices in the Project View: CPU Online Access: Reading-out the Diagnostics Buffer Details for the entry line selected above Show / hide interfaces 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 !!! RUN STOP MRES 2. Press and hold the mode selector switch in the MRES position until the RUN/STOP LED has flashed 2x slowly 3. Press and hold the mode selector switch in the MRES position until the RUN/STOP LED begins to flash quickly 4. Set the mode selector switch to RUN A CPU restart is carried out STOP Result: With inserted PROGRAM card ® Memory reset Without inserted card ® Reset to factory settings RUN/STOP LED of the S7-1500 RUN STOP MRES RUN STOP MRES then let go again RUN STOP MRES RUN STOP MRES then let go again RUN STOP MRES Page 44 Siemens AG © 2015 Components of the "Devices & Networks" Editor Device configuration and module parameter assignment Connection configuration Topology configuration 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 Possible slots Inserting from the Hardware catalog 1xR Deleting in the Network view deletes entire station Deleting in the Device view 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 and Downloading it into the CPU 1xR Status / Error information 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 mode CPU 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 channel AI/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 Configuration and downloading it into the CPU Download HW station into CPU Compile HW station 1xR Page 71 Siemens AG © 2015 FB with Instance DB OB = Organization block FB = Function block FC = Function DB =Data block Types of Program Blocks The maximum nesting depth depends on the CPU! Legend: Error OB_Cycle (OB1) Organization blocks Cycle Time Process Operating system DB DB FC FB FB FB FC Page 72 Siemens AG © 2015 Structured Programming Structured ProgramProgram Partitionedinto Areas 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. Linear Program All instructions are found in one block (usually in the Organization block 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 the Programming 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 Favorites On/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 Block On / Off Page 120 Siemens AG © 2015 Hardware Diagnostics 1xR Page 121 Siemens AG © 2015 Online & Diagnostics Online & Diagnostics