Hello team,

Im using axbbe controller for my cnc router but now i want to buy one more axbbe for a different building im thinking to make. The question i have is about a macroloop with a specific situation. First let me introduce my thoughts. This building will be an robotic arm made out of alouminum and stepper motors. I want this arm to do a specific path which i will write a gcode script. The difficult part for me is that i want this path to start only when an external mechanical switch is pressed continuously and when is unpressed the arm will rest in a specific potition. When the switch will pressed again the gcode script want to start again.So to make it more clear i want this situation: As soon as a pin in my board is high i want my machine to execute a codelist( which I will make with some Goode commands) then when the pin becomes low I want my machine to wait until the pin becomes high again and re do the same codelist and so forth.

Similar Threads: