The Machine Simulator (MS) is part of the EasyPLC software suite. It has many built-in machines that are used to show different programming techniques. The paint line is one of these machines. It will use a bit shift (shift register) to track bottles along a conveyor belt. All the bottles will be detected using photocells and tracked along the conveyor. Larger (taller) bottles will be painted and then pushed into a box at different sections of the conveyor belt. A control panel will be used to start and stop the paint line and display the bottle count. The paint line machine simulator is an excellent way to learn how to program shift registers (bit shift) in the PLC.
The BRX Do-More PLC will be used to program this virtual paint line machine. Using the BRX Do-More PLC, we will connect to the paint line machine. This will be done using Modbus TCP (Ethernet) for communications. Using the five steps for program development we will show how this is programmed. Let’s get started. Keep on Reading!
PLC outputs are the next component of our PLC block diagram. The outputs of the PLC will be controlled by the PLC program. Controlling outputs is one way to get the inputs to change. We will be looking at digital and analog outputs that can be wired to the programmable logic controller.
PLC troubleshooting outputs will also be discussed. This will be done using a multimeter measuring voltage both at the PLC output and across the discrete output load. We will also measure and control an analog signal output. Let’s get started. Keep on Reading!
PLC inputs are one component of our PLC block diagram. The output actions of the PLC will be controlled based on the inputs. We will be looking at digital and analog inputs that can be wired to the programmable logic controller.
We will be looking at wiring of a normally open (NO) push button, normally closed (NC) push button, 3 wire PNP sensor, and an analog sensor to the PLC. These will all be sinking inputs. Let’s get started. Keep on Reading!
We will now be looking at using digital inputs (pushbuttons) to turn LEDs on and off. This will be programmed using our Arduino Uno R3 from our Super Starter Kit. Pushbuttons will allow actions to be performed that our Arduino program sketch will interpret and take action.
We will be wiring two pushbutton switches. A pull-down resistor will be wired to the first switch and a pull-up resistor will be wired to the second switch. This will change the state of the input (High (1) or Low (0)) based on the wiring. Two LEDs will be wired to the outputs of the Arduino Uno. This will show the state of the switches and allow the switch inputs to modify the state of the LED. We will look at three different programs.
Eliminating switch bouncing will also be discussed and programmed using our Arduino Uno super starter kit. Let’s get started. Continue Reading!