You are on page 1of 16

OBJECTIVES

• This report will be used to demonstrate the student’s ability to


understand how’s the PLC functional.

• To interpret the students how’s to write program representation.

• How’s to use the software that combined with PLC.

EQUIPMENT

1. PLC.
2. USB wire connection PLC and computer.
3. Power supply to the PLC.
4. Computer.
5. Simatic Manager ( PLC Programming Software)
6. Lamp

PLC (siemens 314-IFM)


Computer (software SIMATIC MANAGER)

SCHEMATIC DIAGRAM

1. AND operation 2. OR operation

S1 Switch 1
S2 Switch 2
Lamp Output device
3. AND before OR operation 4. OR before AND operation

S1 Switch 1
S2 Switch 2
S3 Switch 3
S4 Switch 4
Lamp Output device
PLC PROGAMMING

Task 1: AND operation

LAD (Ladder Diagram)

FBD (Function Block Diagram)


STL (Statement List)

Explanations:

1. Assume E124.0 is a switch 1, E124.1 is a switch 2 and E124.3 is an

output device (lamp). When switch 1 ON, no reaction at the output.


Then, switch 2 is ON, also no have reaction happen on that output
device. Lastly, the switch 1 and 2 is ON, the output have reaction.

RESULT
Switch 1 Switch 2 Output
0 0 0
1 0 0
0 1 0
1 1 1

Task 2: OR operation
LAD (Ladder Diagram)

FBD (Function Block Diagram)


STL (Statement List)

Explanation:

1. Assume E124.0 is a switch 1, E124.1 is a switch 2 and E124.3 is an


output device (lamp). When switch 1 ON, have reaction at the output,
the buzzer connect with the PLC, the buzzer is ON. Then, switch 2 is
ON; also have reaction happen on that output device. Lastly, the
switches both switch are ON, the output device react and the sound is
produce.
RESULT
Switch 1 Switch 2 Output
0 0 0
1 0 1
0 1 1
1 1 1

Task 3: AND before OR operation

LAD (Ladder Diagram)


FBD (Function Block Diagram)
STL (Statement List)

Explanation:

1. Assume S1 is switch for E124.0, S2 is switch for E124.2, S3 is switch

for E124.1, S4 is switch for E124.3, and L stand for A124.4 is output
device (lamp). As we can see, when we switch on switch S1 and S2,
the lamp will turn on automatically. This is because the electricity can
flow trough the circuit that we create on PLC programming. When we
turn on S3 switch and S4 switch, the lamp also produce the same
result like the statement below.

2. When we turn switch S1 and S4, there no action happen on the output

devices (lamp). This because there no connection between this switch


on the circuit that we program on programming. When we turn S2 and
S3, same result will happen like the above statement.
RESULT
Switch 1 Switch 2 Switc3 Switch 4 Output
0 0 0 0 0
1 0 0 0 0
0 1 0 0 0
0 0 1 0 0
0 0 0 1 0
1 0 0 1 0
0 1 1 0 0
1 0 1 0 1
0 1 0 1 1
1 1 1 1 1

TASK 4: OR before AND operation

LAD (Ladder Diagram)


FBD (Function Block Diagram)
FBD (Function Block Diagram)
STL (Statement List)

Explanation:

1. Assume S1 is switch for E124.0, S2 is switch for E124.2, S3 is switch


for E124.1, S4 is switch for E124.3, and L stand for A124.4 is output
device (lamp). As we can see, when we switch on switch S1 and S3,
the lamp will turn on automatically. This is because the electricity can
flow trough the circuit that we create on PLC programming. When we
turn on S2 switch and S4 switch, the lamp also produce the same
result like the statement below.

3. When we turn switch S1 and S4, the lamp will switch on. This is

because there has connection between this switch on the circuit that
we program on programming. When we turn S2 and S3, same result
will happen like the above statement.
RESULT
Switch 1 Switch 2 Switch 3 Switch 4 Output
0 0 0 0 0
1 0 0 0 0
0 1 0 0 0
0 0 1 0 0
0 0 0 1 0
1 0 1 0 1
0 1 0 1 1
1 1 0 0 1
0 1 0 1 1
1 1 1 1 1
CONCLUSION

You might also like