The bee's knees. Just three branches for each binary search step is so tight: this is why I like Ladder, even though I know ST would be arguably better (e.g. those search steps could be implemented in a 6-count loop).Yes I like the code, after I changed the PLC parameters latch range it worked without problems I even tried it on a real FX3U & worked great, here is the modified in pdf All I have done is replaced the M10 with M8000 & removed M9.
Even though the D> and the DMOV instructions show the integer value of the 32-bits, instead of their floating-point value, this way is so much cleaner.
Really sweet, thanks again!
