The Plc Kid
Member
I need some guidance on writing a sequencing program and I really don’t want to use the sequencer instruction.
This is a slc 5/04 processor and it is used for an oiling system. This system has 8 zones and all zones are not always active and that is where the difficulty begins.
The valve for each zone needs to open from between 1 to 85 seconds and when a zone becomes active its time put into the step sequence. For example let’s say we have zones 1, 3, 5 active and the time for each of the zones is 10 seconds. Now later zones 2 and 4 become active and their time is 60 seconds this needs to be put into the sequence.
All these zones run off 1 psi pump. So how is the best way to build a simple easy to follow sequencer and how the best way to enable and disable zones and put those times in and out of the sequence.
When a zone is not active I would like to skip its time and move to the next zone.
I have written an entire program for this machine my first project this big and I have been banging my head all day to get to the best and cleanest solution to do this.
I just want to get it right the first time. Can someone give some example that may apply or be similar?
I just need a point or a shove in the right direction
This is a slc 5/04 processor and it is used for an oiling system. This system has 8 zones and all zones are not always active and that is where the difficulty begins.
The valve for each zone needs to open from between 1 to 85 seconds and when a zone becomes active its time put into the step sequence. For example let’s say we have zones 1, 3, 5 active and the time for each of the zones is 10 seconds. Now later zones 2 and 4 become active and their time is 60 seconds this needs to be put into the sequence.
All these zones run off 1 psi pump. So how is the best way to build a simple easy to follow sequencer and how the best way to enable and disable zones and put those times in and out of the sequence.
When a zone is not active I would like to skip its time and move to the next zone.
I have written an entire program for this machine my first project this big and I have been banging my head all day to get to the best and cleanest solution to do this.
I just want to get it right the first time. Can someone give some example that may apply or be similar?
I just need a point or a shove in the right direction