Generic Software development
Whatever the automation system is, it is mostly based on the electrical, electronic, and mechanical systems. We need a switch on to run a motor. The switch can be an electronic switch which can be put ON by executing software. Software is the brain of the system. We need to have good knowledge of developing an automation system. We shall explain or review the most important software system in these pages.
C# is one of the most supported programming languages supported by Microsoft. In these pages, we shall describe some selective and necessary topics such as threads, events, etc. For a detailed tutorial, there are plenty of web pages on the internet. Continue learning selected C# topics.
We need to model our system so that we can read and write data to the system or we can update the system based on the event. First, we need to find relations among different entities in the system. We shall use the fluent-NHibernate module. If we use this module then we don’t need to write all the SQL command by ourselves. We shall provide 3 examples that will help us to understand the data modeling. Continue reading.
Whenever we develop software, it can’t be bug-free. We need to debug the code. TwinCAT HMI framework supports built in debugging when we develop the extension module, this page will describe how to use SQLite while we develop an extension, continue reading.
Debugging can be a hard and time-consuming process, especially if we are developing in a multithreaded environment. To understand the execution process we need to capture the log, log4net is a convenient way to capture logs. This tutorial will describe how to use it, continue reading.