MTE-424L
22nd November, 2024
Industrial Automation Lab
Lab # 07
Title Data Movement
Objective:
Introduction of basic logic circuits of Data movement.
Apparatus:
•
Mitsubishi Trainer
Theory:
LE3U PLC:
The LE3U PLC Controller is a compatible replacement for the Mitsubishi FX3U PLC. It is designed
to integrate smoothly with Mitsubishi software, including GX-Developer and GX-WORK2. This
compatibility allows users who are familiar with Mitsubishi products to easily program and interact
with the LE3U PLC, ensuring a seamless transition and efficient operation.
Figure#01:LE3U PLC
Data Movement Instructions:
Load (LD): Reads the state of an input and loads it into a relay or internal memory bit. It is used to
check input conditions in a PLC program.
Store (ST): Writes a value (usually from an internal memory bit) to an output or sets a relay. This
command is used to update outputs or memory locations based on the logic.
Set (SET) and Reset (RST):
•
SET turns on a bit, activating it.
Emaan Khalid
1
UW-21-MTS-BSC-002
MTE-424L
•
22nd November, 2024
Industrial Automation Lab
RST turns off a bit, deactivating it. These are often used in latching operations to maintain or
clear a state until conditions change.
Move (MOV): Copies the contents of the source operand to the destination operand. This can involve
moving data between registers, memory locations, or other storage elements within the PLC.
Jump to Subroutine (JSR): Directs the PLC to jump to a subroutine or a specific section of the
program, enabling modular programming.
Jump Back (JMP): An unconditional jump to a specified label or program address. It changes the
flow of the program, bypassing subsequent instructions.
Compare (CMP): Compares two values and sets comparison flags (such as equal, greater, or less
than). This is useful for conditional branching.
Block Transfer (BMOV): Transfers a block of data from the source to the destination for a specified
length. It is efficient for large data transfers between memory locations.
Move Command (MOV): A command used to transfer data from one location to another within a
PLC. It copies the contents from a source to a destination.
Block Move Command (BLT): Moves a block of data from one memory location to another in a
single operation, which is efficient for transferring contiguous data blocks.
Jump (JMP): A control flow instruction used to unconditionally jump to a specified label or program
address, continuing the program from there.
Fill Move Command (FILL): Sets consecutive memory locations to a specified value within a
defined range. It is useful for initializing memory blocks with a common value.
Tasks:
MOV command:
Emaan Khalid
2
UW-21-MTS-BSC-002
MTE-424L
Industrial Automation Lab
22nd November, 2024
Procedure:
•
Open GMWIN software.
•
Create/Start new project.
•
Insert move command ladder logic.
•
Debug the error.
•
Save the program.
•
Compile and upload PLC.
FILL command:
Procedure:
•
Open GMWIN software.
•
Create/Start new project.
•
Insert FILL command ladder logic.
•
Debug the error.
•
Save the program.
•
Compile and upload PLC program.
MOVE block command:
Emaan Khalid
3
UW-21-MTS-BSC-002
MTE-424L
Industrial Automation Lab
22nd November, 2024
Procedure:
•
Open GMWIN software.
•
Create/Start new project.
•
Insert BMOV command.
•
Debug the error.
•
Save the program.
•
Compile and upload PLC program.
Precautions:
•
Do experiment infront of lab assistant.
•
Don’t talk to each other during experiment.
•
Don’t eat in the lab.
•
Design ladder logic according.
Conclusions:
We concluded that experimenting with MOV, FILL, and BMOV commands in PLCs helps understand
data movement in digital systems. Implementing these in GMWIN software provides practical
experience in programming and designing efficient systems. Mastering these concepts forms a solid
foundation for further learning in digital electronics.
Emaan Khalid
4
UW-21-MTS-BSC-002
MTE-424L
22nd November, 2024
Industrial Automation Lab
LAB ASSESMENT
LAB NO:07
Name:
Course Code/Name:
REG#
Date:
Total Marks:10
Question 1:
Draw ladder programming for data shifting:
⚫
Use Button X10 for data shifting.
⚫
D3=D7 store value 5 by using data shifting command.
⚫
Then D7=D10 and D10=D11=D12=D13=D14=D15 by using command, this done by special
command.
Emaan Khalid
5
UW-21-MTS-BSC-002