RSLogix Emulate 500: FYI
This 1 line, 2 instruction, ladder code causes a controller fault in the emulator, but always runs perfectly on a Micrologix machine.
---LES N7:11 15 OTL B3:1/[N7:11]
When the emulator tries to compile this code, and N7:11 is >15, then it faults the emulator. That is wrong. The rule is “If the rung evaluates as FALSE, then an OTL instruction does not execute”.
If you load the instruction into the emulator with N7:11 < 15, then it compiles, but when N7:11 becomes >15, it faults.
In a real Micrologix machine, it always runs well.
narlin
This 1 line, 2 instruction, ladder code causes a controller fault in the emulator, but always runs perfectly on a Micrologix machine.
---LES N7:11 15 OTL B3:1/[N7:11]
When the emulator tries to compile this code, and N7:11 is >15, then it faults the emulator. That is wrong. The rule is “If the rung evaluates as FALSE, then an OTL instruction does not execute”.
If you load the instruction into the emulator with N7:11 < 15, then it compiles, but when N7:11 becomes >15, it faults.
In a real Micrologix machine, it always runs well.
narlin