Thesis
Member
Hi!
I am having trouble writing ladder logic for this particular problem.
It involves setting up a PLC control for five sets of state lights for an auditorium. For a particular stage production, the various acts and scenes require 6 different lighting sequences, each involving a different combination of the five light sets.
Here is the way the sequence goes:
STEP 0|STEP 1|STEP 2|STEP 3|STEP 4|STEP 5|STEP 6
LIGHTS1 XXXXX XXXXX XXXX
X
LIGHTS2 XXXXX XXXXX XXXXX
LIGHTS3 XXXXX XXXXX XXXXX XXXXX
LIGHTS4 XXXXX XXXX
LIGHTS5 FLASH FLASH FLASH FLASH
The two inputs I decided are STEP (momentary N/O pushbutton) which makes PLC step to the next sequence and UPDN which makes the sequence advance when ON and reverse when OFF (reverse is used for repeating sequences during rehearsal).
on the table X means on. Lights1 - LIghts5 are the outputs.Lights 5should flash continuously for 0.3 seconds ON and 0.3 seconds OFF when activated. The Sequence needs to be forward, reverse and circular. When you go forward Step 0 follows Step 6 and in reverse step 6 Follows step 0, etc)...
Appreciate any help, guys. Thanks.
PS I can't get the table to come out formatted right.
LIGHTS1 is supposed to be activated on Steps 1, 2, and 5
LIGHTS2 is supposed to be activated on Steps 1, 2, and 4
LIGHTS3 is supposed to be actvated on Steps 2, 4, 5, and 6
LIGHTS4 is supposed to be activated on Steps 1, and 5
LIGHTS5 is supposed to be activated on Steps 1, 2, 4, and 5 (flashing when activated at 0.3 second intervals)
I am having trouble writing ladder logic for this particular problem.
It involves setting up a PLC control for five sets of state lights for an auditorium. For a particular stage production, the various acts and scenes require 6 different lighting sequences, each involving a different combination of the five light sets.
Here is the way the sequence goes:
STEP 0|STEP 1|STEP 2|STEP 3|STEP 4|STEP 5|STEP 6
LIGHTS1 XXXXX XXXXX XXXX
X
LIGHTS2 XXXXX XXXXX XXXXX
LIGHTS3 XXXXX XXXXX XXXXX XXXXX
LIGHTS4 XXXXX XXXX
LIGHTS5 FLASH FLASH FLASH FLASH
The two inputs I decided are STEP (momentary N/O pushbutton) which makes PLC step to the next sequence and UPDN which makes the sequence advance when ON and reverse when OFF (reverse is used for repeating sequences during rehearsal).
on the table X means on. Lights1 - LIghts5 are the outputs.Lights 5should flash continuously for 0.3 seconds ON and 0.3 seconds OFF when activated. The Sequence needs to be forward, reverse and circular. When you go forward Step 0 follows Step 6 and in reverse step 6 Follows step 0, etc)...
Appreciate any help, guys. Thanks.
PS I can't get the table to come out formatted right.
LIGHTS1 is supposed to be activated on Steps 1, 2, and 5
LIGHTS2 is supposed to be activated on Steps 1, 2, and 4
LIGHTS3 is supposed to be actvated on Steps 2, 4, 5, and 6
LIGHTS4 is supposed to be activated on Steps 1, and 5
LIGHTS5 is supposed to be activated on Steps 1, 2, 4, and 5 (flashing when activated at 0.3 second intervals)
Last edited: