S7 Programming 1

This hands-on course is the first in a three-part series which builds basic programming skills using Siemens STEP7 software. Participants will learn S7 project management, program design and application development. This is an aggressively paced curriculum covering S7 programming with Ladder logic. The basics of programming with Function Block Diagram (FBD), Statement List (STL) languages and key software tools are also covered. Participants use SIMATIC Manager concepts by integrating an S7300 PLC, HMI, ET200S remote I/O station and a desktop conveyor system connected by PROFIBUS.

Upon completion of this course, the student shall be able to:

  • Configure, parametrize, communicate with and commission a Totally Integrated Automation System.
  • Program, document, test and troubleshoot a structured STEP7 program.
  • Program using absolute and symbolic addressing.
  • Use core application instructions to program Organization Blocks (OBs), Function Calls (FCs), Function Blocks (FBs), and library blocks.
  • Program using binary, digital and analog processing.
  • Create and use data blocks.
  • Create and call reusable blocks employing parameter passing techniques.
  • Cross reference where and how addressed are used, program call structure, and comparing online to offline programs.
  1. Using SIMATIC Manager
    • Creating, deleting, saving, archiving, retrieving and managing an S7 Project
    • Setting the PG/PC Interface: MPI, PROFIBUS, AUTO, Ethernet
    • Online Connection using "Accessible Nodes"
  2. Configuring the Hardware system
    • Configuring, parameterizing, and commissioning a Totally Integrated Hardware System including an S7300 rack, ET200S remote IO rack, HMI, and desktop conveyor
    • Module Addressing
    • Variable Tables and the Force Table
    • WinCC flexible – Configuration Tool
  3. Introduction to Programming
    • Organization Blocks (OBs), Function Calls (FCs), Function Blocks (FBs), System Function Calls (SFCs), System Function Blocks (SFBs), Data Blocks (DBs)
    • Concept of Structured Programming
    • S7 Addressing for inputs, outputs and memory
    • The Programming Editor (LAD/STL/ FBD)
    • Creating, programming, debugging, downloading, and monitoring a code Block
    • Ladder, Function Block Diagram (FBD), and STL Languages
  4. Basic Troubleshooting Concepts
    • System detected vs Functional errors
    • SIMATIC Diagnostic and Debugging Tools
    • Basic hardware and software troubleshooting concepts
    • Interpreting Faults in the Diagnostic Buffer
    • Opening a Block Containing an Error
  5. Symbolic Addressing
    • Absolute and Symbolic Addressing
    • Defining and modifying Symbols in the Symbol Table, Hardware Configuration and Programming Editor
  6. Data Blocks
    • Creating, populating, managing, addressing and monitoring Data Blocks (DBs)
    • Elementary, Complex, Parameter, and User Defined Data Types in STEP 7
    • Initial Value, Actual Value, Initialization, Retentivity
  7. Binary Operations
    • Binary Logic Operations: AND, OR, Exclusive OR (XOR)
    • Assignment, Mid-line, Set, and Reset Coils
    • Set/Reset Flip Flops
    • Result of Logic Operation (RLO) and Signal Edge Detection (one shots)
  8. Introduction to Statement List (STL)
    • Status of the Bit (STA) and Result of Logic Operation (RLO)
    • STL Instructions: And, OR, XOR, Positive and Negative Pulses
    • Data Storage in the Accumulators
    • Monitoring STL code
  9. Digital Operations in (Lad, FBD, STL)
    • Basic Mathematical Functions
    • Comparison Operations
    • Conversion Operations
    • Type Checking in LAD/FBD
    • SIMATIC Timers
  10. Reference Data Tools
    • Go To Location Tool
    • Reference Data Tool
    • Finding, filtering, sorting Data
    • Assignment of I, Q, M, T, C
    • Program Structure and Dependency Structure
    • Unused Symbols / Addresses without Symbols
    • Comparing Blocks online/offline, project1/project2
  11. Reusable Blocks
    • Local Variables and the block interface area
    • Block Usage of the Local Data Stack
    • Reusable (Parameter-Assignable) Blocks
    • Function Blocks and Instance Data Blocks
    • Modifying the block interface and updating the call of a Reusable Block
    • Checking Program Block Consistency
  12. Analog Value Processing
    • Analog Digital Converting Modules
    • Physical Analog Module Set-up
    • Configuring Analog Modules in S7
    • Analog Measuring Ranges
    • Scaling Analog Input Values
  13. Organization Blocks
    • Overview of the Organization Blocks (OBs)
    • Startup, cyclic, diagnostic, and hardware interrupt OBs
    • OB Start Information
    • Synchronous and Asynchronous Error OBs

This course is for SIMATIC S7-300/400 PLC users who are involved with developing or sustaining automation systems and their application programs.

The ability to use a MS Windows PC (2000/XP), keyboard and mouse to include opening and closing programs, locating files, copy and paste objects /data (text, etc). Drag and drop files, objects/data (text, etc). Use of menus and multi-menus, manipulation of windows within a multi-window environment. Use of MS Windows Help.  A prior knowledge and practical experience of PLCs is essential.

5 Days