- Posts: 157
- Thank you received: 4
Thank you.
But if you just want to compare two numbers to see if they differ by less than a certain amount:
Code:O100 IF [ ABS[#100 - #101] LT 0.01] <do stuff> O100 ENDIF https://linuxcnc.org/docs/html/gcode/overview.html#gcode:functions https://linuxcnc.org/docs/stable/html/gcode/o-code.html#ocode:conditional
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Thank you! It's HELPED!!The trick here is probably
Code:O100 while [#<_task> EQ 1.0 AND #<_deltaabs> GT 0.007]
Please Log in or Create an account to join the conversation.