mainstreetmark
Member
Hello. I'm still on my first major project in S7 and have a rather simple problem that I can't quite put into S7 terms.
The problem is simple: Given a set of 12 points (circuit breakers in this case), that the user has divided up into two group (priority 1, priority 2) and then into 12 unique sequences, how can I confirm that there are no duplicates in the sittings. That is to say, there can't be two Sequence-2's in Priority Group 1.
(In my past PLC efforts, I've done this by comparing the sum and products of the series to known results, which worked well. But, the "Priority group" requirement this time wrenches that idea).
So, no arrays, i guess. No looping either. Recursion seems unlikely. Anybody offer to give me a push down the right direction, so I don't have to enter in 154 different rungs to look at each condition explicitly?
- m
The problem is simple: Given a set of 12 points (circuit breakers in this case), that the user has divided up into two group (priority 1, priority 2) and then into 12 unique sequences, how can I confirm that there are no duplicates in the sittings. That is to say, there can't be two Sequence-2's in Priority Group 1.
(In my past PLC efforts, I've done this by comparing the sum and products of the series to known results, which worked well. But, the "Priority group" requirement this time wrenches that idea).
So, no arrays, i guess. No looping either. Recursion seems unlikely. Anybody offer to give me a push down the right direction, so I don't have to enter in 154 different rungs to look at each condition explicitly?
- m