Tuesday, March 23, 2021

PLC OOP Programming Language Examples

PLC OOP Programming Language Examples :

Learn By Doing IEC-61131-3 OOP Programming Examples In CODESYS


PLC OOP Programming Language

As PLC programming has been coming more focused on Structured Text and other computer-like programming languages as opposed to Ladder Logic (the simple language of electricians), those working with PLCs need to have at least a basic understanding of object-oriented programming (OOP) programming method.

About The Object-Oriented Programming Language in PLCs

 

OOP is a way to package computer code or PLC (Programmable Logic Controller) instructions into reusable blocks or "objects" that can be used multiple times in a program or in other programs. OOP is a way to add structure to a program and keep program sections separate from one another so that the program does not end up with "spaghetti code" where multiple instructions affecting multiple elements are all mixed up together. OOP is not a new programming language in-and-of-itself, but rather a way to package code to make programs more efficient, reusable, and modifiable. High-level computer languages like C and C++ have used OOP for years, and recently OOP has crept into the programming of PLCs and has been added to IEC-61131-3 OOP.  

 

OOP is not a specific programming language, it is a methodology. Another PLC Object-Oriented Programming example is the one the PLC programming software uses itself. The learner from this course will be well familiar with dragging a timer instruction onto the output of a rung of logic. That timer instruction dragged is an object class, and the resulting copy on the rung is an instance(copy) of that class. It is encapsulation in object-oriented programming.


To learn more see and share the OOP Programming in the PLC tutorial

What you will learn by doing in the above tutorial?


  1.     PLC OOP Introduction
  2.     About Programming a Class
  3.     Adding Properties to a Class
  4.     Adding Methods to a Class
  5.     Encapsulation Programming
  6.     Programming Inheritance
  7.     Passing Parameters to a Method
  8.     Access Modifiers
  9.     Polymorphism of a Class Examples
  10.     Multi-class Interface Examples

Saturday, March 13, 2021

Mechanical Power Transmission Training Course

Mechanical Power Transmission System Training


Mechanical Power Transmission Training Course

Learn the basics of mechanical power transmission with the included many mechanical power transmission examples. Bearing types and coupling types covered extensively.

As you can see from the mechanical power transmission training course excerpt below, from the very beginning of the course, various measurement standards from around the world are used in these courses.

Power transmission Definition:

Power transmission can be basically defined as the movement of energy from where it is generated to a location where the energy is applied to perform work.

Power is calculated in terms of Energy transmitted per unit time:
Power = Energy / Time

In SI units power is commonly expressed in terms of :
Power = Watt or Joules / Sec or Newton Meter / Second

In US customary units power is commonly expressed in terms of:
Power = Horse Power or British Thermal Unit (BTU) / Hour or Foot Pound Force/Hour

Types of Power Transmission:

The common types of Power Transmission include...

Electrical: Electric power is transmitted by overhead and underground cables over a long distance.

Wireless: Power transmitted like radio waves, change in electromagnetic fields, etc.

Mechanical: Mechanical power is by means of direct contact with elements like gears, belts, chains, etc. The liquid is pressurized in Hydraulic systems to transmit power, while pneumatic systems use compressed air to transmit power.

Thermal Power: Thermal power is transmitted by the flow of fluids like oil in pipelines by using the high heat capacity of such fluids.




Saturday, March 6, 2021

Maintenance Excellence - Equipment Criticality.

How to Decide Equipment Criticality section from the eBook ...

The Maintenance War

We took the equipment criticality section narration of the eBook "Maintenance War - The Japanese Path To Maintenance Excellence" and the graphs and charts from that eBook, to create the video below.


The article How to Decide Equipment Criticality gives the printed text of the criticality section too. So you can read it, or listen to it in the video. Choices, choices.

I hope you like and re-share. Thank you for your support.