You are on page 1of 27

NOTE-7 PLC

LADDER DIAGRAM
Aulia El Hakim, S.ST.,M.T
PURPOSE
• Memahami konsep Ladder diagram pada PLC Siemens S7-300
• Memahami konsep SET-RESET (SR) DAN RESET-SET INSTRUCTIONS
• Memahami konsep Positive and negative edge instructions
OUTLINE
KONSEP PEMROGRAMAN LADDER DIAGRAM

INTERLOCK

SET-RESET (SR/RS) INSTRUCTIONS

Positive and negative edge instructions


HARDWARE PLC SIEMENS S7-300
MODUL Tipe ID Number
Power Supply ( PS) PS 307 2A 307-1BA01-0AA0
CPU CPU315-2DP 315-2AH14-0AB0
Digital input (DI) DI 16 X DC24 V 321-1BH02-0AA0
Digital Output (DO) DO 16XDC24V / 0.5A 322-1BH01-0AA0
Analaog Input (AI) AI 2X12BIT 331-7KB02-0AB0
Analaog Output (AO) AO 2X12BIT 332-5HB01-0AB0
Example-1 AC Asynchronous motor start and stop circuit

PLC cable Connection

Power and control connection


Example-1 AC Asynchronous motor start and stop circuit
PLC cable Connection

Tag Table
Symbol Address Comment

S0 I0.0 Stop

F2F I0.1 Over current

S1 I0.2 Start

K1M Q0.0 Contactor


TUGAS
The control of a hydraulic press shall be realized by PLC. The press head is up and when the start
button is pressed, the head will go down and it will go up when the signal indicating that it is
completely down is received. A double-acting cylinder will be used for the movement of the press
head, and a 5/2 valve with a double-sided coil actuator for the control of the cylinder.

Write the Ladder Diagram?


Tag Table
Symbol Address Comment

Start I0.0 Start button (NO)

Press_Up I0.1 Press head above (S1)


Sensor
Press Down I0.2 Press head below (S2)
Sensor
Press Down Q0.0 Press head down (Y1)

Press Up Q0.1 Press head up (Y2)


Electrical and simulation
Solusi → Ladder Diagram
Detent Switch
Latihan
• The control of a pneumatic press shall be realized by PLC, When the start button is pressed, the press head
will go down, it will go down when it is completely down or when the stop button is pressed. A double acting
cylinder will be used for the movement of the press head and a spring return 5/2 valve for the control of the
cylinder. Write the PLC program - ladder
S1
Symbol Address Comment
Start I0.0 Start button (NO) S2
Stop I0.1 Stop button (NC)

Press Up I0.2 Above Press head (S1)


Sensor
Press Down I0.3 Press head below (S2)
Sensor
Press Down Q0.0 Press head down (Y1)
Electrical and
simulation - STOP
INTERLOCK
Electrical and
simulation –
START
SET-RESET INSTRUCTIONS
example:
• A grinding machine has two separate motors that operate the grinding wheel and the coolant pump. The
motors will be controlled with their own start and stop buttons. However, in order for the sanding stone to
work, the pump must be running and the stone must be stopped to stop the pump In addition, the grinding
wheel motor will be protected by a thermal. (In addition, the grinding wheel motor will be protected by an
overcurrent relay.)
Tag Table
Symbol Address Comment
Grinding Start I0.0 Grinding Start button (NO)
Grinding Stop I0.1 Grinding Stop button (NC)
Pump Start I0.2 Pump Start button (NO)
Pump Stop I0.3 Pump Stop button (NC)
Thermal I0.4 Overcurrent relay (NC)
Grinding motor Q0.0 Grinding motor is run
Pump motor Q0.1 Pump motor is run

festo-note-Istanbul-Turkey
Solution: Ladder Diagram

festo-note-Istanbul-Turkey
Soal 1
• 3-phase asynchronous motor will
be operated in the forward
direction with "forward_button"
and in the reverse direction with
"reverse_button". It will also stop
when the "stop" button is pressed.
It will not work in one direction but
stop in the other direction. In
addition, the motor will be
protected by the "overcurrent"
relay (F2)
Tag Table
Symbol Address Comment

S0 I0.0 Stop

F2F I0.1 Over current

S1 I0.2 Forward direction

S2 I0.3 Reverse direction

K1 Q0.0 Forward direction


Contactor
K2 Q0.1 Reverse direction
Contactor
Positive and negative edge instructions

festo-note-Istanbul-Turkey
Positive and negative edge instructions
Positive and negative edge instructions
Positive and negative edge instructions
Example:
Example:
• An assembly tape will start to rotate by pressing the start button and the tape will stop when a signal indicating
that the part on the tape is in front of the worker is received. The worker will perform the operation without
removing the part, then restart the belt motor by pressing the start button again. When the new part arrives, the
band will stop and start again with the start button.
Assignment List (Tag Table)
Operand Symbol Description (Comment)

I 0.0 start Start button (NO)

I 0.1 stop Stop button (NC)

I 0.2 sensor Part detection sensor (NO)

Q 0.0 motor Belt motor


Solusi

A B C
Soal 2!
• A trolley will move in the other direction if it stops in any end position and the start switch is excited. When
it warns the limit switch on the opposite side, it will return to the direction it came from. This movement will
continue until the warning of the start switch is removed. When the start switch is turned off, it will arrive at
its last location and wait there.
• Power failure, breakdown etc. If the car is left in the middle for reasons, it will continue in the same direction
as when the energy comes (use Non-volatile memory--- retain memory)

Detent
Switch

You might also like