EasyManua.ls Logo

Beckhoff TwinCAT 3 User Manual

Beckhoff TwinCAT 3
46 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 #44 background imageLoading...
Page #44 background image
Appendix
7 Appendix
7.1 Control Algorithm
The heart of the TwinCAT Temperature Controller is a standard PID controller. This controller kernel also
supports anti-reset windup measures to limit the I-component if the control value is subjected to limiting.
Since the controller has been designed to minimise disturbances using the adjusting procedure according to
Chien, Hrones and Reswick, overshoot is possible when the set point is changed. In order to reduce such
overshoot, a pre-controller can be inserted to handle changes in the set point. The pre-regulator has a D-T1
characteristic, and reduces ringing in the controller as a whole. Since the D component of the pre-controller
has the effect of "roughening" the control value, the use of a pre-controller must be considered very carefully.
The pre-controller is switched off when the actual value enters within a certain range of the set value and
remains there for some length of time. The pre-controller is switched off by ramping it down over a
considerable period of time. To minimise oscillation of the control value, it is optionally possible to follow the
main controller with a filter. P-T1 and moving average filters are available for this purpose.
Requirements
Development environment target platform PLC libraries to include
TwinCAT 3.1.4006 PC or CX (x86) Tc2_TempController
TC3 Temperature Controller44 Version: 1.1
Question and Answer IconNeed help?

Do you have a question about the Beckhoff TwinCAT 3 and is the answer not in the manual?

Beckhoff TwinCAT 3 Specifications

General IconGeneral
PlatformWindows
ProgrammingIEC 61131-3
RuntimeReal-time
FunctionalityPLC, Motion Control, CNC, Robotics
CommunicationEtherCAT, OPC UA, TCP/IP
IntegrationVisual Studio
Hardware compatibilityBeckhoff Industrial PCs
CategoryIndustrial Automation Software

Summary

1 Foreword

1.2 Safety instructions

Key safety regulations and symbol explanations for safe operation.

2 Product description

3 Installation

3.3 Licensing

Details on activating full and 7-Day trial versions of TwinCAT 3 functions.

4 Configuration

4.4 Commisioning the Controller in Stages

Steps for integrating and programming the controller library and blocks.

5 PLC libraries

5.1.1 FB_CTRL_TempController

Details of the FB_CTRL_TempController function block, its inputs, outputs, and parameters.

5.1.5 FB_CTRL_TempController_DistComp

Function block for disturbance compensation, building on FB_CTRL_TempController.

7 Appendix

7.1 Control Algorithm

Explanation of the PID controller, pre-controller, and filter mechanisms.