Académique Documents
Professionnel Documents
Culture Documents
1 Introduction
Objectives
(i) To understand the functions of the NAiS FP0 C10 PLC.
(ii) To program a NAiS FP0 C10 PLC.
(iii) To design a ladder logic program.
Equipment
(i) NAiS FP0 C10 programmable logic controller training kit.
(ii) FPWin PLC programming software.
(iii) Connecting cables.
(iv) 24V DC power supply.
5 6
3
4
2 1
Page 1 of 12
Process Control and Instrumentation Lab. 1
2 Programming Modes
Several programming modes are available for the PLC. You are recommended to use the
LDS mode for this exercise.
Mode Description
1 Ladder Symbol The program will be displayed in ladder diagram and the input
Mode (LDS) method is ladder symbol as shown in Figure 1.2(a).
2 Boolean Ladder The program will be displayed in ladder diagram and the input
Mode (BLD) method is Boolean symbol. Figure 1.2(b) shows the editing
palette.
3 Boolean Non- The program will be displayed in Boolean (text) and input is
Ladder Mode Boolean symbol. The program cannot be complied in this mode.
(BNL)
4 Boolean Text Edit The program is displayed as Boolean (text). Editing is in text,
Mode (TXT) ASCII file.
RS232C cable
FP0-C10 PLC
Page 2 of 12
Process Control and Instrumentation Lab. 1
In this exercise, the PLC is connected to a computer running Microsoft Windows via a
RS232C cable. Refer to Figure 3.
After the connection to the PC and the power supply is done, switch on the NAIS FP0
CP10 and it is now ready to use.
Y0
Page 3 of 12
Process Control and Instrumentation Lab. 1
3. Next, you will be required to select the PLC model, highlight FP0-C10 as shown in
Figure 6 and press <ENTER>.
4. The first window will look like Figure 7. You are now in the Ladder Symbol Mode
(LDS).
Page 4 of 12
Process Control and Instrumentation Lab. 1
Click on the symbol for the components that you wish to add in to construct the
ladder diagram and insert the name for the components.
Example –
The name for each component consists of an alphabet followed by a number. For
example, X0, X1, R1 and etc.
Once the ladder diagram is complete, compile and convert the program by clicking
on “Edit” “Convert program” on the menu bar at the top of the screen.
6. Checking the program OFFLINE: You can check the program that you are about to
run, regardless of how small and simple they may be. In the OFFLINE mode, you
can check the program displayed in the current edit window by clicking on
“Debug”, then “Totally Check Program”, and “Debug” then “Verify Program” in
the menu bar.
Page 5 of 12
Process Control and Instrumentation Lab. 1
7. Download Program: Click the ONLINE icon , then the download icon from
the short-cut menu bar. Alternatively, you could select “Download to PLC” at the
Symbol Dialog box. You will be prompted with the following dialog box, dismiss it
with YES.
8. Now, switch the PLC to REM-RUN mode by clicking on the Change PLC mode
icon at the short-cut bar. Make sure that the status indicator of the PLC has the
RUN LED lighted.
9. If you have the circuit properly connect as shown in Figure 1.3, when you close the
input switch X0, you will see that the normally close (NO) contact in the ladder
diagram highlighted, as shown in Figure 9.
The highlighted contacts in the diagram reflect the status of each contact, as do the
output LED indicators on the PLC. If you want to stop monitoring the PLC at the
ladder diagram, click on the Stop icon in the short-cut bar and it will change to a
green arrow button. Note that this applies only to monitoring on the computer, the
PLC is still running. To stop running, click on the Change PLC mode icon.
Page 6 of 12
Process Control and Instrumentation Lab. 1
10. Run your program and check it against the truth table.
X0 X1 X2 Y0
On / Off On / Off Off
On Off On
Off On On
On On On
Off Off On
5 Objective 2
Develop a ladder diagram for the following process specified by the narrative
statement below.
Once the Start push button is triggered, the process runs as:
(i) Conveyor moves.
(ii) When a bottle is in position (BP TRUE) –
a. Pause the conveyor (M1OFF),
b. Open the output valve.
(iii) When the bottle is full (BF TRUE) - Close the output valve
(iv) Go to step (i) and repeat the process.
Once the Stop push button is pressed, the process stops.
You are required to design ladder logic program to achieve the sequence stated in
the narrative statement above.
Page 7 of 12
Process Control and Instrumentation Lab. 1
6 Instructions to students
(i) Verify that your completed program works properly according to the
narrative statement. Please ensure that the program meet the
requirement of on-the-spot evaluation report. It is your
responsibilities to call for on-the-spot evaluation (once you meet
the objective) and submit the hardcopy of on-the-spot evaluation
report to the lecturer in-charge before leaving the lab session.
(ii) Put all input devices in NO state before switching on the PLC. Use the
following I/O ports for the devices.
Inputs Outputs
X0 Start pushbutton Y0 Conveyor M1
X1 Stop pushbutton Y1 Valve
X2 BP sensor
X3 BF sensor
Page 8 of 12
Process Control and Instrumentation Lab. 1
On-The-Spot Evaluation Report (Lab 1)
Name:________________ ID:______________
Course:__________________ Date:_____________
Group members:_________________________________________________________
Objective 1
Objective 2
1. IO List (4 Marks)
INPUT OUTPUT
e.g. Start Button (X0)
Page 9 of 12
Process Control and Instrumentation Lab. 1
3. Ladder Logic Program (20 Marks)
Option 1
You may complete the proposed ladder logic program as below:
Option 2
Design and create the ladder logic diagram as below:
Page 10 of 12
Process Control and Instrumentation Lab. 1
Page 11 of 12
Process Control and Instrumentation Lab. 1
Once the Start push button is pressed and released, the (10)
process is started and resumed at any stage as the truth
table
End
Page 12 of 12