3 overview of project, 1 folder _ctrl" ć control functions, Overview of project – Festo Контроллер двигателя SFC-ST User Manual

Page 40: Folder _ctrl" ć control functions

Advertising
background image

2. Installation and project overwiev

2−12

Festo P.BE−SFC−DC−PB−S7−E N en 0604NH

2.3

Overview of project

The following sections contain an overview of the
S7Ăprogram" folders of the example project.

2.3.1

Folder _CTRL" ć control functions

The most important blocks in the folder _CTRL" for
controlling the controller are listed in Tab. 2/3.
Additional blocks, e.g. for fault treatment or data blocks, etc.
are not listed.

Block

Name

Purpose

Description

Access

Function

OB1

Main

Cyclic program
access

Main program routine

FB10

Example
project

FB10

SFC_DC_CTRL

Control

FB for controlling the
drive

SFC14/15 Festo control

block

DB90

GV−SFC

Control

Contains the global
control variables for FB10

ć

Example
project

SFC_CTRL−DRIVE

Control

Variable table for control

ć

Example
project

Tab. 2/3:

Overview of the most important blocks of the folder _CTRL"

Block FB10 for controlling the SFC−DC is implemented in OB1.
The global variables for controlling the controller are saved in
DB90. With the aid of the variable table SFC_DC−CTRL the
drive can be positioned via PROFIBUS.

Advertising