Quote from
Dobbelju on 23 December 2025, 20:54
Hello!
I dont know if the IF statement like in FANUC work.
But there is an option which works in a similar way, pared with an macro.
You can use machineParams.
In the GCode can be used:
#1001 M900
"#1001" is the machineParam number, there can be written an value (as a number) - 1001 is just an example, you can use many machine params.
M900 can be the the execution ( when param 1001 equals 1, then goto 10 - would be easy to code in python)
Hope this helps
Regards
Dobbelju
Hello!
I dont know if the IF statement like in FANUC work.
But there is an option which works in a similar way, pared with an macro.
You can use machineParams.
In the GCode can be used:
#1001 M900
"#1001" is the machineParam number, there can be written an value (as a number) - 1001 is just an example, you can use many machine params.
M900 can be the the execution ( when param 1001 equals 1, then goto 10 - would be easy to code in python)
Hope this helps
Regards
Dobbelju