BK21. Correlation Coefficient Calculation via TwinCAT PLC Structured Text (ST)

Опубликовано: 16 Июль 2026
на канале: Electrical Automation Hands-On
1,697
22

#correlation #PLC #twincat
This video introduces how to use Beckhoff TwinCAT 3 PLC Structured Texted to program the Correlation Coefficient algorithm.

Chapter:
00:00 Introduction
01:20 Correlation Coefficient Introduction
07:40 Setup TwinCAT Project
11:20 Setup Function Block of Correlation Calculation
31:20 Declare the Global Variables
32:49 Call Function Block
38:20 Online Test Fb
42:50 Matlab Validation
43:50 Application Discussion

Siemens Playlist:
   • Siemens Controls  
Backhoff Playlist:
   • Beckhoff TwinCAT Controls  
Allen Bradley Playlist:
   • Allen Bradley Controls  

Webpage:
https://www.investopedia.com/terms/c/...
https://blog.hubspot.com/marketing/co...

If the video would be helpful, I appreciate you could buy me a coffee via the PayPal link below:
https://www.paypal.com/donate?hosted_...

BK21. Correlation Coefficient Calculation via TwinCAT PLC Structured Text (ST)
   • BK21. Correlation Coefficient Calculation ...  

BK20. Beckhoff TwinCAT 3 Variable Data Snapshot / Archive via Recipe Manager
   • BK20. Variable Data Snapshot / Archive via...  

BK19. Beckhoff TwinCAT - Is 10000.1 - 10000.0 = 0.1? Floating Point Precision
   • BK19. Beckhoff TwinCAT - Is 10000.1 - 1000...  

BK18. Beckhoff TwinCAT - How to solve Denominator Is Zero in Division Calculation
   • BK18. Beckhoff TwinCAT - How to solve the ...  

BK17. Beckhoff TwinCAT 3 Datalogging or Recipe via CSV Reading and Writing
   • BK17. Beckhoff TwinCAT 3 Datalogging or Re...  

BK16. Using "Compiled Library" to Protect Source Code in Beckhoff TwinCAT 3 Project
   • BK16. Using "Compiled Library" to Protect ...  

BK15. 10 Tips & Tricks of Beckhoff TwinCAT 3 Programming
   • Video  

BK14. Upload TwinCAT3 Controller and Online/Offline Project Compare
   • BK14. Upload Beckhoff TwinCAT3 Controller ...  

BK13. Beckhoff TwinCAT3 Encoder Settings EL5021(SinCos Encoder) EL5151(Incremental Encoder)    • BK13. Beckhoff TwinCAT3 Encoder Settings E...  

BK12. How to Match Version of TwinCAT3 Software and Hardware (CX9020 OS Firmware Upgrade)
   • BK12. How to Match Version of TwinCAT3 Sof...  

BK11b. [2/2] Beckhoff TwinCAT3 Sequence Control - Commissioning Test [Valve Sequence Control]
   • BK11b. [2/2] Beckhoff TwinCAT3 Sequence Co...  
BK11a. [1/2] Beckhoff TwinCAT3 Sequence Control by Using "Case..Of" [Sequence Structure]
   • BK11a. [1/2]Beckhoff TwinCAT3 Sequence Con...  

BK10. Beckhoff TwinCAT3 LD(Ladder Logic) & ST(Structure Text) Programming
   • BK10. Beckhoff TwinCAT3 LD(Ladder Logic) &...  

BK09. How to Retain/Persistent Variables using Beckhoff TwinCAT3 CX9020 U900 UPS
   • BK09.  How to Retain/Persistent Variables ...  

BK08. Beckhoff TwinCAT 3 Licensing
   • BK08.  Beckhoff TwinCAT 3 Licensing  

BK07. Use 'Scan' in TwinCAT 3 to Upload and Compare Hardware Configuration
   • BK07.  Use 'Scan' in TwinCAT 3 to Upload a...  

BK06. How to Retain Variables in Beckhoff TwinCAT3 via "PERSISTENT"
   • BK06. How to Retain Variables in Beckhoff ...  

BK05. How to Link Tags/Variables to Hardware Signal Modules in TwinCAT3 PLC
   • BK05. How to Link Tags/Variables to Hardwa...  

BK04. How to Connect Beckhoff Controller using TwinCAT 3 (2 Scenarios)
   • BK04. How to Connect Beckhoff Controller u...  

BK03. BECKHOFF CX2030 Device Manager Dashboard and Windows System Tutorial
   • BK03. Beckhoff CX2030 Device Manager Dashb...  

BK02. How to Simulate BECKHOFF TwinCAT PLC Project via Virtual Machine System
   • BK02. How to Simulate BECKHOFF TwinCAT PLC...  

BK01.Getting Start with BECKHOFF TwinCAT 3 - PLC Project
   • BK01. Getting Started with BECKHOFF TwinCA...