Professional Documents
Culture Documents
PLC: ASSIGNMENT 2 2
Name Marks
Instructor /
Lecturer DR MUZAIDI OTHMAN @ MARZUKI
1.
2.
3.
5.
B. Design a PLC program that will allow four momentary push buttons in a workshop, to control a
motor. If any three of the push buttons is pushed once, the motor will rotate. However, to turn OFF
the motor, another push button is pressed once. The input/output assignment to be determine as in
table below:
Input Output
Input Device Output Device
assignment assignment
Push button 1 00000
Push button 2 00001
MOTOR 01000
Push button 3 00002
Push button 4 00003
Ladder Diagram:
Mnemonics Code:
00000 LD 00000
00001 OR 00001
00002 OR 00002
00003 OR 01000
00004 AND NOT 00003
00005 OUT 01000
00006 END