PLC Training
PLC Training
PLC Training
PLC Hardware
& Software
• Hardware
PLC Architecture
The CPU
Address, Data & Control Bus
Hardware configuration
Typicalexample of control
panel with a PLC controller is
given in the picture.
National Institute of Design & Analysis 7
History
Advantages of PLC based control panel
In the mid70's the dominant PLC were Modicon and A-B PLCs. The
AMD 2901 and 2903 were quite popular in these PLCs
Inputs Outputs
PLC
National Institute of Design & Analysis 14
PLC Architecture
Typically a PLC system has five
basic components. These are the
Programming processor unit, memory, the power
Device supply unit, input/output interface
section and the programming
Memory device. Figure shows the basic
arrangement.
Input Output
Processor
Interface Interface
Power
Supply National Institute of Design & Analysis 15
PLC Architecture
Memory Unit
Program is stored in memory unit, and is used for the control actions to
be exercised by the microprocessor.
ALU
The ALU performs arithmetic and logical operations such as addition and subtraction on
data stored in registers.
Control Unit
The control unit is basically a set of counters and logic gates which is driven by the block.
Its function is to control the units within the microprocessor to ensure that operations are
carried out in the correct order.
Data
Control
Lamp
Lamp
Limit
LimitSwitch
Switch Solenoid
Solenoid
000.00 TIM000
010.00
Level
LevelSwitch
Switch Heater
Heater HEATER
010.00
Flow
FlowSwitch
Switch 010.00
Lamp
Lamp
TIM 000
#0020
Reading Updating
Inputs Outputs
Executing Program
National Institute of Design & Analysis 31
Factors Influencing Scan Time
1) CPU’s processing
speed
2) Length of user’s
program 4) Monitoring of
control
program
Timers(T)/ Counters(C)-
Practice Session
• Latches
• 1-Cycle differential Circuit
• Push-on/ Push-off Circuit
• Single Shot Pulse
• Timers and Creating Delays
SET condition
RESET condition
Output
National Institute of Design & Analysis 42
Latches
Description
DIFU(13) is used to turn the designated bit ON for one cycle only. Whenever
executed, DIFU(13) compares its current execution with the previous
execution condition. If the previous execution condition was OFF and the
current one is ON, DIFU(13) will turn ON the designated bit. If the previous
execution condition was ON and the current execution condition is either ON
or OFF, DIFU(13) will either turn the designated bit OFF or leave it OFF
National Institute of Design & Analysis 45
Differentiate Down
Description
DIFD is used to turn the designated bit ON for one cycle only. Whenever
executed, DIFD(14) compares its current execution with the previous
execution condition. If the previous execution condition was ON and the
current one is OFF, DIFD(14) will turn ON the designated bit. If the previous
execution condition was OFF and the current execution condition is either
ON or OFF, DIFD(14) will either turn the designated bit OFF or leave it OFF.
National Institute of Design & Analysis 46
Push-ON/Push-OFF Circuit
This circuit toggles the output every time, when
input signal is applied.
1 2 3 4 5 6
Input
Signal
Output
Input
Condition
Output
T1
National Institute of Design & Analysis 49
Timers and Creating Delay
Input
Signal
Output
T1 T1
Flicker Circuit
Long-time Timer Circuit
Shift Register
Data Movement
Interlocks
Input
Signal
Output
T1 T2
T1 = ON delay timer
T2 = OFF delay timer
Input
Signal
Output
T1 T2 T1 T2 T1 T2 T1 T2
Timer on
condition
Output
T1
Limitations
DM 6144 to DM 6655 cannot be used for D.
Description
When the execution condition is OFF, MOV(21) is not executed.
When the execution condition is ON, MOV(21) copies the content
of S to D.