Advantages of PLC
Cost effective for controlling complex systems. Flexible and can be reapplied to control other systems quickly and easily. Computational abilities allow more sophisticated control. Trouble shooting aids make programming easier and reduce downtime. Reliable components make these likely to operate for years before failure. Small physical size, so shorter project time. Ease in documentation.
Architecture of PLC
Power Supply
Push Button Light
I n p u t
M o d u l
O M
u o t d p u u l
t e
Push Button
Programming Device
Programming Device
Architecture of PLC
Input Module : It senses the presence or absences of an input signal at each of its input terminal. Output Module : The output module operates the opposite manner from the input signal. A DC signal from the CPU is converted through each module section to a usable output voltage. Central Processing Unit (CPU) : It is the brain of every computer. CPU carries out arithmetic and logical operations.
Programming Device : A programming device is a computer in which programming is done and then by using data cables the program is downloaded into the PLC. For connecting to the PLC RC-232C cable is used.
RS-232C Cable
Adjusts output
Run Program
Types Of PLC
There are three types of PLC. 1. Unitary PLC
Unitary PLC
It contains every feature of a basic system in one box. They are attached to the machine being controlled. Advantages: 1. Less scanning time 2. Fixed versions are usually small, have less memory so cost in less . 3. Less troubleshooting time so less downtime. Disadvantages : 1. A limited number of inputs and outputs. 2. It is not suited for future expansion. 3. If part of the unit fails, it will take much time and effort to repair, and the entire unit may need replacing.
Modular PLC
It s a range of modules that slot together to build up a system. The basic are the power supply, the main module containing the CPU, the input and output module. Advantages: 1. Great flexibility in choice of modules. Modules can be easily installed or removed without affecting other modules 2. The main advantage is that more Input and output terminals can be expanded. Disadvantages : 1. Scanning time increases with the increase in input and output modules.
What happens when line voltage comes in contact with the low voltage DC section of PLC?
24 V 230 V Relay Coil
8 7 NO
NC
1
NO
NC
PLC
What happens when line voltage comes in contact with the low voltage DC section of PLC?
230 V 24 V Relay Coil
8 7 NO
NC
1
NO
NC
PLC
Optical Isolation
It means there is no actual electrical connection between the input device and the processor. This eliminates any possibility of the input line voltage from coming in contact with and damaging the low voltage DC section of the processor. It prevents any unwanted voltage from the i/o section of the processor.
ON OFF
Push Button
Photoelectric Switch
Input Signal 1
Micro Processor
The Timer On Delay instruction begins to count time base intervals when rung conditions become true. As long as rung conditions remain true, the timer adjust its accumulated value (ACC) each evaluation until it reaches the preset value (PRE). The accumulated value is reset when rung conditions go false, regardless of whether the timer has timed out.
( (
( EN ( DN
Increments the accumulated value at each false to true transition and retains the accumulated value when the instruction goes false or when power cycle occurs. The CTU is an instruction that counts false to true transition. When this transition happens the accumulated value is incremented by one count. A CTU accumulation is reset by the RES instruction.
( DN
( CU
Switch 1
Switch 2 0 0 1 1
Output 0 0 0 1 Light
ON OFF
Switch 1
ON OFF
Switch 2
0 1 0 1
Truth Table
M1
Normally Closed Push button
M2
Stop Forward
Normally Open Push button
Reverse
Normally Open Push button
( M2
( M1