Modul PLC LG
Modul PLC LG
OBJECTIVE
Understand automation process in the industrial field is essential for an engineer.
EQUIPMENTS REQUIRED
PLC LG GLOFA GM4 1 piece
Red Short Cable (40 cm) 10 pieces
Red Long Cable (110 cm) 10 pieces
Black Short Cable (40 cm) 10 pieces
Black Long Cable (110 cm) 10 pieces
Power Cable 2 pieces
RS-232 and USB to Serial cable 1 piece
INTRODUCTION
Automation System is a system that makes human life easier. It has so many advantages,
because it works effectively and efficiently. So that we can achieve it all, many industries
use PLC, an industrial computer control system that continuously monitors the state of input
devices and makes decisions based upon a custom program to control the state of output
devices. Almost any production line, machine function, or process can be greatly enhanced
using this type of control system. The biggest benefit in using a PLC is the ability to change
and replicate the operation or process while collecting and communicating vital information.
There are five programming language used to put in use, they are Ladder Diagram (LD),
Function Block Diagram (FBD), Structured Text (ST), Instruction List (IL), Sequential
Function Chart (SFC)
In this experiment, we will use PLC LG GLOFA GM4 and software for PLC LG named
GMWIN 4.0. There are two ways to Addressing in GMWIN : one is to give a name to a data
element using an identifier (Variable by Identifier) and the other is to directly assign a
memory address (Direct Variable)
Variable by Identifier
A variable by identifier should be unique within its program area where the variable
was declared in order to distinguish it from other variables. Example of addressing by
Variable Identifier is shown in Figure 1 :
1
Industrial Informatics and Automation Laboratory
Electrical Engineering Department
Industrial Technological Faculty
Sepuluh Nopember Institute of Technology
Electrical module is provided to make an electrical circuit, activate contact and coil, timer,
counter and many function which needed an electrical supply.
1. Power Supply Module
Electric module that have function as voltage supplier. Red Port (Top) as +24 volt supply
and Black Port (Bottom) as ground (0 V).
2. Switch Module
Electric module that have function as manual input. Red Port (Top) as + 24 volt supply,
Black Port (Bottom) as Ground (0 V), Yellow Port as Com (Reference), Blue Port as
Normally Close Contact, Green Port as Normally Open Contact. It is shown in Fig
3. Buzzer and Lamp Module
Electric module that have function as indicator. Red Port (Top) as +24 volt supply, Black
Port (Bottom) as ground (0 V)
EXPERIMENT
Configuration of PLC LG with GMWIN 4.0
1. Turn on the Computer and PLC, ensure USB to Serial cable has connected from
computer with PLC LG.
2. Check connection USB to Serial on the computer in Device Manager.
3. Open GMWIN 4.0, choose menu Project Option Connection Option. Set RS.232C
on method connection, on communication port, and local on depth of
connection. They are shown in Figure 3.
4. Make a new project. In the Project New project then rename. In the Select PLC type,
choose GM4 shown in Figure 4.
2
Industrial Informatics and Automation Laboratory
Electrical Engineering Department
Industrial Technological Faculty
Sepuluh Nopember Institute of Technology
Figure 4. Menu display to give project name and choosing PLC type
5. In the final step, choose programming language LD (ladder) then click Finish. It is
shown in Figure 5.
6. After make the program, choose Online Connect+Write+Run. If offline word in the
status bar changed to GM4 stop, so the PLC have connected with PC.
Figure 6. Ladder Diagram of Contacts and Coils Circuit Experiment(NO and NC Coil)
4. Configure Ladder Diagram for AND circuit as shown in Figure 7. Do not forget to
make the circuit in electrical module.
3
Industrial Informatics and Automation Laboratory
Electrical Engineering Department
Industrial Technological Faculty
Sepuluh Nopember Institute of Technology
5. Place two NO contact consecutively with a NO coil. Place both of them in same row with
NO coil.
6. Write condition of lamp/buzzer when it is depressed and released.
4
Industrial Informatics and Automation Laboratory
Electrical Engineering Department
Industrial Technological Faculty
Sepuluh Nopember Institute of Technology
5. Configure Ladder Diagram for Counter Up as shown in Figure 12. Do not forget to
make the circuit in electrical module.
6. Write condition of lamp/buzzer when it is depressed and released!
7. Configure Ladder Diagram for Counter Down as shown in Figure 13. Do not forget
to make the circuit in electrical module.
8. Write condition of lamp/buzzer when it is depressed and released!
REFERENCE
Anonymous, User’s Manual LG Programmable Logic Controller: Instruction and
Programming, LG Industrial Systems.
David W. Pessen, Industrial Automation: Circuit Design and Components, 2008.