Documente Academic
Documente Profesional
Documente Cultură
L O G I C
C O N T R O L L E R
Ashakoor
ASHAKOOR
CIIT
Lab Manual
COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
ASHAKOOR
Keyence KV-10AT/AR
LAB MANUAL
Supervised By
SAJJAD DURRANI
COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
ASHAKOOR
This Manual describes the operation and function of the KV-10AT PLC. Read this carefully to ensure maximum performance from your PLC.
Objectives
To To To To get familiar with PLC install the PLC in systems construct PLC programs in LAD run and debug the programs on KV-10AR/AT PLC.
Introduction to PLC
Controllers may consist of logical components and connections among them. Depending on the current logical value of input, output is produced to change the status of the system. PLC may realize such controllers. Today, the command and feedback control systems of industrial automation systems are realized by programmable logic controllers (PLCs). In order for PLCs to work as controllers, they must be able to realize some functions. These functions are basic and combinational logic operations such as AND, OR, AND-NOT, OR-NOT, timer and counter operations. In addition to these, PLCs may have the ability to realize several transfer, mathematical, and PID operations. PLC consists of three main parts: CPU Memory I/O units. CPU is the brain of PLC. It reads the input values from inputs, runs the program existed in the program memory and writes the output values to the output register. Memory is used to store different types of information in the binary structure form. I/O units provide communication between PLC control systems. COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
ASHAKOOR
PLC reads the INPUTS and then executes the program burned in it accordingly and then updates the OUTPUT respectively.
COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
ASHAKOOR
COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
ASHAKOOR
Installation:
COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
ASHAKOOR
Make all common contacts (C1,C2, C3) connect to the ground (0V). Any input variable should be connected at input switch
Programming:
COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
ASHAKOOR
Ladder logic diagrams Ladder logic (LAD) is one programming language used with PLCs. Ladder logic uses components that resemble elements used in a line diagram format to describe hard-wired control. The left vertical line of a ladder logic diagram called rail represents the power or energized conductor. The output element or instruction represents the neutral or return path of the circuit. The right vertical line represents the return path on a hard-wired control line diagram. Ladder logic diagrams are read from left-to-right, top-to-bottom. Rungs are sometimes referred to as networks or horizontal lines. A Rung may have several control elements and output coils.
Extended ladder diagrams Special feature of KV-Series The extended ladder diagram is a programming method developed to reduce problems related to design, testing, operation, and maintenance of programs. In a conventional ladder diagram, output instructions can be written only on the right side of a ladder diagram. On the other hand, in an extended ladder diagram, output instructions can be written anywhere except on the left. As the result, the programs shown below can be written.
COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
The user-friendly design allows data entry from a keyboard or a mouse. You can select and specify a device or command from a list provided by device type. This ensures error-free entry of target symbols. For fast programming, you can also enter the symbol directly by typing the command from the keyboard. The Ladder Builder for KV creates sequence programs in Windows
ASHAKOOR
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
ASHAKOOR
KV-10AT/AR
Inputs
Outputs Internal Relays Timers/Counters Data Memory 0000 0005 0500 0503 1000 1915 T/C 000 063 DM 0 0999
COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
ASHAKOOR
Building Program(e-g. latch) Start -> Programs -> Keyence Applications ->Ladder Builder for KV Sample Ver.
COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
ASHAKOOR
Place an N.O contact and give it address of the desired input contact.
COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
ASHAKOOR
COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
ASHAKOOR
Place the cursor below the contact of relay 0001 add a Branch with a NO contact (OR logic), Select relay 0500
Place the cursor below the NO contact of relay 0500. Type END -> for end of routine . Click OK.
COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
ASHAKOOR
Place the cursor below on line 0004. Type ENDH -> for end of program. Click OK.
Simulator
COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
Its a quick debugging without a PLC. Even without a PLC connected, the Ladder Builder for KV can simulate program execution. The execution can be checked without transferring the program to the PLC. By providing a single-step execution function (forward or reverse) in addition to a regular scan execution function, debugging efficiency is increased. PLC Monitor Real time monitoring without stopping the machine Ladder diagram and element on/off stands can be monitored real time. Timing charts can be monitored simultaneously. Simulation of above build program
ASHAKOOR
Practical:
Develop a relay based controller that will allow three switches in a room to control a single light. Develop a simple ladder logic program that will turn on an output X if inputs A and B, or input C is on. Develop basic logic gates on PLC. Develop a motor forward/reverse program using interlock circuit with 5 sec delay on PLC. COMSATS ABBOTTABAD
P R O G R A M M A B L E
L O G I C
C O N T R O L L E R
Develop a program which counts subjects on a conveyor belt. Develop time delayed security alarm program using relay. Develop a pressure and level controller program of a boiler having self fault identifier.
ASHAKOOR
COMSATS ABBOTTABAD