EasyManua.ls Logo

Siemens SIMATIC S7-GRAPH User Manual

Siemens SIMATIC S7-GRAPH
212 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #130 background imageLoading...
Page #130 background image
Assigning Parameters to and Calling the S7-Graph FB
S7-GRAPH for S7 300/400 Programming Sequential Control Systems
9-14 C79000-G7076-C526-01
9.7.4 Automatic or Switch to next Mode (SW_TOP)
For initial project start up or for testing a control system step-by-step, the
"automatic or step-by-step" mode can be extremely useful:
• The sequencer progresses when the transition is satisfied or when there is an
edge change from 0 to 1 at the parameter T_PUSH.
Input Parameters of the Automatic or Switch to next Mode
Parameters not listed are not mode-dependent.
Parameter Data Description
OFF_SQ BOOL All steps are immediately deactivated, in other
words "Sequencer Off"
INIT_SQ BOOL Initialize sequencer, jump to initial step
ACK_EF BOOL Acknowledgment of a disturbance
S_PREV BOOL As for automatic
S_NEXT BOOL As for automatic
SW_AUTO BOOL Request the automatic mode
SW_MAN BOOL Request manual mode
SW_TAP BOOL Request inching mode
T_PUSH BOOL The transition switches when there is a rising
edge at T_PUSH regardless of whether the
transition is satisfied.
Output Parameters of the Automatic or Switch to next Mode
Parameter Data Description
S_NO INT Step number, indicates the selected step
S_MORE BOOL Further active steps exist and can be indicated
in S_NO
S_ACTIVE BOOL The indicated step is active
ERR_FLT BOOL Error/disturbance occurred
AUTO_ON BOOL The automatic mode is not active
TAP_ON BOOL Inching mode is not active
MAN_ON BOOL Manual mode is not active
TOP_ON BOOL Automatic or switch to next mode is activated

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC S7-GRAPH and is the answer not in the manual?

Siemens SIMATIC S7-GRAPH Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC S7-GRAPH
CategoryIndustrial Equipment
LanguageEnglish

Summary

Product Overview

S7-Graph Programming Language

Explains the S7-Graph language for programming sequential control systems graphically.

The Blocks of a Sequential Control System

Describes the three essential blocks required for a sequential control system.

Procedure for Creating a Sequential Control System

Outlines the step-by-step procedure for creating a sequential control system.

Installation and Authorization

Authorization

Details the product authorization requirement for S7-Graph software package usage.

Installing S7-Graph

Guides through the installation process for the S7-Graph software package.

Uninstalling S7-Graph

Explains the standard Windows method for uninstalling the S7-Graph software.

Designing a Sequential Control System based on the Example of a Drill

Welcome to the S7-Graph Beginner’s Example

Introduces the beginner's example for automating a drill with S7-Graph.

Requirements

Lists the necessary hardware and software for programming and testing the drill example.

Technological Task and Functional Diagram

Describes the drill setup and process sequence in a technological drawing and functional diagram.

Selecting the Structure of the Sequencer

Explains the importance of breaking down the drilling operation into single steps.

Defining the System Signals

Details how to define input and output parameters for each step of the drill operation.

Creating the Drill Project in the SIMATIC Manager

Guides on creating a new project and inserting an S7 program in SIMATIC Manager.

Creating an S7-Graph FB and Programming a Sequencer

Details how to create an S7-Graph FB and program a sequencer within it.

Programming Step Actions

Describes how to program step actions using Drag & Drop or Direct methods.

Programming Transitions

Explains how to program transitions using Ladder Logic/FBD elements.

Downloading the Program to the CPU and Testing the Sequencer

Guides on downloading the program to the CPU and testing the sequencer.

Test Function: Control Sequencer

Describes the "Control Sequencer" test function for testing sequencers in all modes.

Working with S7-Graph

Starting S7-Graph

Explains the requirements and methods for starting the S7-Graph software.

The S7-Graph User Interface

Describes the various elements of the S7-Graph user interface.

Settings for the Work Area

Covers customizing the work area and appearance using display modes and settings.

Customizing Display Level, Colors and Fonts

Details how to adapt display levels, colors, and fonts for the S7-Graph interface.

Tools for Editing the Sequencer

Explains the tools available for editing sequencers, including toolbars and navigation.

Creating a Project

Creating the Project in the SIMATIC Manager

Guides on creating a new project and inserting an S7 program in SIMATIC Manager.

S7-Graph FB or S7-Graph Source File?

Discusses the decision criteria between using an S7-Graph FB or a source file.

S7-Graph FB

Explains how to create an S7-Graph FB in SIMATIC Manager or directly in S7-Graph.

Programming the Structure of the Sequencer

Sequencer - Principle

Explains the basic principles of how a sequencer is executed.

Structures of a Sequencer

Illustrates different structures of sequencers, including linear, branched, and multiple sequencers.

Rules for the Structure of a Sequencer

Outlines the rules and limitations for structuring sequencers in S7-Graph FB.

Elements of a Sequencer

Lists the elements used to build a sequencer and their corresponding toolbar buttons.

Alternative Branch

Explains the concept and priorities of alternative branches in sequencer structure.

Simultaneous Branch

Details the structure and execution of simultaneous branches in sequencers.

Permanent Instructions

Describes programming permanent instructions before or after the sequencer.

Block Comment

Explains how to enter and display block comments for S7-Graph FBs.

Programming Actions and Conditions

Actions

Explains how to program actions within steps, including components and categories.

Standard Actions

Details standard actions and their combinations with interlocks.

Event-Dependent Actions

Describes actions that are dependent on events, including activation/deactivation of steps.

Counters, Timers and Arithmetic in Actions

Explains the use of counters, timers, and arithmetic operations in actions.

Conditions

Defines conditions and their occurrence in transitions, interlocks, and supervisions.

Ladder Logic Elements for Programming Conditions

Introduces Ladder Logic elements for programming conditions in sequencers.

FBD Elements for Programming Conditions

Explains Function Block Diagram (FBD) elements for programming conditions.

Supervision Errors and Acknowledgment

Details how to handle supervision errors and their acknowledgment.

Programming with Symbolic Addresses

Guides on using symbolic names instead of absolute addresses for clarity.

Saving and Compiling

Saving and Compiling

Explains the principles and rules for saving and compiling S7-Graph programs.

Rules for Saving an S7-Graph FB

Outlines the rules for saving and transferring error-free S7-Graph FBs.

Settings for Saving and Compiling

Guides on configuring settings in "Block Settings" and "Application Settings" for saving and compiling.

Compiling

Describes the process of compiling a program to make it CPU-understandable.

Assigning Parameters to and Calling the S7-Graph FB

Calling the S7-Graph FB in the S7 Program

Explains how to call an S7-Graph FB in a cyclically executed block like OB1.

Selecting an FB Parameter Set

Explains how to choose a parameter set based on intended use and CPU memory.

Input Parameters of the S7-Graph FB

Details the input parameters that control the FB's behavior and operation.

Output Parameters of the S7-Graph FB

Describes the output parameters that provide information about the FB's status.

The Modes of the Sequential Control System

Explains the four modes (Automatic, Manual, Inching, Auto/Step) for sequencer progression.

Downloading the S7-Graph FB and Instance DB

Downloading blocks from the Programming Device to the CPU

Guides on downloading the S7-Graph FB and instance DB to the CPU.

Uploading Blocks from the CPU to the Programming Device

Explains how to upload blocks from the CPU to the programming device for editing.

Monitoring and Testing the Sequential Control System

Monitoring and Test Functions in S7-Graph

Introduces the monitoring and test functions for checking the sequential control system.

Monitoring the Status Information

Explains how to monitor steps, conditions, and signal states of addresses.

Control Sequencer

Describes the "Control Sequencer" test function for testing sequencers in all modes.

Synchronization

Details how to locate synchronization points between the process and sequencer.

Printing the Sequencer

Documenting the Program

Explains how to print the sequential control system for documentation purposes.

Appearance of the Printout

Describes how references and elements are printed on multi-page printouts.

Overview of All Actions

Standard Actions with and without Interlock

Details standard actions executed each time the sequencer runs through.

Event-Dependent Actions - with and without Interlock

Explains actions executed once when an event occurs and the step is active.

Counters in Actions

Describes how counters are used in actions, linked to step activation or deactivation.

Timers in Actions

Explains the use of timers in actions, linked to events, interlocks, or supervision errors.

Arithmetic in Actions

Details how arithmetic operations are executed in actions based on step activity or events.

Notes on Configuration

General Level Structure and Program Structure

Discusses general structures and how they affect sequencer program structure.

Points to Note about Programming Sequencers

Provides important considerations for programming sequencers, including initialization, interlocks, and supervisions.

Linking to Operator Control and Monitoring Systems

Explains the interaction between S7-Graph, PLC, and operator panels for monitoring.

Instance DB

Settings for the Instance DB

Covers settings for creating instance DBs automatically or later, and interface description options.

Assignment of Instance DB and S7-Graph FB

Details the process of assigning instance DBs to S7-Graph FBs.

Structure of an Instance DB

Explains factors affecting the structure and size of an instance DB.

The Transition Structure

Describes the structure of parameters created in the instance DB for each transition.

The Step Structure

Explains the components created in the instance DB for each step of the sequencer.

Sequencer Status

Details the components within the sequencer status area containing status information.

Related product manuals