Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Neal Nelson

Pages: [1]
1
Technical support / Re:Ladder outputs not executing
« on: November 23, 2008, 08:36:33 PM »
OK, here's a simpler example:

If I have a rung that has a latch and unlatch as it's outputs. There seem to be two issues here:

1. Sometimes the result seems dependent on the ordering of the outputs if they are included in the rung condition. For example if I have a run condition containing x, if I clear x as the first output, the second output doesn't seem to run. This is incorrect as once a rung condition is true all outputs of the rung must be executed. The rung condition should not be reevaluated until the next cycle.

2. Sometimes a second output of a rung isn't run whereas in others it is. In my current code I have some rungs that I have had to split into two as they don't work, whereas similar rungs do in other parts of the code. This seems to change as the surrounding code is modified and I can't find a general pattern as to why.

This behaviour has caused me much confusion and slowed my development down considerably.

2
Technical support / Ladder outputs not executing
« on: November 23, 2008, 02:55:04 PM »
I'm having problems with Trilogi 6.14 and a T100MD+ where my ladder outputs are not being consistently executed. For example; if I have two differentiate up calls on the output of a rung, only the first might be called but if I modify the program elsewhere, the might both be called.

This happens for latching and clearing relays and outputs as well.

This appears to be a bug in the ladder compiler I'd say as if a rung is true, *all* outputs must be executed, regardless of what may happen during the execution of that output.

Does anyone know why this may be happening or if it will be fixed in Trilogi?

Pages: [1]