¿ªÔÆÌåÓý

Locked Re: Complex use of logix to ensure a particular order of execution


 

Welcome to the logic of programming. You often need to set several things up simply to get the complicated result. In Logix you can mix AND and OR to make a complex conditional, set it to mixed, I find it easiest to write in the expressions and operators with brackets to nest expressions. One other thing, you can convert a route into a Logix, click the export to Logix at bottom right of the route screen.

There are ways of doing it more automatically with simple signal logic, but I haven't tried that. I'm used to doing this sort of stuff at work and like being in full control with Logix. The modular layouts adds to the complication by having to be able to connect any module to any other. I use variables to pass signal and occupancy between modules, with a single Logix that can easily be edited for a new layout.

Now back to doing the Logix for my new signals. Easier than my other module was, which has full block detection, turnout feedback and multi-headed signals.

Mike

Join [email protected] to automatically receive all group messages.