Hello I have built a backstop for my brake press but I'm having problems creating G code program that I can then save for future jobs how do I even start the program off all I have is one axis Y that goes in and out. All I want to do is make programs it for different stops for different parts i was thinking Y100 Y20 Y-20 etc so its moves 100mm then 20mm then back 20mm do i need to get certain software to write this for the open builds controller?
you can create Gcode macros for OpenBuildsCONTROL you can move in absulute mode (the default) G21 G90 G0 Y100 moves to the position 100mm from the WCS zero position (1) similarly G21 G90 G0 Y200 moves to 200mm from the zero position You can move incrementally G21 G91 G0 Y10 moves 10mm in the positive direction (like the jog buttons do, do you actually need more than the jogs buttons?) G21 G91 G0 Y-10 moves 10mm back (toward 0) note that I am putting the modal commands G21 and G90 or G91 in every macro, this is the safest way to do it as you don't know what the previous command was unless you check it everytime. I cannot remember to do that but I can remember to always put the command I want into the macro and knwo that it will always work. This is how all macro programs should start, setting the modes you need, metric/inch,abs/inc,plane (G17) and so on. (1) the WCS zero is wherever YOU set it. search these forums for 'fake the home' for info on howto and making this easy and repeatable.
Alternatively, instead of writing commands, you could modify the Saw Stop macro to be a Press Brake Backstop macro. Getting started with Javascript Macros in CONTROL / Library of Macros created by the community