Sie sind auf Seite 1von 4

PLC Lab

Experiment #2
Logic Function in Ladder Diagram

Purpose of Experiment:
- Learn about the logic gates ,and the way that can be present them in ladder diagram
program.

-Learn about some useful circuit connection such as , self holding circuit and interlock
circuit.

Program Practice

Part I: AND Circuit


And Circuit is the circuit which produces output only when all of the multiple inputs
are on , and it is similar to series switch circuit.

- Complete the following truth table.


Input Output
A B Z

AND gate truth table

-Write a program in ladder diagram to present the relay circuit.

Raw 0 ....................................................................................................................

Raw 1 ………………………………………………………….……………….…......................................
- Configure the PLC I/O map.

Section Indirect Variable I/O Allocation Remarks


Name
Input

Output

Part II: OR Circuit


OR circuit produces an output if any one of its inputs is on , and is also referred to as
parallel circuit.

- Complete the following truth table.


A B Z

Input Output

OR gate truth table

-Write a program in ladder diagram to present the relay circuit.

Raw 0 ....................................................................................................................

Raw 1 ………………………………………………………….……………….…......................................

Section Indirect Variable I/O Allocation Remarks


Name
Input

Output
Part III: NOT Circuit

- Complete the following truth table.


Input Output
A Z

NOT gate truth table

-Write a program in ladder diagram to present the relay circuit.

Section Indirect Variable I/O Allocation Remarks


Name

Input
Output

Raw 0 ....................................................................................................................

Raw 1 ………………………………………………………….……………….…......................................

Part IV: Self Holding Circuit


As a fact relay can store information by composing a self holding circuit with its
contact. The figure below shows a self holding circuit of a relay.

Section Indirect Variable I/O Allocation Remarks


Name
Input

Output
Raw 0 ....................................................................................................................

Raw 1 ………………………………………………………….……………….…......................................

Raw 2 ………………………………………………………………….………….....................................

Raw 3 …………………………………………………………………………......................................……

Part V: Interlock Circuit


Interlock circuits use contact to indicate the active state of a device , preventing
operation of related devices , in order to protect the device and its user .Interlock
circuit is also called priority circuit or operation prevention circuit.

Section Indirect Variable I/O Allocation Remarks


Name
Input

Output

Raw 0 ....................................................................................................................

Raw 1 ………………………………………………………….……………….…......................................

Raw 2 ………………………………………………………………….………….....................................

Raw 3 …………………………………………………………………………......................................……

Raw 4 ………………………………………………………………….………….....................................

Raw 5 …………………………………………………………………………......................................……