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 #20 background imageLoading...
Page #20 background image
Configuration
Attention
[Step size definition!]
[A step of at least 40°C must be used for the purposes of tuning. Smaller steps can result in
incorrect parameter determination!]
Attention
[Set Control Mode!]
[When tuning is finished successful eCtrlState is set to eCTRL_STATE_TUNED. Controller
waits for new command. If control mode is set eCTRL_MODE_ACTIVE the controller starts
in Closed-Loop-mode with the new parameter set from tuning.]
Linking the Internal Control Parameters with the External Connections
The controller parameters determined in the tuning process can be supplied again to the controller as
external parameters. This may be necessary if the Tuning is only to be carried out once (e.g. only during the
initial commissioning). To do this, the sParaControllerInternal structure is fed back to the controller's
sParaControllerExternal input, and the bSelCtrlParameterSet flag set to TRUE.
Fine tuning
The control parameters determined in the Tuning process are designed to produce fast settling, with about
10% overshoot. If only very little overshoot is permitted, or even none at all, then the following parameters
from the ST_ControllerParameter structure can be used to perform fine tuning. These values should be
considered only as a guide.
Behaviour fTuneKp fTuneTn fTuneTv fTuneTd
Fast settling with
overshoots of
10%-20%
1.2 2.0 0.42 0.25
Slower settling with
low overshoot
1.0 2.5 0.42 0.25
Almost asymptotic
settling with
extremely small
overshoot
0.5 3.0 1.0 0.25
Requirements
Development environment target platform PLC libraries to include
TwinCAT 3.1.4006 PC or CX (x86) Tc2_TempController
TC3 Temperature Controller20 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.