Sie sind auf Seite 1von 17

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

ASHAKOOR

CIIT

PROGRAMMABLE LOGIC CONTROLLER


KEYENCE-KV

Lab Manual

Department of Electrical Engineering

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

PROGRAMMABLE LOGIC CONTROLLER

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

Department of Electrical Engineering

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

How Plc Works

Read Inputs Execute Program Update Outputs

PLC reads the INPUTS and then executes the program burned in it accordingly and then updates the OUTPUT respectively.

Installation Programming Practical Basic UNIT model designation

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

Getting familiar with KV-10AR/AT 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

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

Connecting the plc with the computer.


Use rs-232 to RJ-11 cable to connect plc with the PC. Plc can be connected to PC in standalone as well in operational mode.

Connecting the plc with the inputs and load.

Make all common contacts (C1,C2, C3) connect to the ground (0V). Any input variable should be connected at input switch

place. Load should be connected at the load point.

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.

**Remember** Connect the PLC to the Power supply before 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

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

Software for it can be downloaded from http://www.keyence.com/products/plc.html Addresses 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

KV-10AT/AR
Inputs
Outputs Internal Relays Timers/Counters Data Memory 0000 0005 0500 0503 1000 1915 T/C 000 063 DM 0 0999

Basic Ladder Logic 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

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

Create a new file. Select the KV10 model.

The new window will bw like this.

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

Now place an N.C contact.

Extend the rung by placing horizontal lines(F9).

Now place an output (F7) and address it accordingly.

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

Connect the circuit to the right power line.

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.

Compile and Execute the program for continuous scan.Then simulate.

Compile Simulator PLC Monitor

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

Muhammad Mudassar Aslam

COMSATS ABBOTTABAD

Das könnte Ihnen auch gefallen