0% found this document useful (0 votes)
6 views10 pages

Sample Laboratory Report Mechatronics

The document outlines a machine problem for a course on Programmable Logic Control, Robotics, and Mechatronics Applications, focusing on digital logic functions. It aims to familiarize students with basic logic gates and ladder diagrams, detailing the operation of AND, OR, and NOT gates among others. The document includes experiment procedures, data results, observations, and conclusions related to the implementation of these logic functions.

Uploaded by

John Vic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views10 pages

Sample Laboratory Report Mechatronics

The document outlines a machine problem for a course on Programmable Logic Control, Robotics, and Mechatronics Applications, focusing on digital logic functions. It aims to familiarize students with basic logic gates and ladder diagrams, detailing the operation of AND, OR, and NOT gates among others. The document includes experiment procedures, data results, observations, and conclusions related to the implementation of these logic functions.

Uploaded by

John Vic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

MECHATRONICS SYSTEMS

Colegio de Muntinlupa
Sucat, Muntinlupa, Metro Manila

Computer Engineering

CPE3 Wednesday 1:00-4:00 PM Virtual Meet

Section Day Time Room

COEN3212: Programmable Logic Control, Robotics and


Mechatronics Applications

Machine Problem No. 1


Digital Logic Functions

January 26, 2022 February 2, 2020


Date Performed Date Submitted

Remarks Grade

SURNAME, First Name.


BSCpE / 3rd Year

Engr. Cyd Laurence B. Santos, Meng-COE


Instructor
MECHATRONICS SYSTEMS

Activity No. 1

DIGITAL LOGIC FUNCTIONS

I. OBJECTIVES:

1. To familiarize the students with how the basic gates operate.


2. To let the students know the basic connections involved in ladder diagrams.

II. DISCUSSION:

Ladder diagrams are specialized schematics commonly used to document industrial


control logic systems. They are called “ladder” diagrams because they resemble a
ladder, with two vertical rails (supply power) and as many “rungs” (horizontal lines) as
there are control circuits to represent.

All digital equipment, simple or complex are constructed from the basic circuits. These
circuits are called logical elements. Logic element performs some specific functions as
binary data.

The three basic decision-making logic elements are the AND gate, the OR gate and
the INVERTER. All other digital elements and circuits are variations or combinations of
just these three basic elements.

The simplest form of digital circuits is the INVERTER or the NOT gate. The INVERTER is a
logic element whose output is always opposite of its input state. If the input is a binary
0, the output is binary 1, the output is a binary 0. We say that the inverter has an
output complement of the input. The binary states 1 and 0 are considered to be
complementary.

The AND gate is a logic circuit that has two or more inputs and a single output. The
operation of the gate is such that the output of the gate is a binary 1, if all the inputs
are binary 1. If any or more inputs are at binary 0, the output will be a binary 0. The
AND gate is a control circuit whose output is a binary 1 only when all inputs to the
gate are in binary 1 state at the same time.

The other basic logic element is called an OR gate. Like AND gate it can have two or
more inputs and a single output. Its operation is such that the output is a binary 1 if
any one or more inputs are at binary 1. The output is binary 0 only when both inputs
are binary 0.
MECHATRONICS SYSTEMS

III. EXPERIMENT PROCEDURES:

1. Construct the following ladder diagrams and complete the truth table needed for the
section IV. Save the program as DIGITAL_LOGIC

2. Insert New Section and name it depending what function is being simulated in each
section.

OR_FUNCTION

• Make Input A as address 1, input B as address 2 and output lamp as address 3.

AND_FUNCTION

• Make Input A as address 1, input B as address 2 and output lamp as address 3.

NOT_FUNCTION

• Make Input A as address 1, and output lamp as address 2.


MECHATRONICS SYSTEMS

NAND_FUNCTION

• Make Input A as address 1, input B as address 2 and output lamp as address 3.

NOR_FUNCTION

• Make Input A as address 1, input B as address 2 and output lamp as address 3.


MECHATRONICS SYSTEMS

XOR_FUNCTION

• Make Input A as address 1, input B as address 2 and output lamp as address 3.

CR_FUNCTION

• Make Input A as address 1, CR as address 2

ORTONAND_FUNCTION

• Make Input A as address 1, input B as address 2 and CR1 as address 3 and output
lamp as address 4.
MECHATRONICS SYSTEMS

IV. DATA AND RESULTS

OR_FUNCTION

A B Output
0 0
0 1
1 0
1 1

AND_FUNCTION

A B Output
0 0
0 1
1 0
1 1

NOT_FUNCTION

A Output
0
1
MECHATRONICS SYSTEMS

NAND_FUNCTION

A B Output
0 0
0 1
1 0
1 1

NOR_FUNCTION

A B Output
0 0
0 1
1 0
1 1

XOR_FUNCTION

A B Output
0 0
0 1
1 0
1 1
MECHATRONICS SYSTEMS

CR_FUNCTION

A Output
0
1

ORTONAND_FUNCTION

A B Output
0 0
0 1
1 0
1 1

V. OBSERVATION

VI. CONCLUSION
MECHATRONICS SYSTEMS

IV. DATA AND RESULTS


MECHATRONICS SYSTEMS

V. OBSERVATION

Discuss the flow of the source code, the syntax and the theoretical concept if there are any
involved in the input/sensors/output devices used for the experiment. You may also indicate here
the problems and knowledge acquired during when performing the procedures of the
experiment. You may also include figures and references within this section [1].

VI. CONCLUSION

Discuss if you were able to achieve the objectives indicated in the experiment. Include
recommendations and discussion on what particular field or application you could use the
knowledge acquired in this experiment. You may also include figures and references within this
section [2].

References (IEEE Format)

[1] D. Russell, Introduction to embedded systems: Using ANSI C and the arduino development
environment. San Rafael, CA: Morgan & Claypool, 2010.

[2] H. Susilawati, T. A. Wiharso, T. M. Hidayat, A. F. Ikhsan, and A. Rukmana, “Information of parking


place availability through the use of proximity inductive sensor based on IoT,” J. Phys.
Conf. Ser., vol. 1402, no. 3, p. 033095, 2019.

You might also like