Different Codes for Different Folks

 

The key to any BAS (building automation system) is the code that makes the automation piece possible. To make the most of your building automation efforts and ensure success is understanding the basics of what makes that automation possible. Differentiating line code and object-oriented code is the first step in expanding your understanding of the code itself.

 

Line Code


 


Using line code as your programming language certainly has its benefits. Even though this is one of the oldest types of coding languages it is one of the most straightforward. The fact that the comments are in English helps tremendously when dealing with this particular coding format. The comments paint a clear picture of what is happening from line to line and how, ideally, the code should work. Using these comments as a guide is a great way to start to learn the coding language itself.



 

 

 

 

 

 

 

 

 

 

 

Object Oriented


 

 



Object Oriented, or visual programming language, is a more modern type of programming language and enables the programmer to use and manipulate program aspects visually rather than in line as text. Typically you will see boxes and arrows in this type of coding format which help indicate what is happening and the path that it follows when the command is executed. Once you understand the aspects/elements that are being manipulated it's easy to determine what is going on where by the visual flow.

 

May the Code be with You


 

The most crucial piece of information that you could take away from this is that it is essential to understand that the code is what runs the automation which in turn 

runs the building. Obtaining a basic understanding of what it is that you are working with is the first step in your success. That being said in order to achieve maximum efficiency, you will need to make adjustments from time to time in order to create

 the most optimal atmosphere and to make changes you will either have to do it yourself or hire experts in this area. One factor to consider is understanding the mechanical aspect of the equipment goes a long way when coding. This will help with the cumulative understanding of how they work hand in hand. Another critical factor to your success will be determining exactly how you want the building to run and get on the same page as the design engineer. It's important to always keep your long-term goal in mind while mapping out the specifics that will get you there in the end.