Sunteți pe pagina 1din 24

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. SR memory 2. RS memory

S1 Switch 1 (normally open)


S2 Switch 2 (normally close)
K2 Relay

2. 3 Lamp Operation
S1 Switch 1 (open and close)
S2 Switch 2 (open and close)
S3 Switch 3 (open and close)
S4 Switch 4 (stop button)
K1 Relay (normally open)
K2 Relay (normally open)
K3 Relay (normally open)

PLC PROGAMMING
Task 1: SR memory

• LAD (Ladder Diagram)

Figure 1: normal condition

Figure 2: SW 1 trigger ON

• FBD (Function Block Diagram)


• STL (Statement List)
Explanation: Assume switch 1 (S1) E124.0, switch 2 (S2) E124.1, and
output devices (lamp) A124.0. When we trigger on the S1 the lamp will turn
on and the automatically the circuit in latching mode (holding mode). When
we trigger S2, all electric current will cut off and lamp will turn off.

RESULT

Switch 1 Switch 2 Relay Output device


0 1 0 0
1 0 1 1
0 0 0 0

Task 2: RS memory
• LAD (Ladder Diagram)

Figure 1: Circuit in normal condition

Figure 1: when S1 trigger ON

• FBD (Function Block Diagram)


• STL (Statement List)
RESULT

Switch 1 Switch 2 Relay Output device


0 1 0 0
1 0 1 1
0 0 0 0

Explanation:
We assume E124.2 is switch button 1 (S1), E124.3 is switch button
2 (S2), and output device (lamp) is A124.2. RS memory is opposite
of SR memory. If we trigger on S1, the lamp will turn ON in
latching mode (holding mode). Then when we trigger S2, all
electricity in the circuit will cut off and the lamp will turn off. The
concept of RS memory same like SR memory. But the difference
of this two memory is the location to trigger on or off the output
devices.

Task 3: 3 Lamp Operations


LAD (Ladder Diagram)
• S1 in normal condition

• S2 in normal condition

• S3 in normal condition
• When S1 trigger ON

• When S2 trigger ON
• When S3 trigger ON
• FBD (Function Block Diagram)
• STL (Statement List)
RESULT
Red Yellow Green
Lamp Lamp Lamp

Switch 1 0 1 0 0 0

Switch 2 0 0 1 0 0

Switch 3 0 0 0 1 0
Switch 4
1 1 1 1 0
(close)
Relay 1
0 1 0 0 0
(open)
Relay 2
0 0 1 0 0
(open)
Relay 3
0 0 0 1 0
(open)
Output device 0 1 1 1 0
Switch 1
1 0 1 1 1
(close)
Switch 2
1 1 0 1 1
(close)
Switch 3
1 1 1 0 1
(close)

Task 3 Explanation:
We assume that E124.1 is S1, E124.2 is S2, E124.3 is S3, and the
output device for red lamp is A124.4, yellow lamp is A124.5, and
green lamp is A124.6 and the Stop button is E124.0. When we
trigger ON the S1, all the output device (yellow and Green lamp)
will turn off. Then when we trigger ON S2, all the output device
(red and green lamp) will turn off. Lastly, when we trigger ON the
S3, the Red and yellow lamp will turn off. This is because there
have connection between these lamps to make only one lamp will
turn ON in one time. When we trigger on Stop button, all the lamp
and all the electricity in this circuit will turn off and cut out

Task 4: SR MEMORY (3 Lamp Operations)


LAD (Ladder Diagram)
• When S1 in normal condition

• When S1 Trigger on

• When S2 in normal condition


• When S2 trigger on

• When S3 normal condition


• When S3 in trigger on

• FBD (Function Block Diagram)


• STL (Statement List)
RESULT
Red Yellow Green
Lamp Lamp Lamp

Switch 1 0 1 0 0 0

Switch 2 0 0 1 0 0

Switch 3 0 0 0 1 0
Switch 4
1 1 1 1 0
(close)
Relay 1
0 1 0 0 0
(open)
Relay 2
0 0 1 0 0
(open)
Relay 3
0 0 0 1 0
(open)
Output device 0 1 1 1 0
Switch 1
1 0 1 1 1
(close)
Switch 2
1 1 0 1 1
(close)
Switch 3
1 1 1 0 1
(close)

3lamp operation Explanation:

We assume that E124.1 is S1, E124.2 is S2, E124.3 is S3, and the
output device for red lamp is A124.4, yellow lamp is A124.5, and
green lamp is A124.6 and the Stop button is E124.0. When we
trigger ON the S1, all the output device (yellow and Green lamp)
will turn off. Then when we trigger ON S2, all the output device
(red and green lamp) will turn off. Lastly, when we trigger ON the
S3, the Red and yellow lamp will turn off. This is because there
have connection between these lamps to make only one lamp will
turn ON in one time. When we trigger on Stop button, all the lamp
and all the electricity in this circuit will turn off and cut out.

Conclusion for Task 4:


At the last of this task, we can be able to differentiate the
advantage of uses traditional type or PLC. From this task, we also
can know the easiest way to do holding mode (latching mode) in a
PLC circuit such as RS and SR memory function and from this
task, we can be able to do cross section circuit. Mean 1 lamp will
operate in one time in lathing circuit.

S-ar putea să vă placă și