![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Parametric Programing (custom macro b, fadal macro, okuma user task) |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#5
| ||||
| ||||
| I'm not quite sure if this is what you are trying to do, but... On a 21iM-B: #5021 is the current machine position in X #5022 is the current machine position in Y #5321 is the X value for G59 #5322 is the Y value for G59 G91 G28 X0 Y0 (MOVE X AND Y TO HOME) #5321 = #5021 (SET G59 X TO CURR MACH POS) #5322 = #5022 (SET G59 Y TO CURR MACH POS) |
| Sponsored Links |
|
#6
| ||||
| ||||
| Hi In the procedure mentioned, we need to go to call a home position return command first & than use #5321=#5021 But is there any other way to directly set the Work offset as Home Position. I think this may work - #5321=0.0 #5322=0.0 G90 G59 X-15.0 Y-15.0 This will directly locate the spindle on a position offset by 15 mm from the machine home position. Your comments/suggestion please. Ash |
|
#12
| ||||
| ||||
| So, after G53 If i command G54 it will follow the G54 coordinate system...aM i Right ? Is there any fuss to restore the Zero Position just like G92 which is a temporary shift command ? Is G53 preset as machine zero by the controller or we need to define it. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| setting work offset(G54 etc) | dek | Machinist Feedback | 1 | 04-06-2010 09:17 PM |
| How setting tools and setting offset | John246 | Sharp CNC | 9 | 03-17-2010 09:31 PM |
| Testing program for Macro (Fanuc Macro B) | NickDP | Fanuc | 2 | 03-27-2009 03:15 PM |
| Need help on setting up a macro | mgb1974 | G-Code Programing | 11 | 04-17-2008 09:31 AM |
| macro program for work offset | cncwhiz | Fanuc | 4 | 12-14-2007 06:28 AM |