I agree that in simulation the code stops at Step 8, but in the NJ-501 processor I had issues with the program stopping at Step 7
and ST8_SB_Stage1_Pass would not move a 1 during Step 6
The current code only "resets" ST8_SB_Stage1_Pass at Step 1 by moving a zero, sorry, I accidentally omitted this in the sample.
I am actually curious if the PLC was bogged down and the memory area for the variable was simply not written to during the sequencer.
I had to increase the periodic task to 2ms due to some overhead issues and non management of priorities on my part.
Back to my original question:
Question: Is the execution time of an In-line ST faster than using move statements? (or better said execution time of move statements?)