Instructor Laboratory Manual Basic PLC Trainer
Instructor Laboratory Manual Basic PLC Trainer
Application ................................................................................................................... 7
FEATURES
Comprehensive platform for teaching PLC
concepts and application
Stand-alone operation
User-friendly interface
Incorporates safety features
Graphical representation of the circuit for
convenient connection purposes.
Page |1
COMPONENTS AND FUNCTIONS
PLC. The PLC serves as the core component for managing various control operations,
including motor control, sensor input processing, and output management, through ladder logic
programming.
Circuit Breaker. It acts as a safety device that automatically interrupts the electrical
circuit when the current exceeds a predetermined threshold, preventing damage to the PLC,
Pushbutton. The pushbuttons serve as input devices that allow users to interact with
Emergency Stop Switch. The emergency stop pushbutton in the Basic PLC Trainer is
a crucial safety feature designed to immediately halt all operations in the system in the event
Page |2
Magnetic Contactor. It acts as an electrically controlled switch that opens and closes
the power circuit, allowing the PLC to remotely control the start and stop functions of the motor
or other connected devices.
Relays. The relay in the Basic PLC Trainer functions as an electrically operated switch,
allowing the PLC to control multiple circuits with different voltage levels.
Timers. In the Basic PLC Trainer, their function is to introduce controlled time delays
into processes.
Indicator Lamps. The indicator lamps in the PLC trainer provide essential visual
feedback to users, indicating the operational status of various laboratory experiments.
Limit Switch. In a pressurized water tank laboratory, the limit switches act as binary
input devices for the PLC to manage water levels.
Linear Actuator. The actuator moves in a straight line, opening or closing the valve
based on signals from the PLC.
Color Sensor. In a basic PLC trainer, a color sensor is typically used to detect the
color of an object and provide this data as an input to the PLC.
Terminal Block. In a PLC trainer, its main purpose is to organize and facilitate safe,
reliable wiring by providing a secure and easy-to-manage interface for connecting wires.
Human Machine Interface. In a PLC trainer, its main purpose is to provide real-time
monitoring and control of the process being simulated or controlled by the PLC.
Motor Starter. The motor starter in the Basic PLC Trainer is essential for safely
starting and stopping the electric motor while controlling its power supply according to the
PLC's programmed logic.
Power Supply Switch. To control the power supply to the PLC trainer, allowing users
to easily turn it on or off as needed.
Single Phase Induction Motor. The function of the single-phase motor in the Basic
PLC Trainer is to serve as the output for various laboratory experiments.
Page |3
CIRCUIT DIAGRAM
The diagram shows the detailed circuit structure of a Basic Programmable Logic Controller
(PLC) Trainer, demonstrating how each component is represented by different variables that
relate to their functions inside the system. The PLC is key to this system, serving as the
principal command source for the complete trainer configuration. Furthermore, the figure
highlights the integration of a reliable power supply system that powers all components, with
particular consideration given to those that require variable voltage levels. For example,
converters are used to accept components with lower voltage ratings, such as the 24V DC
power supply required for various sensors and actuators, as well as to supply the appropriate
voltage to the PLC itself. This thorough arrangement not only improves the PLC Trainer's
Page |4
TECHNICAL SPECIFICATIONS
These specifications are designed to meet the needs of educational institutions and
training programs that focus on electrical engineering and automation. They provide a thorough
insight into the trainer's design, components, performance characteristics, and the types of
exercises and experiments it supports. The machine consists of:
● Supply: 220VAC
● Inputs: 27 pts
● Outputs: 17 pts
2. Circuit Breaker
● Rating: 15 A, 2 Poles
4. Push Button
● 22mm, NC 10A
6. Magnetic Contactor
Page |5
● 3P Setting: 4-6A
8. Indicator Lights
9. Linear Actuator
● Supply: 24VDC
14. Dimensions
● Size: Compact and portable design suitable for classroom or laboratory use.
LIST OF ACCESSORIES
● Wires (For User Wiring: 18AWG Stranded, For Motor Wiring: 14 AWG Stranded)
● Terminal Lugs, DIN Rails, Plug, Cable Rails, and other accessories.
Page |6
APPLICATION
This section covers the download and usage of GX Works 2 and Kinco Dtools V4.4.0,
essential software for the PLC Trainer's control system. GX Works 2, a tool from Mitsubishi
Electric, supports programming and maintenance, while Kinco Dtools V4.4.0 is used for
designing interfaces and programming HMI controls. These programs allow students to
simulate motor control processes and PLC applications, providing a hands-on learning
1. Disable any antivirus software on your computer and turn off Windows Defender
Page |7
3. Click the file “GX Works 2 Version 1.560j” folder.
Page |8
5. Click “Next” to continue the software installation.
Page |9
7. You can choose whether to install extra GX-Developer applications.
P a g e | 10
8. Choose Destination Location.
P a g e | 11
10. Select Install to install Device.
P a g e | 12
PROCEDURE TO INSTALL KINCO DTOOLS V4.4.0:
1. Disable any antivirus software on your computer and turn off Windows Defender
2. Copy the software from the USB and proceed to extract the software.
P a g e | 13
4. Accept the license agreement and choose next
5. Choose Next
P a g e | 14
6. Select the software installation directory
P a g e | 15
8. Wait for the installation process to take place in a few minutes until the installation
process is completed.
P a g e | 16
BEFORE THE EXPERIMENT
The Basic PLC Trainer is designed with modular components, including relays, timers,
and contactors, which can be easily detached from the DIN rails to accommodate various
configurations based on the user’s preferences. This flexibility allows users to customize
the setup according to specific learning objectives or experimental requirements. To
remove a module, grasp the handle located at the back of the component, ensuring a secure
grip to prevent any accidental drops or damage.
To safely operate the Basic PLC Trainer, plug it into a suitable power source and turn
on the power supply switch on the panel to start the system. After the experiment, press the
emergency button to stop activities, then switch off the power supply and disconnect the
machine. Moreover, it is crucial to know the supply specifications of each component.
Components requiring DC power must be connected to the 24V DC supply, while those
needing AC power should be connected to the 220V AC supply. Mixing these connections
can cause damage and unsafe operation.
Electrical Engineering has a rule to always check your connections first before
energizing. In this laboratory trainer, a multimeter will be used to verify the connections made
in this machine. The below discussions show the guideline on how to use the aforementioned
electrical devices.
P a g e | 17
CONTINUITY TESTING
Turn on the clamp meter with the mode of Ω and set to Continuity test or Buzzer mode
with a symbol of using SEL/NCV button. Then use the prongs to plug in the L1 and L2
terminals and test the circuit. When there is a buzzer sound meaning the circuit is shorted or
there is a wrong connection. The circuit is correct when there is no buzzing sound.
P a g e | 18
Device Name Type Function
C Counter A counter
Data storage in the PLC in which you can store things like
D Data Register
measured values and the results of calculations.
P a g e | 19
The Normally Open (NO) contact symbol
represents a contact that is open when the
condition is false and closed when the
condition is true.
The Normally Closed (NC) contact symbol
represents a contact that is closed when the
condition is false and open when the
condition is true.
An OR operation is logically the same as
the parallel connection of multiple switches
in an electrical circuit.
The Output Coil symbol activates the
output when the input condition is true and
deactivates it when the condition is false.
SET instructions can be used to use a brief
switching pulse to switch an output or relay
on (set) and leave them on.
P a g e | 20
CREATING LADDER DIAGRAM: A COMPREHENSIVE GUIDE FOR GX WORKS2
P a g e | 21
2. Open Ladder Editor
Once the project is created, the main screen will open, a blank ladder
editor window will open.
The image below is the zoomed toolbar where the contacts, output coil,
and line icons are placed.
Click in the ladder editor where you want to place the contact.
A prompt will appear to address the contact. Input the contact address
P a g e | 22
Click on the Output Coil icon in the toolbar (symbolized by open and
close parenthesis)
Click to place the output coil at the right side of the rung.
A prompt will appear to address the output coil. Input the output address
P a g e | 23
5. Insert an Brach Contact Element:
In the ladder editor window, click under the contact element that requires a
To insert a timer, click on the Output Coil icon in the toolbar (symbolized
Click to place the output coil at the right side of the rung.
P a g e | 24
A prompt will appear to address the output coil. Type T (for Timer),
address the timer with a unique address (e.g., T1 for Timer 1 and K50 for
Click to place the output coil at the right side of the rung.
A prompt will appear to address the output coil. Type C (for Counter),
address the timer with a unique address (e.g., C1 for Counter 1 and K10
P a g e | 25
Here is the Output Coil icon:
Input Contacts (X): Inputs such as switches, push buttons, and sensors are
Output Coils (Y): Outputs such as relays, motors, or actuators are addressed as
Timers (T): Timers used for delays are addressed as T0, T1, T2, etc.
From inserting the element (contact, coil, timer, or counter), select comment
icon at the left side of the prompt window. Then click OK.
In the comment box, write a description or label for the element (e.g., "Start
P a g e | 26
Here is the Device comment icon:
To view comment, select View, from the dropdown click the Comment.
The comment will now appear next to the addressed element, helping you or
P a g e | 27
Comments can be viewed
Click on Compile in the toolbar to check for any errors and select Build to
P a g e | 28
After successfully compiling, go to Project and select the Save button icon to
Rename the file and choose your desired location of the file.
P a g e | 29
11. Simulate and Download to PLC
Click on Debug or the simulation icon in the toolbar and run the simulation
P a g e | 30
12. Uploading to PLC
Connect your computer to the PLC using the appropriate communication cable.
Click on Online > Write to PLC to download the ladder program to the PLC
and follow the prompts to complete the download process.
P a g e | 31
Click Execute to completely upload the ladder diagram into PLC.
P a g e | 32
A COMPREHENSIVE GUIDE FOR KINCO DTOOLS V4.4.0 CONFIGURATION
● Make sure you have the Mitsubishi GX Works or any other Mitsubishi PLC
● Go to File > New Project. Create a project name and select the HMI model
“GL070” you are using from the list. Then, click OK to create the new
project.
P a g e | 33
3. Configure Communication Settings Between HMI and PLC:
● Edit the Communication Parameters Set from the System Parameters Set
● Then click the Advanced Settings. Edit the values similar to the input values
P a g e | 34
4. Selecting the PLC Model:
● From the graph element window, go to PLC select Mitsubishi Series, then
Mitsubishi FX3G. DRAG the device into the screen.
● From the connector list, get a serial port then connect the Com0 of the HMI
with the PLC, as shown in the image below.
P a g e | 35
● After completing the procedure, the PLC and HMI are now connected.
Proceed with the creation of the HMI interface. Go to Window > HMI Edit
window.
P a g e | 36
● In the Component Library, select the Bitstate Switch and DRAG it onto the
HMI screen and arrange it in your preferred location.
● In the Bit Address section, set the address of the bit you want to control in the
PLC (for example, X for Mitsubishi PLC).
● In the Bit State Switch section, set the switch type to Set 1 Pulse, and the
pulse width to 1 as shown below.
P a g e | 37
● You can also customize the appearance through the Graphics section.
v
1
P a g e | 38
6. Configure Lamp Component:
● In the Component Library, select the Lamp and DRAG it onto the HMI
screen. Arrange it in your preferred location.
P a g e | 39
● In the Bit Address section, enter the address of the bit you want to monitor
(for example, Y for Mitsubishi PLC).
● You can also customize the appearance of the lamps in Graphics section.
v
1
P a g e | 40
7. Configure Number Display:
● In the Component Library, select the Number Display and drag it onto the
HMI screen.
● In the Register Address section, input the address of the register you want to
● Set the Data Type (e.g., 16-bit integer, 32-bit integer, or floating-point)
P a g e | 41
8. Download the Project to HMI:
● Select the correct port (USB) and download the project to the HMI.
● After downloading the project, test the HMI in conjunction with the
Mitsubishi PLC.
● Check if the Bitstate Switch properly toggles the corresponding bit in the
PLC.
● Ensure that the Lamp displays the correct status of the bit.
● Verify that the Number Display shows the correct values from the PLC
registers.
P a g e | 42
LABORATORY EXPERIMENTS
(SINGLE PHASE)
DISCUSSION
In this experiment, students will learn how to use a Basic Programmable Logic
Controller (PLC) Trainer to implement a start-stop motor control operation. This fundamental
control operation is essential for understanding how industrial motors are managed and
controlled in various applications. The experiment highlights the activation and deactivation of
the motor. Once the push button for starting is pressed, the motor should start and run.
Conversely, the motor should stop working as soon as the stop push button is pressed.
OBJECTIVES
Develop a start stop motor control ladder diagrams and enhance understanding of
wiring and programming in motor control systems.
Operate the motor using pushbuttons, an HMI interface, and a Programmable Logic
Controller (PLC) to control its activation and deactivation.
Verify the motor's response to start and stop commands to ensure proper operation
according to the programmed logic.
MATERIALS
Terminal Motor Starter Pushbutton Single Phase
Block Motor
P a g e | 43
PROCEDURE: Ladder Diagram for Start-Stop Motor Control Operation
Click the "open contact" icon, which will represent the start button, and place
this icon in the first rung and set the address to X0.
Click the "close contact" icon and place it beside the open contact icon in the
Click the "application instruction" icon at the end of the first rung and set the
P a g e | 44
4. Add Latching Mechanism:
Below the open contact icon in the first rung, add an "open branch" icon and set
5. The ladder diagram of the Start-Stop Motor Control Operation was shown below.
Connect the 220V (black) supply to the AC (red) terminal block. Connect the
220V (red) supply to the AC (blue) terminal block. Connect the 0V PLC supply
DC (blue) terminal block. Connect the 24V PLC supply to Sink/Source (S/S) of
the PLC.
Connect the Green Normally Open Push Button (black) to DC (blue) terminal
P a g e | 45
3. Stop Push Button Wiring:
the PLC. Connect the Red Normally Open PB (red) to X1 of the PLC.
4. Motor Wiring:
Connect the 220V (black) supply to the 1/L1 of the contactor and (red) supply
terminal block. Connect the AC (red) terminal block to Y0. T1 contact to the
Note: The motor connections will use the terminals Z1, U1, Z2, and U2.
P a g e | 46
5. The wiring diagram of the Start-Stop Motor Control Operation was shown below
P a g e | 47
PROCEDURES: Operating the HMI
Edit the created ladder diagram, insert a new rung to the top, with an open
● Open the GX Works software to begin programming the PLC ladder diagram.
Note: Select FXCPU for PLC series and FX3G/FX3GC for CPU Type, then click OK to
P a g e | 48
2. Create the Ladder Diagram
● Design the ladder diagram for the start-stop motor control operation. Once the
pushbutton for starting was pressed, the motor should start and run. On the other
hand, the motor should stop working as soon as the stop push button was
pressed.
● The ladder diagram for this experiment is shown in the ladder diagram
procedure.
● Check for any loose connections or short circuits to ensure safe operation.
● After completing the continuity test and confirming all connections, turn on the
trainer.
● Connect the PLC to the laptop via the USB port. Check the connection
● Confirm that the PLC is not in running mode before proceeding to the next step.
● Check only the applicable data (PLC Data Parameter) before proceeding.
P a g e | 49
● Execute the upload to transfer the ladder diagram to the PLC.
● Open Kinco DTools and follow the configuration procedure to connect the HMI
● Create the HMI interface, adding all the inputs and outputs from the ladder
● Set the port to USB and download the HMI program to the HMI device.
9. Operational Testing
After wiring and programming, test the system using manual pushbuttons first.
Press the start button to initiate the first operation, and press the stop button to
initiate the second operation. Examine the experiment’s operation outcome and
Then test motor control via the HMI interface to ensure proper operation.
Press the start button on the HMI display to initiate the first operation, and press
the stop button to initiate the second operation. Observe the operation of the
experiment and write your findings in the data and results table.
P a g e | 50
Notes:
● Double-check all wiring connections before powering the system to prevent damage.
In an emergency, immediately press the Emergency stop located at the left side of the
● Always verify that the PLC is in the correct mode (Stop/Run) before uploading or
downloading programs.
Manual Operation
P a g e | 51
ANALYSIS
1. What happened when you pressed the start push button? What was the response of the
When the start push button was pressed, the motor immediately began to
operate, indicating that the PLC successfully executed the command as per the
ladder logic program. This action showed that the electrical connections
between the push button, PLC inputs, and the motor were correctly configured,
allowing the motor to receive power and start running. On the other hand, when
the stop push button was pressed, the motor halted its operation without any
delay. This response confirmed that the stop command was correctly processed
by the PLC and that the output controlling the motor was deactivated as intended
2. What steps did you take to troubleshoot if the motor did not stop after pressing the stop
button?
● If the motor did not stop upon pressing the stop button, several systematic
troubleshooting steps were followed to identify and resolve the issue. First, the
wiring connections were thoroughly inspected to ensure that the stop button was
properly connected to the designated PLC input terminal (X1) and that there
were no loose or disconnected wires that could interrupt the signal transmission.
Next, the ladder diagram was reviewed to verify that the stop button was
the stop function to work correctly. Additionally, the functionality of the stop
button itself was tested using a multimeter to check for continuity and confirm
P a g e | 52
potential causes and identify the issue, allowing for effective resolution and
3. How effective is the manual push button in comparison to utilizing the HMI interface?
What are the differences in user preference and ease of operation between controlling
The manual push button is highly effective for basic operations such as starting
and stopping the motor, offering a direct and immediate means of control. It
provides tactile feedback, which many users find easy to use, particularly for
manual push button is limited in its functionality. The HMI interface allows for
screen. This makes the HMI particularly useful for complex systems where
preference, manual push buttons are often favored for their simplicity and
reliability, while the HMI is preferred for its flexibility and ability to provide
settings?
equipment, resulting in safe and efficient processes. For students, learning this
P a g e | 53
information is essential for troubleshooting and optimizing motor control
more advanced motor control and automation tasks, which are critical to
industrial settings.
5. How can the knowledge gained from this experiment be applied in real-world
scenarios?
improve safety, and increase operational efficiency. Students can use this
stop functions, which are essential for protecting both personnel and equipment
in dangerous situations. This practical experience equips students with the skills
P a g e | 54
SUPPLEMENTAL ACTIVITY: ENHANCING START-STOP MOTOR CONTROL
In this supplemental activity, students will design and implement a start-stop motor
control system that incorporates indicator lights to enhance the user experience and provide
visual feedback about the motor's operational status. This scenario simulates a simple
students to explore the integration of control systems and visual indicators. The objective is to
create a control system where the motor starts when the start button is pressed and stops when
the stop button is pressed. To improve the functionality of the system, students will integrate
two indicator lights into their circuit. A green light will illuminate when the motor is running,
signaling that the machine is operational, while a red light will turn on when the motor is
OBSERVATION
During the start-stop motor control experiment, the effective interaction between the
PLC, motor, and manual control mechanisms was observed. The components were carefully
wired according to the schematic diagram, ensuring all connections were secure. When the start
button was pressed, the motor responded promptly, demonstrating that the PLC correctly
processed the input command. The immediate response of the motor validated the functionality
of both the programming and wiring. Activating the stop button halted the motor without delay,
confirming the accuracy of the control logic implemented in the PLC. It was noted that both
the manual push buttons and the Human-Machine Interface (HMI) allowed for effective motor
control, but the HMI provided enhanced user feedback, displaying real-time status and
P a g e | 55
facilitating easier monitoring of motor operations. Overall, this experience emphasized the
importance of precision in both wiring and programming within motor control applications.
CONCLUSION
The experiment successfully met its objective of demonstrating and verifying the proper
activation and deactivation of a motor through a start-stop control operation. The students were
able to check that the PLC correctly responded to user inputs, as evidenced by the immediate
motor activation upon pushing the start button and the quick interruption of activity when the
stop button was pressed. This clear illustration of the start-stop motor control operation gave
the students significant insights into the practical use of PLC systems in industrial settings.
problem-solving abilities, allowing them to detect and resolve potential difficulties in motor
control circuits. Additionally, the knowledge obtained from this experiment not only
established their theoretical understanding from class, but it also gave real experience that will
P a g e | 56
LABORATORY ACTIVITY 2: BASIC PLC OPERATION: FORWARD-REVERSE
DISCUSSION
capabilities of a motor system in both forward and reverse directions. This assessment focused
on verifying whether the motor could effectively start and change its rotational direction upon
command. During the experiment, the forward command initiated the motor's rotation in the
forward direction, demonstrating its ability to perform this function promptly. Subsequently,
activating the reverse command caused the motor to cease forward rotation swiftly and
transition smoothly into reverse rotation. By mastering the concepts of forward and reverse
motor control through hands-on experimentation, students gained valuable skills essential for
OBJECTIVES
Design and create a ladder diagram for managing motor operation in both forward and
reverse directions.
Test the control system for consistent motor performance in both directions.
P a g e | 57
MATERIALS
Programmable
Logic
Controller
I/O: 3/4
Click the "open contact" icon and set the address to M8002. Add a "coil" icon
at the end of the first rung and set the address to [MOV K0 D8120]
Click the "open contact" icon and place it in the second rung. Add another "close
contact" icon beside the reverse contactor in the second rung. Create a rung
based on the image below, incorporating an open contact and an output coil.
P a g e | 58
3. Design Third Rung for Reverse Operation:
Create a new rung for the reverse operation based on the image below,
accordingly.
Create a new rung for the main contactor based on the image below,
accordingly.
P a g e | 59
5. The ladder diagram of the Forward-Reverse Motor Control Operation was shown
below.
Connect the 220V (black) supply to the AC (red) terminal block. Connect the
220V (red) supply to the AC (blue) terminal block. Connect the 0V PLC supply
to the DC (blue) terminal block. Connect the 24V PLC supply to the ink/source
Connect the Green Normally Open (red) push button to X0 of the PLC. Connect
the Green Normally Open (black) push button to the DC (blue) terminal block.
P a g e | 60
3. Reverse Push Button Wiring:
Connect the Red Normally Open (red) push button to X1 of the PLC. Connect
the Red Normally Open (black) push button to the DC (blue) terminal block
Connect the E-Stop Normally Open (NO) push button to X2 of the PLC.
Connect the E-Stop Normally Open (NO) push button to the DC (blue) terminal
block.
and A2 to the AC (blue) terminal block. Connect 220V positive supply to 1/L1
(blue).
1/L1 and 1/L1 of the second contactor (forward) to 3/L2 of the third contactor
P a g e | 61
6. The wiring diagram of the Forward-Reverse Motor Control Operation was shown
below
P a g e | 62
PROCEDURES: Operating the HMI
Edit the created ladder diagram, insert a new rung to the top, with an open
● Open the GX Works software to begin programming the PLC ladder diagram. Go
Note: Select FXCPU for PLC series and FX3G/FX3GC for CPU Type, then click OK to
P a g e | 63
2. Create the Ladder Diagram
● Design the ladder diagram for the forward-reverse motor control operation. Once
the push button for forward operation is pressed, the motor should start and run in
first be stopped. Then, when the push button for reverse is pressed, the motor should
start and run in a counter-clockwise direction. Additionally, the motor should stop
● The ladder diagram for this experiment is shown in the ladder diagram procedure.
● Check for any loose connections or short circuits to ensure safe operation.
● Once the continuity test is complete and all connections are verified, power on the
trainer.
P a g e | 64
6. Upload the Ladder Diagram to the PLC
● Connect the PLC to the laptop via the USB port. Check the connection destination
● Confirm that the PLC is not in running mode before proceeding to the next step.
● Check only the applicable data (PLC Data Parameter) before proceeding.
● Open Kinco DTools and follow the configuration procedure to connect the HMI
● Create the HMI interface, adding all the inputs and outputs from the ladder diagram
Set the port to USB and download the HMI program to the HMI device.
P a g e | 65
9. Operational Testing
After wiring and programming, test the system using manual pushbuttons first.
Press the forward button to initiate the first operation. Press the reverse button to
initiate the second operation. Examine the experiment's operation outcome and
Then test motor control via the HMI interface to ensure proper operation.
Press the forward button on the HMI display to initiate the first operation. Then
Observe the operation of the experiment and write your findings in the data and
results table.
Notes:
● Double-check all wiring connections before powering the system to prevent damage.
In an emergency, immediately press the Emergency stop located at the left side of the
● Always verify that the PLC is in the correct mode (Stop/Run) before uploading or
downloading programs.
P a g e | 66
DATA AND RESULTS
Manual Operation
P a g e | 67
ANALYSYS
1. When switching from forward to reverse motor operation (using push button X1), what
observations did you make regarding the motor's response? Was there any noticeable delay
or smooth transition?
When the students switched from forward to reverse motor operation using push
buttons, they noticed that the motor responded immediately to the input. There was
no obvious delay in the transition, which highlighted the efficiency of the control
system implemented. When the forward button was pressed, the motor smoothly
2. Explain the role of Y0 and Y1 in the ladder logic program for forward and reverse
motor control. How did these outputs affect the operation of the motor?
In the ladder logic program, Y0 and Y1 serve essential functions in controlling the
forward motor operation, while Y1 is designated for reverse operation. When the
forward push button (X0) is pressed, it activates Y0, which initiates the motor to
run in the forward direction. Moreover, pressing the reverse push button (X1)
3. Compare and contrast the reliability of motor operation between forward and reverse
commands. Were there any instances where the motor did not respond as expected?
P a g e | 68
discovered that the motor consistently responded to both orders as expected,
indicating a high level of reliability. However, they did notice that the motor
had a little delay during directional shifts due to the mechanical inertia that
comes with its operation. This small delay had no major impact on overall
determined that the system was reliable, with few discrepancies discovered
during testing, indicating that the control logic was effective in managing the
4. Compare the ease of operation between using the HMI (Human Machine Interface)
control and manual pushbutton control for initiating forward and reverse motor operations.
● The students discovered that operating the motor through the HMI (Human
it easy for users to engage with the motor controls. Initiating forward and
reverse commands through the HMI required less effort, resulting in faster and
when frequent direction changes were required. The visual input supplied by
the HMI regarding the motor's status improved the user experience by allowing
P a g e | 69
To increase the performance of the forward-reverse motor control system, the
start and stop features to reduce mechanical stress on the motor during operation,
incorporate more comprehensive control choices that, would increase users' greater
reverse control by focusing on an actuator output within a practical scenario involving a robotic
arm. The activity simulates the arm’s movement to deliver materials forward to a specific
location and retrieve them back in reverse. Students will first assemble the basic forward-
reverse control circuit to operate the actuator. By pressing the forward button, the actuator will
extend to move materials, and pressing the reverse button will retract the actuator, bringing the
P a g e | 70
OBSERVATION
During the forward-reverse motor control operation experiment, students observed the
motor's immediate response to the ladder logic program and HMI interface, confirming
successful command execution. The motor transitioned smoothly to reverse after using the
emergency stop button, demonstrating consistent operation without delays. The HMI interface
enhanced monitoring and control by providing clear visual feedback on the motor's status,
while the emergency stop button ensured safety throughout the experiment.
CONCLUSION
students concluded they achieved the primary objectives of designing, programming, and
testing a control system for motor operations in both directions. The experiment demonstrated
Interface (HMI) for motor control, with the motor responding accurately to both manual
pushbutton and HMI commands. This enhanced their understanding of the relationship
between programming logic and hardware components. Additionally, the importance of safety
measures, such as the emergency stop button, was emphasized for safe operation in industrial
settings. Overall, the experiment reinforced their knowledge and provided practical skills
P a g e | 71
LABORATORY ACTIVITY 3: TIMER APPLICATION IN PLC FOR STOPPING A
MOTOR
DISCUSSION
Timers are vital in automation systems for facilitating delays and timed operations
essential for coordinating industrial tasks. Internal PLC timers are programmed within the PLC,
using the system clock and scan cycles for precise control of operations like setting time delays
and managing motor activity duration. In contrast, external timers are independent devices that
connect to the PLC or motor control circuits, offering timing capabilities without burdening
the PLC's processing power. In this laboratory activity, students will gain hands-on experience
in controlling a motor's running time using both internal and external timers, allowing them to
OBJECTIVES
Design and construct a functional PLC-based program that integrates a timer, both an
internal PLC timer and an external timer device, for stopping a motor at a predetermined
time.
Compare and contrast the distinct characteristics of an external and internal PLC timers.
P a g e | 72
PART 1: INTERNAL PLC TIMER APPROACH
MATERIALS:
Programmable
Logic
Controller
I/O: 2/2
Create a rung based on the image below, incorporating an open contact and an
Create a rung based on the image below, incorporating a falling pulse contact
P a g e | 73
3. Create and insert the third rung:
Create a rung based on the image below, incorporating an open contact and
timer output coil with a data register. Address each element accordingly.
Create a rung based on the image below, incorporating a timer open contact and
an instruction output coils for resetting the output. Address each element
accordingly.
Create a rung based on the image below, incorporating an open contact and an
instruction output coil representing the present value for the timer. Address each
element accordingly.
P a g e | 74
6. The image below shows the whole ladder diagram of the Internal Timer Application in
Note: The motor connections will use the terminals Z1, U1, Z2, and U2.
P a g e | 75
5. The image below depicts the wiring diagram of the Internal Timer Application in PLC
P a g e | 76
PROCEDURES: Operating the HMI
Edit the created ladder diagram, insert a new rung to the top, with an open
● Open the GX Works software to begin programming the PLC ladder diagram.
P a g e | 77
Note: Select FXCPU for PLC series and FX3G/FX3GC for CPU Type, then click OK
● Design the ladder diagram for motor control using an internal timer in the PLC
● The ladder diagram used in this experiment was shown in the ladder diagram
procedure.
3. Wiring of Components
● Make sure the trainer is turned off before beginning any wiring.
● Connect the components as shown in the actual wiring diagram, including the
● Look for any loose connections or short circuits to ensure safe operation.
● After completing the continuity test and confirming all connections, turn on the
trainer.
● Connect the PLC to the laptop via USB port. Check the connection destination
● Confirm that the PLC is not in running mode before proceeding to the next step.
P a g e | 78
● Check only the applicable data (PLC Data and Parameter) before proceeding.
● Open Kinco DTools and follow the configuration procedure to connect the HMI
● Create the HMI interface, adding all the inputs and outputs from the ladder
● Set the port to USB and download the HMI program to the HMI device.
9. Operational Testing
● After completing the wiring and programming, test the experiment by first using
● Press the start push button to initiate the first operation. After then, examine the
● experiment's operation outcome and record your observations in the data and
results table.
● Then test the motor control using the HMI interface to ensure proper operation.
● Press the start push button on the HMI display to initiate the first operation.
After observing the result of the experiment, note your findings in the data and
results table.
P a g e | 79
Notes:
● Double-check all wiring connections before powering the system to prevent damage.
In case of an emergency, immediately press the Emergency stop located at the left side
● Always verify that the PLC is in the correct mode (Stop/Run) before uploading or
downloading programs.
Manual Operation
P a g e | 80
ANALYSIS
1. How does the internal timer's preset value affect the duration for which the motor
● The internal timer's preset value determines how long the motor runs before
stopping. A higher preset value extends the motor's operating time, while a
2. What role does the HMI play in the timer-based motor control system, and how does it
control and monitoring of the timer and motor settings. Unlike a manual push
button, which only provides simple on/off control, the HMI can adjust timer
● Internal timers automate motor operations by reducing the need for manual
P a g e | 81
SUPPLEMENTAL ACTIVITY: IMPLEMENTING INTERNAL PLC TIMER
In this supplemental activity, students will focus on implementing an internal PLC timer
application to control the starting of a motor, incorporating indicator lights for visual feedback.
The scenario simulates an industrial setup where a motor operates a conveyor system that needs
to start automatically after a predetermined delay, allowing for precise control over production
processes. Students will begin by wiring a basic motor control circuit that includes a start button
to manually initiate the motor and a timer that will activate the motor after a set duration (e.g.,
10 seconds). Once the timer is started, it will count down the specified time, and when it reaches
zero, it will automatically trigger the motor to start, engaging the conveyor system.
OBSERVATION
The internal PLC timer approach offers a highly efficient method for automating time-
based operations, such as motor control. By setting a precise preset value, the timer ensures
consistent operation durations without the need for manual intervention. This not only enhances
system accuracy but also improves reliability by reducing human error. Additionally,
integrating the timer with an HMI allows for real-time adjustments and monitoring, providing
greater control and flexibility over the system's operation. Overall, the use of internal PLC
environments
P a g e | 82
PART 2: EXTERNAL TIMER APPROACH
MATERIALS
Programmable Wires
Logic
Controller
I/O: 3/6
● Create a rung based on the image below, incorporating an open contact and an
● Create a rung based on the image below, incorporating a falling pulse contact
P a g e | 83
3. Create and insert the third rung:
● Create a rung based on the image below, incorporating an open contact and an
output coil represents the external timer. Address each element accordingly.
● Create a rung based on the image below, incorporating a timer open contact and
an instruction output coils for resetting the output. Address each element
accordingly.
5. The image below presents the ladder diagram of the External Timer Application in PLC
P a g e | 84
PROCEDURES: Actual Wiring of the External Timer Approach
Connect the 220V black supply to the AC (red) terminal block, the 220V red
supply to the AC (blue) terminal block, the 0V PLC supply to the DC (blue)
terminal block, and the 24V PLC supply to the Sink/Source (S/S) of the PLC.
Connect the Green Normally Open Push Button (black) to the DC (blue)
terminal block and the Green Normally Open PB (red) to X0 of the PLC.
Connect the Red Normally Open Push Button (black) to the DC (blue) terminal
4. Motor Wiring:
Connect the 220V (black) supply to 1/L1 and the 220V (red) supply to 3/L2 of
block, and Y0 to the AC (red) terminal block; wire the contactors T1 to U1, T2
Note: The motor connections will use the terminals Z1, U1, Z2, and U2.
5. Timer Connections:
● Connect the 24V (black) supply to terminal 13 of the timer, 24V (red) to Com1
of the PLC, terminal 14 to Y1, terminal 9 to X2, and terminal 5 to the PLC 0V
P a g e | 85
6. The image below shows the wiring diagram of the External Timer Application in PLC
P a g e | 86
PROCEDURES: Operating the HMI
Edit the created ladder diagram, insert a new rung to the top, with an open
● Open the GX Works software to begin programming the PLC ladder diagram.
P a g e | 87
Note: Select FXCPU for PLC series and FX3G/FX3GC for CPU Type, then click OK
● The ladder diagram for this experiment is shown in the ladder diagram
procedure.
3. Wiring of Components
● Make sure the trainer is turned off before beginning any wiring.
● Connect the components as shown in the actual wiring diagram, including the
● Look for any loose connections or short circuits to ensure safe operation.
● After completing the continuity test and confirming all connections, turn on the
trainer.
● Connect the PLC to the laptop via USB port. Check the connection destination
● Confirm that the PLC is not in running mode before proceeding to the next step.
P a g e | 88
● Check only the applicable data (PLC Data and Parameter) before proceeding.
● Open Kinco DTools and follow the configuration procedure to connect the HMI
● Create the HMI interface, adding all the inputs and outputs from the ladder
● Set the port to USB and download the HMI program to the HMI device.
9. Operational Testing
● After completing the wiring and programming, test the experiment by first using
● To begin the first operation, press the start push button. Next, review the
operation outcome of the experiment and note your findings in the data and
results table.
● Then test the motor control using the HMI interface to ensure proper operation.
● To begin the first operation, press the start push button located on the HMI
display. Make a note of your observations in the data and results table after
P a g e | 89
Notes:
● Double-check all wiring connections before powering the system to prevent damage.
In case of an emergency, immediately press the Emergency stop located at the left side
● Always verify that the PLC is in the correct mode (Stop/Run) before uploading or
downloading programs.
Manual Operation
P a g e | 90
ANALYSIS
1. How does the external timer interact with the PLC input/output system?
● The external timer signals the PLC by activating an input when its countdown
2. What is the role of the HMI in controlling the motor with an external timer, and how
does this differ from using a manual push button for timer-based control?
● The HMI offers advanced control and monitoring of the external timer and
3. What are the advantages and limitations of using an internal PLC timer compared to an
● Internal PLC timers simplify integration and system design with greater
precision and operate independently of the PLC, making them useful in certain
specialized applications.
4. In what situations would you prefer an external timer over an internal PLC timer?
P a g e | 91
SUPPLEMENTAL ACTIVITY: CONTROLLING MOTOR START-UP WITH AN
In this supplemental activity, students will focus on utilizing an external timer device
to control the starting of a motor, incorporating indicator lights for visual feedback. The
scenario simulates an industrial setup where a motor operates a conveyor system that needs to
start automatically after a predetermined delay, allowing for precise control over production
processes. Students will begin by wiring a basic motor control circuit that includes a start button
to manually initiate the motor and an external timer device that will activate the motor after a
set duration (e.g., 10 seconds). Once the start button is pressed, the external timer will begin
counting down the specified time. When the timer reaches zero, it will send a signal to the
motor control circuit, automatically triggering the motor to start and engaging the conveyor
system.
CONCLUSION
The experiment comparing internal PLC timers and external hardware timers for
stopping a motor demonstrates that internal timers offer streamlined integration, enhanced
flexibility, and reduced hardware complexity, making them ideal for most automated control
systems. However, external timers provide higher precision and operate independently of the
approaches effectively automate motor control, with the choice between them depending on
P a g e | 92
LABORATORY ACTIVITY 4: SEQUENTIAL LIGHT CONTROL APPLICATION
DISCUSSION
The experiment conducted on the Basic Programmable Logic Controller (PLC) Trainer
focused on showcasing the capability of a PLC to manage the sequential operation of multiple
lights according to predefined timing criteria. This practical exercise utilized ladder diagram
programming, integrating timers and conditional logic to control the sequence of lighting.
Through this experiment, students gained valuable hands-on experience in PLC programming,
OBJECTIVES
Familiarize students with the principles of sequential light control application using
Design and create a ladder diagram for the sequential light control application.
MATERIALS
P a g e | 93
PROCEDURES: Simulation for Sequential Light Control Application
Add the "open contact" icon, and a "coil" icon at the end of the first rung and
set the address to [MOV K0 D8120] just like the figure below.
Add the "open contact" icon and place it in the second rung. Place a "close
contact" icon beside the open contact icon in the second rung. Add the "coil"
icon at the end of the second rung. Address all the contacts according to the
image below.
Add the "open contact" icon for internal relay, a “coil" icon for timer, an “open
contact” for timer contacts and a “coil” icon for lamps. Create a rung based on
the image below, incorporating the said elements, and address them
accordingly.
P a g e | 94
4. Design Fourth Rung to operate Timer for present value (PV):
Add the "open contact" icon and add an " instruction coil" icon at the end of the
rung. Place a parallel rung based on the image below, incorporating other
5. The ladder Diagram of the Sequential Light Control Application was shown below.
P a g e | 95
PROCEDURE: Actual Wiring of Components for Sequential Light Control Application
Connect the 24V supply of the PLC to the Sink/source (S/S), 0V supply of the
PLC to the DC terminal block (blue), 220V (black) supply to the AC (red)
terminal block, Connect the 220V (red) supply to the AC (blue) terminal block.
2. Lamp Wiring:
Connect the red terminal to the corresponding output terminal (Y0 for red, Y1
for green, Y2 for yellow, Y3 for blue). Connect the black terminal to the AC
Connect Com0 of the PLC to the AC (red) terminal block, Com1 of the PLC to
the AC (red) terminal block, and Com2 of the PLC to the AC (red) terminal
block.
Connect the Green Normally Open (NO) push button to X0 of the PLC, and the
Green Normally Open (NO) push button to the DC (blue) terminal block.
Connect the Red Normally Open (NO) push button to X1 of the PLC and the
Red Normally Open (NO) push button to the DC (blue) terminal block
P a g e | 96
6. The wiring diagram of the Sequential Light Control Application was shown below.
P a g e | 97
PROCEDURES: Operating the HMI
Edit the created ladder diagram, insert a new rung to the top, with an open
Open the GX Works software to begin programming the PLC ladder diagram.
P a g e | 98
Note: Select FXCPU for PLC series and FX3G/FX3GC for CPU Type, then click OK to
Design the ladder diagram for the sequential light control application. Once the
start pushbutton is pressed, it activates the corresponding lights which are red,
green, yellow, and blue in a sequence manner as specified by the program where
it followed a specific order and timing dictated by the logic programmed into
The ladder diagram for this experiment is shown in the ladder diagram
procedure.
Check for any loose connections or short circuits to ensure safe operation.
P a g e | 99
5. Power On the Trainer
Once the continuity test is complete and all connections are verified, power on
the trainer.
Connect the PLC to the laptop via the USB port. Check the connection
Confirm that the PLC is not in running mode before proceeding to the next step.
Check only the applicable data (PLC Data Parameter) before proceeding.
Open Kinco DTools and follow the configuration procedure to connect the HMI
Create the HMI interface, adding all the inputs and outputs from the ladder
Set the port to USB and download the HMI program to the HMI device.
P a g e | 100
9. Operational Testing
After wiring and programming, test the system using manual pushbuttons first.
Press the start pushbutton to initiate the first operation, and press the stop
outcome and record your observations in the data and results table.
Then test sequential light operation via the HMI interface to ensure proper
operation.
Press the start button on the HMI display to initiate the first operation, and press
the stop button to initiate the second operation. Observe the operation of the
experiment and write your findings in the data and results table.
Notes:
damage. In an emergency, immediately press the Emergency stop located at the left
● Always verify that the PLC is in the correct mode (Stop/Run) before uploading or
downloading programs.
P a g e | 101
DATA AND RESULTS
Manual Operation
P a g e | 102
Yellow Indicator Lamp 3 YL Timer (Timing Start) RUN
ANALYSIS
1. Describe the sequence in which the lights were activated and deactivated during the
experiment. How did the timing intervals between each light change affect the overall
sequence?
During the experiment, the light sequence of light activation began with the first
lamp (red lamp), which illuminated for the internal timer's preset period. Lamp 1
was turned off after the timer ended, and Lamp 2 was activated, following a similar
pattern for Lamps 3 and 4. This sequential process was executed at preset intervals
determined by the timers, ensuring that each lamp was illuminated in order for
specific time frames before moving on to the next lamp. The timing intervals were
improved the overall design and practical appeal of the light control system. If the
timing intervals were too short, it could create confusion, resulting in light overlap
or an unexpected visual appearance. On the other hand, long gaps can cause
P a g e | 103
sequence delays, reducing the lighting system's desired dynamic flow. Overall, the
controlling each light individually. What are the advantages of using PLC automation in
this context?
The operation of the PLC-controlled sequential light system markedly differs from
have to physically turn on and off each light, which can be inconvenient and prone
succession. However, PLC automation enables exact timing and control over the
light sequence without the need for direct interaction, lowering the possibility of
errors and increasing operating efficiency. Furthermore, the PLC may be set up to
follow complex sequences and respond to changing situations. This level of control
not only improves system reliability but also allows the operator to focus on other
activities rather than manually controlling each light, demonstrating the major
3. How did the use of timers (T0, T1, T2, T3) influence the timing of light activation and
Throughout the experiment, the use of internal timers (T0, T1, T2, T3) was critical
in determining when light was activated and deactivated. Every timer was
clear sequence of actions. For example, T10 was in charge of Lamp 1, while
P a g e | 104
subsequent timers controlled the activation of Lamps 2, 3, and 4. T The
effectiveness of these timers in achieving the desired sequence was evident in the
seamless transitions between lamps, as each timer ensured that a light was
deactivated before the next was activated, adhering to the programmed intervals.
The reliability of the timers not only facilitated the intended lighting sequence but
also demonstrated how timers can be integrated into PLC programming to manage
4. When using the HMI interface against the manual push button, which is more efficient?
What are the differences between using a manual push button system controller and an
manual push button system, it was obvious that the HMI provides more operational
ease and user preference. The HMI provides a visual display that allows users to
monitor and manage the lighting system more easily. Users may quickly check the
condition of each lamp and start the sequence with a single tap of the screen.
However, the manual push button system needs the operator to press each button,
Furthermore, the HMI can include capabilities like as adjustable timers or custom
sequences that are not available with a basic manual setup. As a result, the HMI
interface not only improves the user experience but also simplifies operations,
P a g e | 105
5. What is the significance of understanding PLC programming and ladder logic in the
automation, as these skills are the foundation for modern automated systems. This
experiment offered useful information on how PLCs work and how ladder logic can
professionals in this field, since these abilities are becoming more important in
P a g e | 106
SUPPLEMENTAL ACTIVITY: DESIGNING A LOOPING SEQUENCE FOR
In this supplemental activity, students will design and implement a looping sequence
for controlling a series of indicator lights in a simulated assembly line production process. The
objective of this scenario is to teach students about sequential logic, timing, and automation in
an industrial setting. Students will set up a circuit that includes multiple LED lights, each
representing a different stage in the assembly process, such as "Assembly," "Quality Check,"
and "Packaging." The task is to create a programmable sequence where the lights turn on and
off in a specific order, reflecting the progress of items along the production line, and repeat the
sequence continuously. For example, the "Assembly" light will stay on for 4 seconds,
indicating that items are being assembled. After this, the "Quality Check" light will turn on for
3 seconds, signaling that products are undergoing inspection. Finally, the "Packaging" light
will illuminate for 5 seconds, showing that items are being packaged. Once the packaging is
complete, the sequence will loop back to the "Assembly" light, creating a continuous cycle that
OBSERVATION
The Sequential Light Control Application experiment successfully showed the use of a
Basic Programmable Logic Controller (PLC) to manage the sequential operation of multiple
indicator lamps. During the experiment, students noticed that the lights illuminated in a
predetermined order, first red, then green, yellow, and blue. Each lamp remained illuminated
for a set amount of time, which was programmed into the PLC using timers. The timing
intervals were important for ensuring that each light moved smoothly and without overlap,
P a g e | 107
providing a clear visual sequence. The Human-Machine Interface (HMI) allowed students to
easily start and stop the sequence, showing the practical benefits of automation.
CONCLUSION
The experiment achieved its primary objective of illustrating how a PLC can control
the sequential activation and deactivation of lights using preset timing. The results confirmed
that each lamp illuminated in the proper order, following the logic defined in the ladder
diagram. Timers were useful in maintaining exact control over the timing of each light,
ensuring that transitions went smoothly. Furthermore, the experiment showed the advantages
of using PLC automation over manual control, as it improved reliability and efficiency in
managing complicated sequences. The HMI integration improved user engagement by making
the lighting sequence easier and straightforward. Overall, this experiment not only provided
students with practical experience in programming and troubleshooting PLC systems but also
P a g e | 108
LABORATORY ACTVITY 5: COLOR SENSOR APPLICATION
DISCUSSION
Color sensors are versatile devices capable of detecting both the intensity and specific
color of light reflected from a surface. They find extensive applications in robotics, particularly
in line-following scenarios, where robots navigate along predefined paths. In this lab setup, we
utilize a color sensor to create a paper color detection system integrated with indicator lights
and motor control. The system is initiated by pressing a start button and can be manually halted
using a stop button. Upon detecting different paper colors, the color sensor activates
corresponding indicator lamps, with specific motor control triggered by the detection of a green
paper.
OBJECTIVES
Create a ladder diagram that implement the detection of color sensor into different
Control a motor based on the detected color using the color sensor.
MATERIALS
P a g e | 109
PROCEDURES: Simulation for Color Sensor Application
● Add a normally open (NO) contact for M8002, typically used to reset or
initialize values when the PLC starts. Use the MOV instruction to move a
shown).
● Create a rung based on the image below, incorporating open contacts for the
start buttons, internal relay, and the color sensor contacts for detecting colors as
well as output coil for color sensor output contact. Then address each element
accordingly.
P a g e | 110
3. Input and Timer Logic
● In the next rung, start with the coil M0 that you added previously. Add NO
contacts X001 and X002. Use a timer instruction T10 in the next rung. This
timer will count down and then activate its assigned output.
4. Control Outputs
● Use RST and SET commands to reset and set specific outputs like Y004. Create
instruction output coils for resetting the output. Address each element
accordingly.
● The final rung includes an M8000 and adds a MOV command at the end of the
ladder logic to move the timer value (like T10) to a register such as D200.
P a g e | 111
6. The ladder diagram of the Color Sensor Application was show below:
P a g e | 112
PROCEDURE: Actual Wiring of Components for Color Sensor Application
● Connect the second-to-last terminal of the color sensor to the X1 input on the
PLC and the last terminal of the color sensor to the X2 input on the PLC;
Connect the red terminal of the color sensor to the y10 output on the PLC and
the blue terminal of the color sensor to the 24 VDC black terminal of the power
supply.
● Connect the NO black terminal of the green pushbutton to the DC blue terminal
block and the NO red terminal of the green pushbutton to the X0. Connect the
NO black terminal of the red pushbutton to the DC blue terminal block and the
NO red terminal of the red pushbutton to the X3.
● Connect the red terminal to the corresponding output terminal (Y0 for red, Y1
for green, Y2 for yellow, Y3 for blue). Connect the black terminal to the AC
blue terminal block.
● Connect Com0, Com1, Com2, Com3 and Com4 of the PLC to the AC (red)
terminal block.
5. Motor Wiring:
● Connect the 220V (black) supply to the 1/L1 of the contactor and (red) supply
to the 3/L2 of the contactor. Connect the A1 wire terminal of the contactor to
Y4 of the PLC. A2 wire terminal of the contactor to the AC (blue) terminal
block; Connect the T1 contact of the contactor to the U1 red terminal of the
motor, T2 of the overload relay to 5/L3 of the main contactor, T3 contact of the
contactor to the U2 red terminal of the motor. Connect U2 terminal to Z2
terminal and U1 terminal to Z1 terminal of the motor.
P a g e | 113
6. The wiring diagram of the Color Sensor Application was shown below
P a g e | 114
PROCEDURES: Operating the HMI
Edit the created ladder diagram, insert a new rung to the top, with an open
● Open the GX Works software to begin programming the PLC ladder diagram.
Note: Select FXCPU for PLC series and FX3G/FX3GC for CPU Type, then click OK
P a g e | 115
2. Create the Ladder Diagram
● Design the ladder diagram for the color sensor application, where lamps and
● The ladder diagram for this experiment is shown in the ladder diagram
procedure.
3. Wiring of Components
● Make sure the trainer is turned off before beginning any wiring.
● Connect the components as shown in the actual wiring diagram, including the
● Look for any loose connections or short circuits to ensure safe operation.
● After completing the continuity test and confirming all connections, turn on the
trainer.
● Connect the PLC to the laptop via USB port. Check the connection destination
● Confirm that the PLC is not in running mode before proceeding to the next step.
● Check only the applicable data (PLC Data and Parameter) before proceeding.
P a g e | 116
7. Create the HMI Display Using Kinco DTools
● Open Kinco DTools and follow the configuration procedure to connect the HMI
● Create the HMI interface, adding all the inputs and outputs from the ladder
● Set the port to USB and download the HMI program to the HMI device.
9. Operational Testing
● After completing the wiring and programming, test the experiment by first using
● Press the manual start button and detect a specific color. Observe the operation
of the experiment, and write the findings in the table under data and results.
● Press the start button via HMI display and detect a specific color. Observe the
operation of the experiment, and write the findings in the table under data and
results.
P a g e | 117
Notes:
● Double-check all wiring connections before powering the system to prevent damage.
In case of an emergency, immediately press the Emergency stop located at the left side
● Always verify that the PLC is in the correct mode (Stop/Run) before uploading or
downloading programs.
Manual Operation
P a g e | 118
Integrating HMI Operation
ANALYSIS
1. How does the response time of the system vary with different paper colors?
● The response time of the system can vary with different paper colors depending
on the sensitivity and calibration of the color sensors used in the system. Lighter
or brighter colors, like yellow, may be detected faster due to higher reflectivity,
whereas darker colors, blue, may have slower response times due to lower
reflectivity. Additionally, colors like green or red could have varying detection
2. What is the correlation between the activation of the motor and the detection of a green
paper?
P a g e | 119
● The correlation between the activation of the motor and the detection of green
system, which immediately activates the motor in response. This setup ensures
3. What is the efficiency of the manual stop button (PB2) compared to using the HMI
● The efficiency of the manual stop button (PB2) is typically faster and more
delay. The HMI, on the other hand, involves a series of interactions, such as
While HMI offers more control and monitoring options, the manual stop button
control.
4. How do user preference and ease of operation differ between HMI control and manual
pushbutton control?
● User preference between HMI control and manual pushbutton control varies
based on comfort with technology and task complexity. HMI control offers a
making it ideal for tasks requiring detailed control, although it may involve a
P a g e | 120
learning curve. In contrast, manual pushbutton control is simpler and provides
situations. While pushbuttons are intuitive for quick actions, HMI systems are
5. What is the overall success rate of the system in accurately detecting paper colors and
● The overall success rate of the system in detecting paper colors and controlling
In this supplemental activity, students will explore the practical applications of a color
sensor in an automated sorting system that utilizes indicator lights and actuators for efficient
operation. The scenario simulates a packaging facility where items need to be sorted based on
their color before being packaged for distribution. The color sensor will detect the color of
items passing through a conveyor belt and send signals to the PLC. Based on the detected color,
the PLC will control actuators that will sort the items into designated bins. For example, when
the color sensor detects a red item, the PLC will activate an actuator to push the item into the
"red" bin, while simultaneously illuminating a red indicator light to confirm the sorting action.
Similarly, if a blue item is detected, the actuator will push it into the "blue" bin, with a blue
P a g e | 121
OBSERVATION
In the color sensor activity, it was shown that the system effectively illuminated the
corresponding colored lamp whenever a color was detected. When the sensor identified green,
both the green lamp illuminated and the motor activated simultaneously, indicating a successful
trigger mechanism for the task at hand. In contrast, when the sensor detected red, the red lamp
lit up, and the motor immediately stopped, demonstrating an effective response to halt
operation. This seamless interaction between color detection, lamp illumination, and motor
activation showcased the system's reliable functionality and clear feedback mechanism,
allowing users to easily monitor and understand the status of the operation.
CONCLUSION
In conclusion, the color sensor activity demonstrated a reliable system for color
detection and response. The corresponding lamps illuminated accurately upon detection,
providing clear feedback to users. The motor activated with green detection and stopped with
red detection, showcasing the system's responsiveness and efficiency. Additionally, this
activity helped students enhance their understanding of automation concepts, fostered hands-
P a g e | 122
LABORATORY ACTIVITY 6: ELEVATOR CONTROL APPLICATION
DISCUSSION
The elevator control application using a PLC trainer, such as GX Works 2, provides
students with hands-on experience in automation and control systems, essential for
PLCs, control logic, and safety mechanisms. By simulating an elevator's operation, students
learn to manage inputs and outputs, create ladder diagrams, and implement safety features,
bridging the gap between theoretical knowledge and real-world application. This practical
approach develops critical thinking, problem-solving skills, and prepares students for careers
OBJECTIVES
Demonstrate the operation and control mechanism of a basic elevator system using push
P a g e | 123
MATERIALS
● Create a rung based on the image below, incorporating open contacts and an
instruction output coils for setting and resetting the output. Arrange the elements
● Add contacts X001, M12, M13, and M14 which represent floor selection
buttons and internal conditions. Then add the instruction MOV K1 D1101 to
moves the constant 1 into register D1101. Followed by adding SET M11 that
turns on memory bit M11 and RST M12 resets memory bit M12. Follow the
P a g e | 124
Third Rung:
● Mimics the second rung by adding MOV K2 D1101 output that moves the
constant 2 into D1101. Then add RST M11, SET M12, RST M13 and RST
M14 to control the memory bits for managing different floors. Followed the
image below.
Fourth Rung:
● Similar to third rung, add an output MOV K3 D1101 that moves the constant 3
into D1101. Then add RST M11, RST M12, SET M13 and RST M14 to control
the memory bits for managing different floors. Arrange the elements based on
P a g e | 125
Fifth Rung:
● Lastly, add MOV K4 D1101 output to move the constant 4 into D11, same with
the fourth rung. Then add SET M14 as well as RST M11, RST M12, and RST
M13 to reset the memory bits for the other floors. Follow the arrangement in
Sub Operation:
● Add the input conditions X001, X002, X003, and X004, then add subtraction
instruction SUB. The contents of register D1100 are subtracted from D1101,
and the result is stored in D1102. Arrange the elements based on the image
below.
P a g e | 126
CMP Operation:
met, the next stage of logic (possibly controlling an actuator) will proceed.
MUL Operation:
● Add two MUL instructions present in this diagram, triggered by the M0 and M2
a constant (K50), and the result is stored in D1103. Arrange the elements
Add internal relay M10 and M1 and an output T10 D1103 for the timer
controlling time delays. Then add ZRST Y004 that resets output Y004 and
P a g e | 127
4. Rung with M11 and T10:
● Add M11, M12, M13, M14 for this rung to set memory bits based on certain
conditions. Then add instruction output MOV D1101 D1100 to transfers values
timer contacts T10. Followed the arrangement of the elements from the image
below.
5. Timer Configuration
● Add the instruction output MOV T10, T11, T12 that moves a preset value from
register D200, D202, D204 to set the delay. Arrange the elements based on the
image below.
P a g e | 128
6. The ladder diagram of the elevator control application was shown below.
P a g e | 129
P a g e | 130
Figure xx.
P a g e | 131
PROCEDURES: Actual Wiring of Elevator Control Application
● Connect the 24V supply of the PLC to the Sink/source (S/S), 0V supply of the
PLC to the DC terminal block (blue); Connect the 220V (black) supply to the
AC (red) terminal block and (red) supply to the AC (blue) terminal block.
● Connect the NO black terminal to the AC blue terminal block. Connect the NO
red terminal to the corresponding input terminal (Y0 for GL1, Y1 for RL1, Y4
● Connect the NO black terminal to the DC blue terminal block. Connect the NO
red terminal to the corresponding input terminal (X1 for PB1(1st floor), X2 for
PB2 (2nd floor), X3 for PB4 (3rd floor), X4 for PB5 (4th floor).
● Connect Com0, Com1, and Com3 of the PLC to the AC (red) terminal block.
P a g e | 132
5. Provide Wiring Diagram of the Elevator Control Application.
P a g e | 133
PROCEDURES: Operating the HMI
Edit the created ladder diagram, insert a new rung to the top, with an open
● Open the GX Works software to begin programming the PLC ladder diagram.
P a g e | 134
Note: Select FXCPU for PLC series and FX3G/FX3GC for CPU Type, then click OK
● Design the ladder diagram for the elevator control application, where once PB
● The ladder diagram for this experiment is shown in the ladder diagram
procedure.
3. Wiring of Components
● Make sure the trainer is turned off before beginning any wiring.
● Connect the components as shown in the actual wiring diagram, including the
● Look for any loose connections or short circuits to ensure safe operation.
● After completing the continuity test and confirming all connections, turn on the
trainer.
● Connect the PLC to the laptop via USB port. Check the connection destination
● Confirm that the PLC is not in running mode before proceeding to the next step.
P a g e | 135
● Check only the applicable data (PLC Data and Parameter) before proceeding.
● Open Kinco DTools and follow the configuration procedure to connect the HMI
● Create the HMI interface, adding all the inputs and outputs from the ladder
● Set the port to USB and download the HMI program to the HMI device.
9. Operational Testing
● After completing the wiring and programming, test the experiment by first using
● Press a specific manual push button and observe the elevator control operation
of the experiment, and write the findings in the table under data and results.
● Then test the motor control using the HMI interface to ensure proper operation.
● Press a specific button on the HMI display and observe the elevator control
operation of the experiment, and write the findings in the table under data and
results.
P a g e | 136
Notes:
● Double-check all wiring connections before powering the system to prevent damage.
In case of an emergency, immediately press the Emergency stop located at the left side
● Always verify that the PLC is in the correct mode (Stop/Run) before uploading or
downloading programs.
Manual Operation
P a g e | 137
2nd Floor Indicator Lamp PB1 (Press) RUN
Timer (Start)
RUN
Indicator Lamp (Open)
Timer (Stop)
STOP
P a g e | 138
Integrating HMI Operation
P a g e | 139
3rd Floor Indicator Lamp PB1 (Press) RUN
Timer (Start)
RUN
Indicator Lamp (Open)
Timer (Stop)
STOP
ANALYSIS
1. How can the performance of the elevator control system be evaluated using the PLC
trainer, and what metrics are used to assess its efficiency and reliability?
The performance of the elevator control system using a PLC trainer can be
evaluated based on response time (how quickly the elevator reacts to button
presses) and stopping accuracy (how precisely it aligns with each floor). Other
P a g e | 140
key factors include the effectiveness of timer settings for stop durations, error
2. What is the difference between using a manual push button (PB) and HMI in terms of
elevator control?
Manual push buttons offer simple, immediate control through direct presses,
making them ideal for quick actions like selecting floors. In contrast, an HMI
view the elevator’s status, and receive detailed feedback. Additionally, the HMI
enables users to set and monitor timer values for floor approaches, enhancing
3. How does the timer influence the elevator's operation in terms of stopping duration at
each floor, response time to user requests, and overall efficiency of service?
stopping duration at each floor, which allows passengers sufficient time to enter
or exit safely.
P a g e | 141
SUPPLEMENTAL ACTIVITY: MOTOR-DRIVEN ELEVATOR CONTROL WITH
VISUAL INDICATORS
elevator control system that incorporates visual indicators to enhance understanding of its
operation. The scenario simulates an elevator system in a two-story building, allowing students
to explore the integration of motor control and user feedback in a practical application. Initially,
students will program the PLC to control the elevator’s operation. They will create a control
panel with two push buttons—one for each floor. When a button is pressed, the motor will
activate, driving the elevator to the selected floor. The limit switches will signal when the
elevator has reached its destination, ensuring safe and accurate positioning. As part of the visual
feedback system, a red light will illuminate to signal that the elevator is moving, a green light
OBSERVATION
lamps, and timers to enhance user interaction and safety. Users could select floors one through
four, with indicator lamps illuminating after a delay that simulated real-world elevator
operations, fostering patience. Green and red lights for door status provided clear safety cues,
modern, accessible, and intuitive design. Overall, the experiment highlighted the importance
P a g e | 142
CONCLUSION
enhancing user experience, safety, and efficiency in automated systems. It demonstrated the
effective integration of pushbuttons, timers, and indicator lamps to provide intuitive navigation
the experiment showcased how simple control devices can streamline interactions while
underscored the potential for future advancements in user interaction, pointing towards more
sophisticated and seamless control methods in elevator systems and beyond, thus improving
P a g e | 143
LABORATORY ACTIVITY 7: TRAFFIC LIGHT CONTROL APPLICATION
DISCUSSION
Controlling traffic lights using PLC (Programmable Logic Controller) trainers offers
and advanced integration capabilities. PLCs can be programmed for basic traffic light
sequencing and adaptive control, adjusting green light durations based on real-time traffic data
to optimize flow and reduce congestion. Additionally, PLCs enhance safety with pedestrian
signals and emergency vehicle preemption, ensuring safe and efficient traffic management. In
improving efficiency without requiring manual intervention, and offering a scalable, efficient
OBJECTIVES
Design and program a ladder diagram for traffic light sequencing at a two-lane
intersection.
Provide hands-on wiring experience with PLC trainer with the traffic control system
design.
Demonstrate the operation and control mechanism of a two-way traffic light control
P a g e | 144
MATERIALS
1. Initialization:
● Add the M8002 as the system initialization relay. It activates when the PLC
● Add X000 that triggers the SET M1 instruction output, which turns on memory
bit M1. This memory bit M1 controls the start of the traffic light sequence,
● Resets M1 by adding the RST M1 instruction output, halting the traffic light
control operation and turning off the corresponding outputs. Then add reset RST
M2 and RST M3 to reset the internal relays M2 and M3. Arrange the elements
P a g e | 145
3. Stop Button (X001) Resetting Logic:
● Add ZRST (Reset) instruction output ensures that both D1 and D4 are reset to
o Add contacts for internal relays M1 and M2, include the DECP D1
next memory relay, M2. Build the ladder diagram based on the image
P a g e | 146
● Standby (or Next Phase) Sequence for Line 2
o Similar to the green light sequence, include contacts for internal relays
M2 and M3, along with the DECP D2 and SET M3 outputs to shift the
● Add open contacts M1, M2, and M3, and the instruction output DECP D12 to
triggers M1, which decrease a value or control related to "LINE 1 GO." Create
the ladder diagram from the image, ensuring all contacts and outputs are
correctly addressed.
● Add rising pulse M2 to moves the data to D2 output. Add rising pulse M1 to
performs an ADD operation output, modifying the state of the system between
D1, D222, and D12. Then add rising pulse M3 that resets D12 through the RST
P a g e | 147
instruction output. Arrange the elements based on the image, addressing all
● Add M3 and M4 to starts the sequence to control the red light for Line 2, the
add DECP D3 to set control Line 2 Red, turning the green light ON for Line 1
P a g e | 148
● Repeat the ladderby adding M3 and M4 with the DECP D22 instruction. Add
the SET M1 instruction output to moves the sequence to the next memory relay,
as well as ZRST M3 and M4 to reset the internal relays. Create the ladder
diagram from the image, ensuring all contacts and outputs are correctly
addressed.
● Again add contacts M1, M3, and M4, and the instruction output DECP D32 to
that moves a value to D3, which controls "LINE 2 GO." Arrange the elements
P a g e | 149
Add rising pulse M4 to moves the data to D22 output. Add rising pulse M1
to moves the data to D222 output. Then add rising pulse M3 to performs an
ADD operation output to performs operation for D3, D222, and D32. Follow
Add M1 and M2 is active, the Y000 output (green lamp for Lane 1) to
triggers the green output lamp. Then add a branch circuit M2 with a Y005
P a g e | 150
Add M2, and the Y001 output (yellow lamp for Lane 1) to triggers the
● Add M4, the Y004 output (yellow lamp for Lane 2) as well as M3 and the Y002
output (red lamp for Lane 1) to triggers yellow lamps of line 2 and red lamp of
line 1.
P a g e | 151
9. The ladder diagram of the Traffic Light Control Application was shown below
P a g e | 152
P a g e | 153
P a g e | 154
P a g e | 155
PROCEDURES: Actual Wiring of Traffic Light Control Application
● Connect the 24V supply of the PLC to the Sink/source (S/S), 0V supply of the
PLC to the DC terminal block (blue). Connect the 220V (black) supply to the
AC (red) terminal block and (red) supply to the AC (blue) terminal block.
● Connect the NO black terminal to the AC blue terminal block. Connect the NO
red terminal to the corresponding output terminal (Y2 for RL1, Y5 for RL2, Y0
● Connect the NO black terminal to the DC blue terminal block. Connect the NO
red terminal to the corresponding input terminal (X0 for Green PB, X1 for Red
PB).
● Connect Com0, Com1, Com2, Com3 of the PLC to the AC (red) terminal block.
P a g e | 156
5. The wiring diagram of the Traffic Light Control Application was shown below
P a g e | 157
PROCEDURES (Operating the HMI to Trainer Power-On):
Edit the created ladder diagram, insert a new rung to the top, with an open
● Open the GX Works software to begin programming the PLC ladder diagram.
P a g e | 158
Note: Select FXCPU for PLC series and FX3G/FX3GC for CPU Type, then click OK
● Design a ladder diagram for a traffic light system that activates when the start
pushbutton is pressed. This will illuminate the Green Light in Lane 1 and the
● The ladder diagram for this experiment is shown in the ladder diagram
procedure.
3. Wiring of Components
● Make sure the trainer is turned off before beginning any wiring.
● Connect the components as shown in the actual wiring diagram, including the
● Look for any loose connections or short circuits to ensure safe operation.
● After completing the continuity test and confirming all connections, turn on the
trainer.
● Connect the PLC to the laptop via USB port. Check the connection destination
● Confirm that the PLC is not in running mode before proceeding to the next step.
P a g e | 159
● Go to Online > Write to PLC in GX Works.
● Check only the applicable data (PLC Data and Parameter) before proceeding.
● Open Kinco DTools and follow the configuration procedure to connect the HMI
● Create the HMI interface, adding all the inputs and outputs from the ladder
● Set the port to USB and download the HMI program to the HMI device.
9. Operational Testing
● After completing the wiring and programming, test the experiment by first using
● Press the manual start button and observe the operation of the traffic light
experiment and write the findings in the table under data and results.
● Then test the motor control using the HMI interface to ensure proper operation.
P a g e | 160
● Press the start button via HMI display and observe the operation of the traffic
light experiment and write the findings in the table under data and results.
Notes:
● Double-check all wiring connections before powering the system to prevent damage.
In case of an emergency, immediately press the Emergency stop located at the left side
● Always verify that the PLC is in the correct mode (Stop/Run) before uploading or
downloading programs.
Manual Operation
P a g e | 161
Red Indicator Lamp 1 Timer (Start) RUN
ANALYSIS
1. How does the timer contribute to the traffic light control system's effectiveness?
P a g e | 162
that vehicles receive predictable and timely signals. Additionally, the timer can
traffic flow.
2. What is the impact of the stop button (PB2) on the overall safety of the intersection
when compared to a system without such a feature?
● The stop button (PB2) significantly enhances the overall safety of the
intersection by providing operators with the ability to manually halt traffic
signals in emergencies or unexpected situations. In contrast to systems without
this feature, the stop button serves as a critical safety mechanism, enabling
operators to intervene during malfunctions and facilitating communication with
emergency services, thereby improving situational awareness and reducing
risks associated with faulty signals.
3. How does the HMI improve usability and visibility for operators managing the traffic
control system?
4. How does the alternating pattern of the traffic light control system promote continuous
traffic flow?
● The alternating pattern of the traffic light control system promotes continuous
traffic flow by systematically allocating time to each lane, thereby reducing
congestion and minimizing waiting times at the intersection. This structured
approach ensures clear signaling transitions from green to yellow to red, which
helps to prevent driver confusion and encourages timely responses.
P a g e | 163
SUPPLEMENTAL ACTIVITY: DESIGNING A ONE-LANE TRAFFIC LIGHT
In this supplemental activity, students will design and implement a one-lane traffic light
control system using a motor to represent the vehicle's movement. This scenario allows
students to explore the fundamentals of traffic light control systems while simplifying the
complexity by focusing on a single lane of traffic. The goal is to create a system where the
motor (vehicle) can only move when the green light is illuminated, while the red light indicates
a stop. The green light will be activated for a specific duration (e.g., 10 seconds) to allow the
motor to move forward. Following this, the yellow light will activate for 2 seconds to signal
the vehicle to prepare to stop. Finally, the red light will illuminate for 10 seconds, indicating
OBSERVATION
The traffic light control application implemented using a PLC trainer demonstrates a
alternation of light phases—green, yellow, and red—along with the use of a timer, ensures
predictability and safety for drivers. The integration of a stop button (PB2) adds a layer of
Human-Machine Interface (HMI) provides operators with real-time data and user-friendly
controls, enhancing their ability to monitor and adjust the system based on current traffic
conditions. Overall, the application effectively balances efficiency with safety, minimizing
P a g e | 164
CONCLUSION
The traffic light control system illustrates the crucial role of timing and signal changes
in managing traffic effectively. By using a systematic approach to alternate between lanes and
incorporating features like a stop button and Human-Machine Interface (HMI), the system
improves both safety and efficiency at intersections. This activity not only teaches students
essential concepts of automation and control systems but also gives them hands-on experience
with programming and operating PLCs. Through this practical engagement, students enhance
their problem-solving skills and gain a better understanding of how traffic management
technologies work in the real world. Future improvements, such as integrating real-time traffic
data, could further enhance the system’s performance by adapting signal timing to current
traffic conditions. Overall, this activity highlights how automated traffic control systems can
enhance roadway safety and efficiency, while also preparing students for future careers in
P a g e | 165
LABORATORY 8: PRESSURIZED WATER TANK CONTROL APPLICATION
DISCUSSION
In this laboratory activity, we will delve into the control and automation of a pressurized
water tank using a Programmable Logic Controller (PLC) system. The setup mirrors real-world
applications in industrial settings where a pressure pump is used to fill a tank, and limit switches
are employed to monitor and regulate the water level. The PLC plays a central role by sending
control signals to relays, which act as intermediaries between the PLC and the actuator (in this
case, the pressure pump). When the PLC activates the relays, they energize the pump to fill the
tank. Once the water reaches predetermined levels, the system relies on mechanical limit
switches to provide feedback, ensuring efficient and safe operation. This seamless feedback
loop demonstrates the integration of automation technology with fluid control systems,
OBJECTIVES
● To understand how a PLC can control a pressurized water tank system using a pressure
● To design and program, a PLC system for water level control, where pressing the start
button activates the pump to fill the tank, and the pump automatically stops when the
water reaches the high level. Additionally, pressing a release button will drain the water,
and the pump will stop once the water drops below the low level. The system will also
include an emergency stop button for manually halting the entire operation at any time.
P a g e | 166
MATERIALS
Programmable
Logic
Controller
I/O: 5/4
Application
● Create a rung based on the image below, incorporating open contacts X000,
closed contacts XOO2, X003, X004 and an output coil that represents the relay.
P a g e | 167
2. Create and insert the second rung:
● Create a rung based on the image below, incorporating open contacts X001 and
close contacts X002, X004, AND X000 and an output coil Y001 representing
3. The image below shows the ladder diagram of the Pressurized Water Tank Control
Application.
P a g e | 168
PROCEDURES: Actual Wiring of the External Timer Approach
Connect the 220V black supply to the AC (red) terminal block, the 220V red
supply to the AC (blue) terminal block, the 0V PLC supply to the DC (blue)
terminal block, and the 24V PLC supply to the Sink/Source (S/S) of the PLC.
Connect the Green Normally Open Push Button (black) to the DC (blue)
terminal block and the Green Normally Open PB (red) to X0 of the PLC.
Connect the Red Normally Open Push Button (black) to the DC (blue) terminal
● Connect the E-stop Normally Open PB (black) to the DC (blue) terminal block
● Relay 1 Supply Wiring: Connect the 0V PLC supply to the DC (blue) terminal
block, 24V supply to Sink/Source (S/S), 220V (red) to Relay 1 terminal 13,
220V (black) to COMM0, 24V (red) to Relay 1 terminal 10, 24V (black) to
P a g e | 169
● Relay 2 Supply Wiring: Connect the positive 220V (red) to Relay 2 terminal 13,
● Connect Relay 2 terminal 5 to the black wire of the actuator and Relay 2
● Connect the sixth terminal from the actuator to X3 and the fifth terminal to the
DC (blue) terminal block for the Up Limit Switch. Connect the fourth terminal
to X4 and the third terminal to the DC (blue) terminal block for the Down Limit
Switch.
P a g e | 170
8. The image below shows the wiring diagram of the External Timer Application in PLC
P a g e | 171
PROCEDURES: Operating the HMI
● Edit the created ladder diagram, insert a new rung to the top, with an open
● Open the GX Works software to begin programming the PLC ladder diagram.
Note: Select FXCPU for PLC series and FX3G/FX3GC for CPU Type, then click OK
P a g e | 172
2. Create the Ladder Diagram
● Design the ladder diagram to control the water level system. The system should:
○ Stop the pump when the water reaches the high-level sensor.
○ Stop the draining process when the water drops below the low-level
sensor.
● The ladder diagram for the water level control system is shown in the ladder
diagram procedure.
3. Wiring of Components
● Make sure the trainer is turned off before beginning any wiring.
● Connect the components as shown in the actual wiring diagram, including the
● Look for any loose connections or short circuits to ensure safe operation.
● After completing the continuity test and confirming all connections, turn on the
trainer.
P a g e | 173
6. Upload the Ladder Diagram to the PLC
● Connect the PLC to the laptop via USB port. Check the connection destination
● Confirm that the PLC is not in running mode before proceeding to the next step.
● Check only the applicable data (PLC Data and Parameter) before proceeding.
● Open Kinco DTools and follow the configuration procedure to connect the HMI
● Create the HMI interface, adding all the inputs and outputs from the ladder
● Set the port to USB and download the HMI program to the HMI device.
9. Operational Testing
● After completing the wiring and programming, test the experiment by first using
● Press the filling push button to initiate the first operation. Next, press the
releasing pushbutton to initiate the second operation. After then, examine the
experiment's operation outcome and record your observations in the data and
results table.
P a g e | 174
● While conducting either an initial or second operation, press the emergency stop
push button. Observe and record the result of the operation in the table.
● Then test the motor control using the HMI interface to ensure proper operation.
● Press the filling push button on the HMI display to initiate the first operation.
experiment, then note your findings in the data and results table.
● Press the emergency stop button in the HMI display while performing the first
or second procedure. Examine the outcome of the operation and record it in the
table.
Notes:
● Double-check all wiring connections before powering the system to prevent damage.
In case of an emergency, immediately press the Emergency stop located at the left side
● Always verify that the PLC is in the correct mode (Stop/Run) before uploading or
downloading programs.
P a g e | 175
DATA AND RESULTS
Manual Operation
Integrating HMIOperation
P a g e | 176
ANALYSIS
1. How does the PLC decide when to start and stop the actuator (pressure pump)?
● The PLC controls the actuator (pressure pump) by starting and stopping it based
on input signals from sensors or limit switches to maintain the desired water
levels.
2. What role do the limit switches play in this application, and how do they ensure
system safety?
● Limit switches give feedback to the PLC when the actuator hits specific
3. What are the advantages of using relays to control the actuator instead of directly
● Relays provide electrical isolation between the actuator and PLC, protecting the
PLC from high current loads and extending its life by reducing direct wear on
its components.
4. What is the importance of automating this water level control system using a PLC?
● Automating the water level control system with a PLC increases efficiency,
management.
P a g e | 177
OBSERVATION
The pressurized water tank control application uses an actuator as a pump to automate
water level management. By integrating limit switches with PLC logic, the system ensures
precise regulation of water pressure while allowing for real-time monitoring and adjustments.
CONCLUSION
demonstrated the effectiveness of automating water level management through the integration
of PLCs, actuators, limit switches, and HMIs. Overall, the experiment highlighted how
automation not only streamlines operations but also mitigates risks associated with manual
P a g e | 178
APPENDIX A
TROUBLESHOOTING GUIDE
P a g e | 179
APPENDIX A: TROUBLE SHOOTING GUIDE
This troubleshooting guide is designed to help students or users identify and resolve
common issues encountered with a PLC-based motor control trainer. The system includes a
PLC, HMI, pushbuttons, indicator lights, actuator, relay, timer relay, color sensor, motor
1. Power Issues
Solution:
Verify that the main power supply to the PLC and motor starter is active.
Check if the circuit breaker or fuse for the PLC or motor circuit is tripped or
blown.
Ensure that all devices, including the HMI, PLC, and motor starter, are properly
powered.
Confirm that the PLC is not in "STOP" mode; switch to "RUN" mode if
necessary.
Problem: The motor does not run even though power is supplied.
Solution:
Verify the motor starter and contactor are receiving the correct signals from the
PLC.
P a g e | 180
Ensure the PLC output to the motor starter is correctly programmed and active.
Check the motor overload relay for a tripped condition and reset if necessary.
Test the motor windings for continuity with a multimeter to ensure they are
intact.
Confirm that the appropriate pushbuttons (e.g., "Start") are functioning and
Solution:
Check the motor wiring connections to the motor starter terminals. Reverse any
two of the three-phase wires connected to the motor to change the direction.
Confirm the PLC output is properly configured to switch the forward and
Inspect the control devices such as the reversing pushbuttons and relays for
4. HMI Malfunction
Solution:
Verify that the HMI is receiving power and is properly connected to the PLC.
Check the communication settings between the HMI and PLC (e.g., IP address,
communication protocol).
P a g e | 181
Inspect the HMI programming for correct configurations of buttons, indicators,
Ensure the touch screen or buttons on the HMI are not physically damaged or
unresponsive.
Solution:
Check if the pushbuttons are connected correctly to the PLC inputs and verify
Test the indicator lights by manually activating the output in the PLC program
Inspect the wiring to the pushbuttons and indicator lights for loose connections
or damage.
Solution:
Confirm that the actuator and relay are wired correctly to the PLC output
terminals.
Verify that the PLC is sending the correct output signals to activate the relay or
actuator.
Inspect the relay for any signs of wear or damage and replace if necessary.
P a g e | 182
Check for any logic issues in the PLC program that might prevent the actuator
Solution:
Verify the timer settings in the PLC program and ensure they are set according
Check the wiring connections to the timer relay for loose or incorrect
terminations.
Test the timer relay operation by manually adjusting the PLC program to
Ensure the PLC’s output to the timer relay is not interrupted by any faulty logic
or sensor inputs.
Problem: The color sensor fails to detect the correct colors or does not respond.
Solution:
Clean the color sensor to ensure that dust or debris is not interfering with its
operation.
Check the wiring connections between the color sensor and the PLC.
Ensure that the sensor range and detection parameters are correctly configured
accurately.
P a g e | 183
9. Motor Overheating
Solution:
Check for obstructions blocking the motor's ventilation openings and remove
them.
Ensure that the ambient temperature is within the motor's rated limits.
Reduce the load on the motor if it is operating beyond its rated capacity.
Verify that the motor's cooling fan is functioning properly and clean any
Check if the PLC is continuously running the motor without necessary pauses
Solution:
resistance.
Ensure the motor is not overloaded by adjusting the PLC program for proper
Adjust the motor overload relay settings to match the motor's rated current and
operating conditions.
Check the motor's cooling system to ensure proper ventilation and cooling.
P a g e | 184
11. Control Circuit Malfunction
Problem: The control circuit fails to operate the motor starter or contactor.
Solution:
Inspect the control wiring for any loose connections or damaged insulation.
Check the control devices such as pushbuttons, relays, or timers for proper
operation.
Verify that the control voltage supplied to the motor starter coil or contactor is
Review the PLC program logic to ensure that the correct signals are being sent
Solution:
Inspect the contactor for any signs of arcing, pitting, or damage to the contacts.
Clean the contactor contacts and ensure they are making proper contact when
energized.
Verify the PLC output signal to the contactor coil is functioning correctly.
Check the control circuit for any faults or improper wiring that may prevent the
Solution:
Connect to a Laptop
P a g e | 185
Use a USB cable to connect the color sensor (Arduino-based) to your laptop
Board.
o Select the Correct Port: From the Tools > Port menu, choose the
By following this guide, users can systematically identify and resolve issues with the PLC-
based motor control trainer, ensuring optimal performance and safety in motor control and
P a g e | 186
APPENDIX B
MAINTENANCE GUIDE
P a g e | 187
APPENDIX B: MAINTENANCE GUIDE
Routine Maintenance Protocol for Basic Programmable Logic Controller (PLC) Trainer
To ensure the reliability and longevity of a Basic PLC Trainer, it is important to establish and
the equipment's usage and environmental factors, typically performed quarterly or semi-
annually.
Maintenance Schedule:
Duration: Allocate sufficient time for a thorough inspection, testing, and servicing.
Digital multimeter
Infrared thermometer
Safety Precautions:
Disconnect Power: Ensure power to the PLC trainer is completely disconnected and
P a g e | 188
PPE: Wear appropriate personal protective equipment (PPE) such as safety glasses,
gases
Discharge Stored Energy: Ensure any stored electrical energy in the system, such as
Maintenance Procedure:
1. Visual Inspection:
Check for:
elements.
2. Electrical Testing:
o Use a digital multimeter to verify that the power supply to the PLC is within
o Inspect the power supply unit for proper functionality and any signs of
overheating.
P a g e | 189
Input/Output Testing:
o Verify that all PLC inputs (e.g., pushbuttons, sensors) and outputs (e.g.,
o Use the PLC’s diagnostic tools or software to check for faults or errors.
3. Component Evaluation:
PLC Modules:
o Inspect the PLC modules (CPU, I/O cards) for signs of wear or damage.
o erify that all modules are properly seated and secure in their slots.
HMI:
o Check the HMI screen for responsiveness and clear display output.
o Inspect relays and contactors for any mechanical wear, arcing, or damage to
o Inspect and test fuses and circuit breakers. Replace blown fuses and reset
o Check sensors, actuators, and associated wiring for any damage or loose
connections.
P a g e | 190
o Test their function by simulating normal operation through the PLC
program.
Cleaning:
o Use compressed air and a soft cloth to clean the PLC, HMI, wiring
enclosures, and other components, ensuring that dust and debris are
removed.
abrasive materials.
Lubrication:
operation.
Inspect the grounding system, including all grounding conductors and bonding
Look for signs of corrosion or wear and verify that all connections are tight and
secure.
Use a digital multimeter to verify the grounding integrity by checking for proper
continuity.
PLC Program:
P a g e | 191
o Check the PLC program for any errors or faults. Verify that all inputs,
Communication:
o Ensure that communication between the PLC and HMI, sensors, actuators,
7. Temperature Monitoring:
Use an infrared thermometer to check for hotspots on components such as the power
improper ventilation.
Monitor voltage levels at key points in the system to ensure they remain within
Check for any signs of voltage fluctuations or harmonics that could affect the
Dates of maintenance.
P a g e | 192
Findings (e.g., faults identified, repairs made).
Any corrective actions taken and recommendations for future maintenance or system
upgrades.
Ensure that backup copies of the PLC program, HMI settings, and other critical data
By following this maintenance procedure, users can ensure that the PLC Trainer remains
in optimal working condition, minimizing downtime and maximizing the educational value of
the system.
P a g e | 193
APPENDIX C
SAFETY GUIDELINES
P a g e | 194
APPENDIX C: SAFETY GUIDELINES
Basic Programmable Logic Controller (PLC) Trainer Safety Guidelines for Batangas
Always wear appropriate PPE, including safety glasses, gloves, and closed-toe
components.
Only students who have undergone proper training and have been authorized should
Ensure students receive thorough instruction on the usage of the PLC trainer, safety
3. Electrical Safety:
Before beginning any work, ensure that the power supply to the PLC trainer is
switched off, and the main power switch is secured in the off position.
it is powered on.
Use insulated tools and take extreme caution when handling live electrical circuits
P a g e | 195
4. Fire Safety:
Ensure the area around the PLC trainer is clear of flammable materials, and that fire
In case of fire or smoke detection, evacuate the area immediately and follow the
5. Mechanical Safety:
Avoid wearing loose clothing, jewelry, or accessories that may become entangled
Confirm that all safety guards, shields, and covers are properly installed before
6. Emergency Procedures:
Familiarize yourself with the location of emergency stop buttons, fire alarms, and
In the event of an emergency, stay calm, evacuate the area promptly, and inform
7. Housekeeping:
Keep the area around the PLC trainer clean and organized to avoid trip hazards and
Promptly clean up spills and ensure proper disposal of waste materials to maintain
8. Proper Usage:
Use the PLC trainer only for its intended educational purpose and always follow
P a g e | 196
Never attempt to disable, tamper with, or bypass safety features, interlocks, or
9. Report Hazards:
Keep updated with the latest safety practices and guidelines specific to PLCs and
electrical systems.
By following these safety guidelines, Batangas State University students will be able
to minimize the risk of accidents and injuries while working with the PLC trainer, fostering a
P a g e | 197