Internet PLC Forum
General => Technical support => Topic started by: DLUN on May 03, 2011, 02:10:59 PM
-
Hello.
I have a question about my latter logic. My program is made so that when it starts I can press F2 (on key pad) to enter sequence 2. Then every consequitive answer should increment the latter logic. The problem I have is that when I enter the sequence 2 latter logic, if I press key 1 (on key pad) the program sends me to Seq2:31 in my program.
Seq2:0 only has a setLCD command in it.
Any thoughts.
Cheers
-
The step number that a sequencer can go through is 0 to 31. Your program goes beyond 31 and that's is a problem.
If you need more than 32 steps you can cascade two sequencers, e.g. one sequencer from 0 to 31 and second sequencer from 0 to 9. Each second sequencer is advanced one step at a time until it rolls over from 9 to 0 and it increments the other sequencer. This way the two sequencers gives you a total of 320 steps.