PLC-programmers, stop using global variables!
Global variables, global variables and global variables, whatever example sample project or real life PLC-project I look at, I see global variables being used to store data and exchange information between software modules. This has to stop! What's wrong with global variables, especially since so many of us PLC-programmers are using them and the PLC vendors themself use them in their examples? Let's find out!
Visit our sponsor → https://shipinsix.team/
You like the content on this channel? Please support this channel by either:
A donation by using the "Thanks" button under the video
A donation through PayPal → https://www.paypal.com/donate/?hosted...
Becoming a Patron → / sagatowski
Need help with your automation project? I'm offering consultancy and programming services through my company → https://www.sagatowski.com
Subscribe so you don't miss new videos → https://www.youtube.com/jakobsagatows...
0:00 Introduction
1:41 Non locality
2:36 Implicit coupling
3:40 Sponsor: Ship In Six
4:14 Difficult to trace
5:11 Unit testing
6:20 Exceptions
7:11 Outro
#plc #programming #softwareengineering