Siemens Module B3 manual Structogram, Yes

Page 32

Automation and Drives - SCE

Structogram

A structogram shows the rough structure of a program plan. The structogram below shows the possible structure of a program for a two position controller.

First, a scan is made whether the controller is switched on.

If it is switched off, only the program is executed in which the outputs and flags are reset. From the program-engineering view, this is done most simply by means of jump instructions.

If the controller is switched on, the setpoint and actual value are entered, and the calculations for switching hysteresis, differential and the lower operating point are made.

Then, another scan follows: whether the actual value is below the low operating point.

If this is the case, the controller output is switched on, and a jump is made to the end of the program. If this is not the case, the high operating point is calculated, and a scan is made whether the actual value is above the high operating point.

Then, again a jump is made to the end of the program.

Controller switched off?

YES

NO

 

 

 

 

 

 

 

 

Outputs

Display: Switch on SH10

 

and

 

Enter actual value x and

 

Flags

 

setpoint w

 

 

 

 

 

 

 

 

Normalize

 

 

 

Clear

Calculation of the switching hysteresis Xs = w/10

 

 

 

 

 

or

Calculation of half the differential X1 = Xs/2

 

 

 

 

 

Reset

Calculation of the low operating point Xu = w - X1

 

 

 

 

 

 

 

 

Is the actual value less than the low operating point?

 

 

 

 

 

 

YES

 

NO

 

 

 

 

 

 

 

Pump ON

 

Calculation of the high operating point Xo = w + X1

 

 

 

 

 

 

 

 

Actual value X larger than Xo?

 

 

 

 

 

 

 

 

YES

NO

 

 

 

 

 

 

 

 

Pump OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

Preface Fundamentals

Discontinuous Action Controllerr

Controller Block (S)FB41

Setting the System Appendix

 

 

 

 

 

 

 

 

T I A Training Document

Page 32 of 64

Module

 

 

 

 

B3

Issued: 02/2008

 

 

Control Engineering with STEP 7

Image 32
Contents Module B3 Automation and Drives SCE Table of Contents Automation and Drives SCE To 3 days Module C To 3 days Module D Frequency Converter at Simatic S7Learning Objective PrerequisitesHardware and software required PLCFundamentals of Control Engineering Tasks of Control EngineeringFeedback Variable r Components of a Control LoopControlled Variable Disturbance Variable z Setpoint Value wComparing Element Controlling ElementDead Time ActuatorControlled System Characteristics For Step Function for Examining Controlled SystemsAutomation and Drives SCE Proportional Controlled System with a Time Delay Time constantControllability of P-Tn systems Proportional Controlled System with Two Time DelaysTu Delay time Tg Transition time Proportional Controlled System with n Time Delays Controlled Systems without Inherent Regulation Types of Controllers Two Position Controllers Switch-On Value Manipulated Variable Time HysteresisThree Position Controllers Basic Types of Continuous Controllers Proportional Controllers P-Controller Automation and Drives SCE With Integral Action Controllers I- ControllerPI Controllers Controller LayoutDerivative Action Controllers D-Controller PID ControllersObjectives for Controller Adjustment 450.85 Digital Controllers DAC Preface Fundamentals Structogram YESAssignment List Symbol Address Comment ExercisePossible Solution for the PLC Program NetworkD24/AIFillSetpNorm/Norm.value for level setpoint Network 10 Title Task Definition for PID Standard Controller Function Diagram of the control system with a PID controller Description FB 41 ContcUse Exercise Example Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE SP INT PLC’ Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE T g Approximation GeneralTu-TgApproximation Setting the PI-Controller according to Ziegler-Nichols For setpoint characteristic MAN Solution of the PLC program Setting the PI controller according to Ziegler-Nichols SetpointDiagram of the controller block AppendixInput Parameters Data Value Range Default Description Type Comrst Bool FalseParameter Data Type Value Range Default Lmnhlm Real Lmnllm Parameter Data Value Range Default Description Type Output Parameters