IA Unit 2
IA Unit 2
APPLICATIONS OF PLC
• The timer will be ON when a start input signal is received, and when a preset timing is reached,
the signal state of the output changes from 1 to 0.
• The signal status of the output adjusts from 0 to 1 when the preset time is reached by changing the
RLO (Result of logic operation) from 0 to 1(ON) at the starting input.
• An on-delay timer is a instruction used when you want to program a time delay before an
instruction becomes true.
• In on delay timer, the timer changes its contacts after reaching the present time (On delay time).
As its name suggests the timer contacts change overs after some delay.
Application of ON Delay Timer
• ON-delay timers are typically used in applications where it is important to ensure that a
circuit is not activated until after a certain amount of time has elapsed. This can help prevent
accidental circuit activation or allow time for a system to stabilize before it is activated.
• In Star-delta motor starting, to reduce starting current with changeover delay to prevent
interphase short-circuits.
• Pushbutton for crosswalks, for example, when you push the button for a walk signal, the
signal light changes from don’t walk to walk after a delay.
• Time-controlled start-up or shut down of machinery equipment, for example, the delayed
switch-off of conveyor belts or the successive shut down of a plant.
OFF DELAY TIMER
OFF DELAY TIMER Conditions
OFF DELAY TIMER
• The OFF delay means that it will change state a predetermined time after the
timer has received the shutdown signal.
• The timer begins to work when the rung signal is false The time continues to
accumulate times until the accumulated value becomes equal to the preset value.
When the accumulated value is equal to the preset value, the output turns off.
RETENTIVE TIMER
RETENTIVE TIMER
• The RTO’s main function is used to keep or store the (accumulated) set time. It is
used when rung state change, power loss or any device interruption occurs.
• When its rung goes from false to true, the Accumulate value of the retentive timer
counts from where it stopped the last time.
• The reset instruction will be activated when its rung is true and resets the timer
according to the address assigned to the reset instruction.
• The timer’s power loss after reaching its preset value does not affect the contacts
state. The retentive timer must be reset with a different signal for the reset time .
RETENTIVE TIMER Conditions
PLC Counter
• A counter is a PLC instruction that either increments (counts up) or
decrements (counts down) an integer number value when prompted by the
transition of a bit from 0 to 1 (“false” to “true”).
• Both “up” and “down” counter instructions have single inputs for triggering
counts, whereas “up/down” counters have two trigger inputs: one to make
the counter increment and one to make the counter decrement.
Difference Between timer and counter in
PLC
• Both have the same function of programming instruction to control
and to operate the device.
• But the main difference in between is-
• Counter counts the sequential digital pulse in binary form.
• Timer counts and controls the operation based on time intervals.
• PLC timers and counters can be used as LD programming instructions.
How PLC Counter Works [Block Diagram]
Up Counter
• Up counter counts from zero to the preset
value. Basically, it increases the pulse or
number.
• Up counter is known as the ‘CTU’ or ‘CNT’ or
‘CC’ or ‘CTR’.
• We can also set the initial and target value as an
input to the counter.
• Here, the up-counter in PLC can count the
value from the initial value to the target value.
This initial value must be less than the target
value. Most of the time, it is set as zero.
• For each pulse at Count Up(CU) bit,
the current Counter Value(CV) will
be increased by 1.
• When there is a pulse at Set
input(S), it will set Preset Value(PV)
at the current Counter Value(CV).
• When there is a pulse at Reset
input(R), the counter block will get
reset and the current counter value is
set at 0 again.
Example,
There is an indicating alarm when the production limit reaches 100.
1 2
3
Down Counter
(high or low) of the specified count input terminal. will set Preset Value(PV) at the current
• At each pulse at Count Up(CU) bit, it will increase the Counter Value(CV).
• When there is a pulse at Reset input(R), the
current Counter Value(CV), and each pulse at Count
counter block will get reset and the current
Down(CD) bit, will decrease the current Counter
Counter value is set at 0 again.
Value(CV).
Example,
Suppose there is a limit of 50 vehicles in a parking lot. So it will show the vacant positions and
parking full indicator.
Counter Instructions Address for Multiple PLC Brands
Applications:
•To start an action or process when the counter value at a specific value.
•To verify that an input device’s data (Analog input) is within the range.
•To verify that the parts are within the tolerance limit.
• Design the ladder logic for controlling the running state of the single
phase motor by pressing START and STOP pushbuttons i.e. motor
should remain in ON state after START pushbutton is pressed and
should OFF when STOP pushbutton is pressed. We also have to check
if the motor is running normally by pressing TEST pushbutton?
• I0.0 – START pushbutton to Start Motor
• I0.1 – STOP pushbutton to Stop Motor
• I0.2 – Error signal from Motor to PLC.
• Q0.0 –Single phase Motor
PLC Motor Logic
Press START button and I0.0 is ON. The Motor will keep running if no error occurred (I0.3 is OFF). The action can be
practiced by a latching circuit which takes output Q0.0 as one of the input condition to keep the motor running even if the
START button is not pressed (See normally open contact Q0.0 below I0.0).