Professional Documents
Culture Documents
Jabatan Kejuruteraan Elektrik: Politeknik Sultan Haji Ahmad Shah
Jabatan Kejuruteraan Elektrik: Politeknik Sultan Haji Ahmad Shah
Jabatan Kejuruteraan Elektrik: Politeknik Sultan Haji Ahmad Shah
1/12
EJ501 – PLC & AUTOMATION
(RUBRICS FOR GENERIC STUDENT ATTRIBUTED (GSA))
CLO 4 : Demonstrate an understanding of professional ethics, responsibilities and norms of electrical and electronic engineering practices. (A3)
4
oneself, others and an integrity. violation of academic integrity (e.g.
2
Very Good
organization. plagiarism, cheating a
B. Self Discipline: Willing to Display excellent effort and Display effort and Display minimal effort and commitment in
Fair
obey all orders, respect commitment in performing commitment in performing performing tasks, such as attendance,
authorities, involve in tasks, such as attendance, tasks, such as punctuality, enthusiasm, vitality, and
teamwork; self-reliance. punctuality, enthusiasm, attendance, punctuality, optimism in performing and completing
vitality, and optimism in enthusiasm, vitality, and tasks.
performing and completing optimism in performing
tasks. and completing tasks.
C. Conform to electrical Display excellent effort and Display effort and Display minimal effort and commitment in
engineering practices. commitment in performing commitment in performing performing tasks according to electrical
Perform work according to tasks according to electrical tasks according to engineering regulations, standards and
electrical engineering engineering regulations, electrical engineering practices.
regulations, standards and standards and practices. regulations, standards and
practices. practices.
2/12
TITLE BASIC PLC PROGRAMMING
i. To understand the concept of Ladder Diagram.
ii. To introduce the students with basic instructions of LD, LD NOT, AND, AND NOT, OR,
OBJECTIVE
OR NOT and LOGIC BLOCK
iii. To familiarize the students the program entry procedures.
i. Laptop,
EQUIPMENTS
ii. Programming software – cx-programmer
PROCEDURES
1 i. Set up cx-programmer
iii. Click Setting at Device Type > CPU Type choose “L”.
iv. Click “OK” and “OK” again and the cx- programmer window is ready to program.
3/12
2 Execute the following basic instruction for PLC
Program 1 : LD instruction
Function: instruction to begin/start a new rung for a Normally Open (NO) contact.
00003 10003
Mnemonic code:
END
ii. Put operand bits “00003” at the New Contact and click “OK”.
iii. Put “S3” at the Edit Comment dialog box and click “OK”.
4/12
iv. Click output (OUT) condition and put aside NO contact at rung 0.
v. Put operand bits “10003” at the New Coil and click “OK”.
vi. Put “L3” at the Edit Comment dialog box and click “OK”.
5/12
viii. Write “END” instruction at the New Instruction dialog box and click “OK”.
6/12
2.3 Note down your observation during execution condition.
iii. Press ENTER and put Value “0” and ENTER again.
Observation;
i. When normally open (NO) contact I: 0.03 is logical “1”, contact will CLOSED and
output (OUT) condition Q: 100.03 will turn ON.
ii. When normally open (NO) contact I: 0.03 is logical “0”, contact will OPENED and
output (OUT) condition Q: 100.03 will turn OFF.
7/12
Program 2 : LD NOT instruction
Function: ___________________________________________________________________
2.4 draw the ladder diagram :
00005 10007 Mnemonic code:
Rung Step Instruction Operand
END
Function: ___________________________________________________________________
2.7 Draw the ladder diagram
Mnemonic code:
END
Function: ___________________________________________________________________
END
8/12
Program 5 : OR instruction
Function: ___________________________________________________________________
2.13 Draw the ladder diagram.
00010 10004 Mnemonic code:
00003
END
Function: ___________________________________________________________________
00009
END
Function: ___________________________________________________________________
00004 00009
END
9/12
2.20 Execute the program.
2.21 Note down your observation during execution condition.
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
[ 3 mark ]
Function: ___________________________________________________________________
00002 00010
END
[ 3 mark ]
10/12
DISCUSSIONS
3 Write the mnemonic code for the following Ladder Diagram
[ 6 marks]
Mnemonic Code:
11/12
12/12