Erik,
If "copy/paste" means getting the text of a LogixNG, use the Browse option from the Select menu.
Dave Sand
toggle quoted message
Show quoted text
----- Original message -----
Subject: Re: [jmriusers] LogixNG some help requested
Date: Wednesday, May 21, 2025 8:27 AM
I may have figured out a few things. But sadly no copy/past from a LogixNG thread possible?
?
If Then Else Execute on change
If Sensor sensor_001 goes from Active to Inactive
Then Set turnout Turnout_001 to state Straight
Else_If Sensor sensor_002 goes from Active to Inactive
Then Set turnout Turnout_001 to state Divert
?
Correct?
?
The sensor_001 and sensor_002 never can be inactive at the same time due to their wiring (single pole ON-ON switch). Better were two pushbuttons but this is what I have on hand.
?
Alternative would be not an Edge Detection ("..goes from..") but simple 'active' or 'inactive' state.
?
Correct?
?