June 13, 2020

Sequential operation of two lamps.

Sequential operation of two lamps.

Application:-Operate two lamps in sequence. There are two lamps in the system and we need to operate it in sequence, hence first L1 will be on and after 10s second L2 will be ON.

Components:-Programmable logic controller, Electrical panel, wires, 24VDC switch with NO contacts, 24VDC solenoid valve, and 24 VDC timer.



















Explanation:-

As per above application, there are two lamps in the system and we need to operate them in sequence. So when lamp on/off button is pressed L1 will be on and second lamp L2 will on after 10 second delay. In this case we need to use on delay timer because we are giving delay between two lamps.


PLC program:-

Write the ladder program for above application using ladder diagram language. Here for ladder logic we can use any supported PLC system like S7-1200, S7-300, S7-1500 or any other PLC which can support this instruction. For PLC logic we need digital inputs and outputs.

For our application on/off switch is digital input and lamps are the digital output. So define digital input address and output address as per below explanation,

Digital inputs:-

Digital Output:-

L1=Q0.0

L2=Q0.1

Memory Coil:-

On/off switch:-M0.0
























PLC program Explanation:-

In network 1, we have used NO contact of lamp ON/OFF (M0.0), so when switch is pressed L1 (Q0.0) will be on immediately.

In network 2, we have used NO contact of L1 (Q0.0) to operate L2 (Q0.1). Here we used on delay timer to provide delay between two lamps.