![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Haas Mills Discuss Haas machinery here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#2
| |||
| |||
| G52 creates a local work zero with reference to the active work zero. You are using G56 to machine something and then want to repeat the program 4 inches over. Make the program a subroutine and call it after selecting the work zero. O00000 (sample prog) all the normal stuff G56 M97 P1000 (set G56 and go to subroutine) G52 X4. Y0. Z0. (return from subroutine and set a G52 work zero at X4.) M97 P1000 all the normal stuff M30 ------ N1000 Your program M99 You could also do it be resetting G56 using a G10 command.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#3
| |||
| |||
Thanks a bunch ...I'm going to make some test programs The program I want to do is on the Hard drive and 6 megs |
|
#4
| |||
| |||
|
Ah, that might create problems. You are going to DNC from the hard drive? I don't think you can use subroutines the same way as you can when the program is in the machine memory.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#7
| |||
| |||
|
Because I don't want too. ![]() Using G10 to reset your primary work zero is entirely equivalent. My main reason for not using G10 is that if you stop a program part way through you are left with whatever the current coordinates are in your primary work zero and this could cause problems. G52 is zeroed when RESET is pushed so you are back to your known work coordinates.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |