Building a PLC Program That You Can Be Proud Of – Part 2

In part 1, we looked at writing PLC programs to control a traffic light using discrete bits and timed sequencing using indirect addressing. We will now look at how we can use indirect addressing for inputs and output to control the sequence in the program. Let’s look at an example of controlling pneumatic (air) cylinders. … Read more

Here’s a Quick Way to Convert Grey Code into Binary for PLC

Grey Code Grey Code is used because only one bit of data will change at a time. The following chart shows the conversion of Grey Code to Binary. Number Binary Code Grey Code Number Binary Code Grey Code 0 0000 0000 8 1000 1100 1 0001 0001 9 1001 1101 2 0010 0011 10 1010 … Read more