Hey all. First at all I´m newbie to cnc and sorry for my bad english, I´m from Denmark. I have a Piranha CNC 1515 with Openbuilds Blackbox and with Openbuilds Blackbox interface, fantastic machine and works great, but I have a problem I hope you maybe can solve for me. Then I startup the cnc machine, I always standard homes all Axis to set zero for all axis. Then I run my start position gcode on the openbuilds interface with a gcode to get the new position for the axis before loading the mill program, but the interface reads Gcode G92 X0 Y0 Z0 in the gcode but goes back to the original home coordinates. But after the machine have reach the position and reads G92 X0 Y0 Z0 the interface shows the new position X0 Y0 Z0 but 2 sec after it goes back to X198 Y48 Z0 and I need to manuel setzero for all axis. What have I done wrong ? My gcode for the start position looks like this: G1 F800 Z0 G1 F2000 Y48 G1 F2000 X198 G92 X0 Y0 Z0 I use this start position gcode because I´m milling parts on a plastic unit there are centret between the machine work area. Best Regards Stig Lindberg.
Sets G53 and G54, good so far. See G Codes Are you sure you want to use G92? It is odd choice? i would: Home G0 to where you want the origin (perhaps in G53, or as relative moves in G54) G10 L20 X0 Y0 Z0 to set Work Zero there Could skip the G0 step too and set the correct offset values in the G10 command too See G Codes
once you have used 'setzero' the blackbox remembers the offsets, even through power down. Therefore you do not need to set the offsets after every home, it already 'knows'. so if your boxes are always in the same place you never need to change the offsets. I would avoid G92, it can have unforseen sideeffects. Those are relative moves, relative the the previous 'setZero' or G92. I would not do this.