Threaded View
-
13-11-2020 #28
Thanks, Dean, that has clarified a few things. After reading the manual quite a few times, I was coming to the conclusion that G28 was effectively "move to machine zero", but with an optional intermediate point. Similar to Mach3 and MyCNC except that these allow a G28 position definition rather than assuming machine zero. I'm used to seeing code that has something like:
G28 G91 Z0
G90
near the end - meaning raise to machine Z0 before going to ref posn in XY, so you don't clout anything on the way. What I'm not sure about (because the manual isn't that easy to understand) is whether this sequence would work on the SZGH controller as there is something about not moving along an axis if it is not specified in the G28, so you would actually need something like:
G28 G91 X Y Z0
G90
- but maybe not!
Looking at G30, I get the impression that it does exactly the same as G28 except that it uses the current work coord zero. But I'm guessing a bit here as the manual is not at all clear. In particular, it describes G28 in detail, then mentions G281/282/283/284 which do the same thing but only in X/Y/Z/A axis. It also talks about G301/302/303/304 which are similar but G30 is not mentioned in this section at all - although it is in the table of recognised gcodes.
So, in practice, on this controller, if you have a fixed position tool setter or tool change position, would you arrange for this to be at machine coord zero, and arrange home switches at limits of travel but with appropriate offsets for the home position? Then G28 would work in the way that we currently know and love (including use of G91/90 as in my code snippet above).
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Upgrade questions fro beaver mill VBRP Mk2 with Anilam Crusader II controls
By Breg90 in forum Milling Machines, Builds & ConversionsReplies: 11Last Post: 25-05-2020, 08:08 PM -
RFQ: Semi automatic welding system Linear beam control system
By richway in forum Projects, Jobs & RequestsReplies: 0Last Post: 24-01-2017, 08:54 PM -
Fix engrave vertical gap or Upgrading laser cutter control card Leetro MPC6515 ?
By Paul Shroom in forum Machine DiscussionReplies: 3Last Post: 18-05-2014, 03:40 AM -
FOR SALE: £500 Vertical milling machine on stand, ready for steppers and control system
By petemono in forum Items For SaleReplies: 0Last Post: 06-02-2014, 09:52 PM -
drive control system
By oadamo in forum General ElectronicsReplies: 1Last Post: 22-05-2011, 07:30 PM
Bookmarks