Siemens Module B3 manual Man

Page 57

Automation and Drives - SCE

5.4 Exercise Example

To accommodate the system step response, a few modifications have to be made in OB 35 and DB41. The following steps have to be performed for this:

Save your old project under a new name, and change the wiring of (S)FB 41 as follows: 1. With STEP7, specify the manipulated value directly.

The manipulated value is to be specified in the network below in a way that with a switch S1 (I 124.0), a selection can be made between two manipulated values.

 

L

0.000000e+000

//Manipulated value 0% as 32 bit floating point number

 

UN

I 124.0

//Negation of S1 (I 124.0)

 

SPB

M001

//Jump if RLO = 1 to label M001

 

L

1.000000e+002

//Manip.value 100% as 32 bit floating pt. nbr.

M001:

T

MD 20

//Transfer the value to flag double word MD 20

Now, for the switch position S1(I 124.0) ON, the manipulated variable y = 100%, and for OFF, the manipulated variable y = 0%. Consequently, a step of the manipulated value from 0 to 100% can be brought about with Switch S1. (For systems that tend to overshoot, the high manipulated value should amount to 90% or less.).

The external analog values and the manipulated value are assigned in OB1 as follows:

MAN

:=

MD 20

//Specify the manipulated value as manual value

PV_PER

:=

PEW 130

//Actual value x

LMN_PER

:=

PAW 128

//Manipulated variable y

Switch manipulated value to manual mode

 

Preface Fundamentals

Discontinuous Action Controller Controller Block (S)FB41

Setting the System Appendix

 

 

 

 

 

 

 

T I A Training Document

Page 57 of 64

Module

 

 

 

B3

Issued: 02/2008

 

Control Engineering with STEP 7

Image 57
Contents Module B3 Automation and Drives SCE Table of Contents Automation and Drives SCE Frequency Converter at Simatic S7 To 3 days Module C To 3 days Module DLearning Objective PrerequisitesPLC Hardware and software requiredTasks of Control Engineering Fundamentals of Control EngineeringComponents of a Control Loop Controlled VariableFeedback Variable r Setpoint Value w Disturbance Variable zComparing Element Controlling ElementActuator Controlled SystemDead Time Characteristics Step Function for Examining Controlled Systems ForAutomation and Drives SCE Time constant Proportional Controlled System with a Time DelayProportional Controlled System with Two Time Delays Tu Delay time Tg Transition timeControllability of P-Tn systems Proportional Controlled System with n Time Delays Controlled Systems without Inherent Regulation Types of Controllers Two Position Controllers Hysteresis Switch-On Value Manipulated Variable TimeThree Position Controllers Basic Types of Continuous Controllers Proportional Controllers P-Controller Automation and Drives SCE Integral Action Controllers I- Controller WithController Layout PI ControllersPID Controllers Derivative Action Controllers D-ControllerObjectives for Controller Adjustment 450.85 Digital Controllers DAC Preface Fundamentals YES StructogramExercise Assignment List Symbol Address CommentNetwork Possible Solution for the PLC ProgramD24/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 FB 41 Contc UseDescription 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 General Tu-TgApproximationT g Approximation Setting the PI-Controller according to Ziegler-Nichols For setpoint characteristic MAN Solution of the PLC program Setpoint Setting the PI controller according to Ziegler-NicholsAppendix Diagram of the controller blockComrst Bool False Input Parameters Data Value Range Default Description TypeParameter Data Type Value Range Default Lmnhlm Real Lmnllm Output Parameters Parameter Data Value Range Default Description Type