plc repoert
plc repoert
• The first network initially is FALSE during the first scan because the STOP push button
(I0.1) is wired high. Also, the START push button is FALSE because this switch is not
pressed (normally open push button), and the AUTO mode (I0.2) is set.
• Once the START push button is pressed, I0.0 becomes TRUE, Timer 0 output will be
TRUE, making Q0.0 TRUE (the output to Motor 1) and causing Motor 1 to run. During
the next scan, Q0.0 will latch around the START push button and maintains the first
network TRUE.
• The second network has I0.4 as an input, which becomes TRUE once the motor starts
running and enables the CTU instruction.
• When the motor running input (MOTOR_RUN) is set, indicating that the conveyor is
moving, a photoelectric cell will issue a positive narrow pulse as a part crosses its beam,
which causes the CTU current value (CV) to increment.
• Once the counter preset value (PV) equals the current value (CV), the counter output Q is
set to TRUE and starts Timer 1. After 2 seconds of delay, the pilot light (PL) will be set,
indicating the end of the cycle. The 2 seconds allow the last part to cross the counting
station.
• Once the pilot light is set, the counter count value (CV) resets to 0 through the positive-
edge counter instruction rest input. The TOF timer in the first network will lose power, and
Timer 0 will start timing. Three seconds later, MOTOR_OUT will be FALSE, and motor
will stop running. The 3 seconds allow the last part to arrive at the end of the conveyor
line.
• A solenoid, which is not shown, stops parts from entering the counting station while the
conveyor runs during the 5-second delay. Notice that only one timer is needed for this
implementation. Two different timers were used for the demonstration of TON and TOF
instructions.
• 10.1 is TRUE during the first scan because the STOP push button is wired high. Also, the
START push button is FALSE because this switch is normally open and not pressed.
• Once the START push button is pressed, I0.0 becomes TRUE; this, in turn, makes Q0.0
(MOTOR1) TRUE.
• The next scan, Q0.0, will latch around the START push button and maintain Network 1
TRUE status.
• When Motor 1 run input, tag name MOTOR_RUN, is set, the PE will generate a positive
pulse for each rejected part.
• The counter (CTD) will decrement the CV, tag name CTD_CV, every time PE transitions
from 0 to 1.
• Once the CV is 0, Pilot light 1 will turn ON, indicating that 10 parts are rejected.
• This also will stop the motor and the conveyor system.
• The same sequence can be restarted through the START push button. The counter preset
value is maintained at the initial assignment.