You are on page 1of 7

ADAMSON UNIVERSITY

College of Engineering
Mechanical Engineering Department

Experiment No. 2

ME Electives 4 (Programmable Logic Controller)

Tipping Device

Name:

Prado, Mon Patrick M.

Student Number:
201311683

Schedule:
MTWTh/ 7:00 – 9:30 am

Date of Submission:
June 26, 2018

Instructor:
Engr. Arnaldo D. Valino
I. Introduction

A programmable logic controller (PLC) is an industrial computer control


system that constantly monitors the input devices and makes decisions based upon
a custom program to control the output devices. Almost any production line,
machine function, or process can be significantly improved using this control

A PLC program is usually written on a computer and then is downloaded to


the controller. OR Function states that an output action will become TRUE if either
one “OR” more events are TRUE, but the order at which they occur is unimportant
as it does not affect the final result.

The logic or Boolean expression given for a logic OR gate is that for Logical
Addition which is denoted by a plus sign, (+). Thus a 2-input (A B) Logic OR Gate
has an output term represented by the Boolean expression of: A+B = Q.

II. Objectives
a. To be able to Design and simulate indirect OR function on the PLC system
using the CoDeSys software.
b. To be able to construct a custom program that satisfy the required of the
given situation or problem.
c. To be familiarized with the operation and principle of PLC and its
programming sequence using the CoDeSys software and by LD (ladder
diagram) method.
III. Problem Description

Using a Tipping device liquid is to be poured from a vat.

By pressing a pushbutton switch, the vat is tilted and the liquid is emptied.
After releasing the pushbutton switch the vat is returned to the upright
position.

Figure 1. Tipping device front view


IV. Procedure

1. Set up the program in CoDeSys by creating a new file, choosing the


FESTO CPX-CEC/CPX-CEC-C1, type of POU (Program Organization
Unit) and by using Program and Ladder (LD) respectively, and
configuring the plc to be used by appending 8DIN/8DOUT [VAR] PLC.
(Note: this set up is necessary for default easy program)
2. Determine how many Inputs and Outputs to be used in the PLC.
3. Set two inputs and one output in the program by addressing it to the input
and output adress of the PLC. For input %IX2.0 and %IX2.1 is used and
%QX0.0 for the output.
4. K1 has no adressed which will be treated by the compiler and the PLC as a
relay.
5. Construct a diagram of the system using indirect OR function. Test the
program for errors by simulating it first.Go to Oline tab click simulation
mode then login and run. Label each declaration in the program.
6. Set-up the network configuration of the computer used by expiditing its IP
adress to 198.162.2.X,( X )note can be from any number except 50 for due
to by default 50 is being use by PLC already.
7. Connect the PLC to the computer using a ethernet or lan cable.
8. Then upload the program now to the PLC by unselecting the simulation
mode then login and search the conneted plc and select it now the program
is uploaded into the PLC and will excute the command even with out the
computer connected.
9. Then execute the program turn on the PLC make sure its all connected
from the main poweer supply and turn the knob of the PLC and make sure
the air service unit knob is on. Then push the buttons that satisfies the
problem.
V. Results and Discussion
ACTUAL SET-UP
Logic Tabular Diagram

OR function
VI. Conclusion

You might also like