As I said previously, I also have a reset switch for this machine. In this lesson, I'm going to add an open contact to the reset input of the counter so that when the reset switch is pressed the accumulated value for the counter is going to be reset to zero.
At the end, when the PLC program is complete, I'm going to test the whole program once more, in the online mode, to make sure everything works exactly as I needed.
In this lesson, I'm going to write a PLC program for a vehicle barrier at the parking entrance using a count up and down instruction and also two comparator instructions. What I need the vehicle barrier to do for me is, when the number of vehicles within the parking lot is equal to 500, it should...
In the previous lesson I wrote a PLC program to control the vehicle barrier in a parking lot entrance and also counting the number of the vehicles within the parking lot.
In this lesson I'm going to write a short piece of code for turning on the signal lamp when the parking lot capacity is full...
In some projects you need a PLC output to be energized when a group of PLC inputs are all true at the same time. To write such a PLC program there are two ways:
1. Writing the PLC program using what I call the "bit logic" approach
2. Writing the PLC program Using the comparator operations
In t...
12 Comments