John,

Looks ok, but it may be something "simple".
You could always do a manual test (and apologies if you have already done this) 
by manually setting the G54-59.3 origins by moving and touching off each in 
turn. You should then be able to go to each origin in turn using G55 G0 X0 Y0 
Z0 and so on.
What happens then?

I can't see it affecting your method, but I find G10 L20 much more convenient 
than the L2 version of that command. It saves calculation because the L2 
offsets should be calculated form absolute machine co-ordinates, whereas L20 
works all that out for you . Drive the controlled point to each fixture 
reference point in turn and touch off at each, before you begin the program. 

Is there a G92 in effect anywhere?
What happens if you put G92.1 at the start of the program?

Regards,

Marcus

On 13 Aug 2013, at 22:39, John Alexander Stewart wrote:

> I'm having a bit of difficulty getting my first attempt at changing machine
> offsets for fixtures.
> 
> I have 9 locations that I want to machine the same things to.
> 
> 1) Synopsys - start LinuxCNC. Home machine. touchoff G54 x/y/z.
> 
> 2) Load in program.
> 
> 3) Load first tool (collet chuck, manually done)
> 
> 4) bring tool down to just above surface.
> 
> 5) touch off Z for G54.
> 
> Nothing on the screen moves. The AXIS display leaves everything "up above".
> 
> I'm used to having AXIS move things down when touching off.
> 
> No touch offs move any of the "fixture locations".
> 
> 
> 
> Here's some of the code -
> 
> 
> ( StarTest-16mm 8/11/2013 7:15:38 PM )
> ( T1 : 1.0 )
> G21 G90 G64 G40
> G0 Z1.0
> (T1 M6)
> (G17)
> (M3 S7000)
> (pause for 2 seconds)
> (G4 P2 )
> 
> (set up 9 positions)
> (respectively G54 G55 G56 G57 G58 G59 G59.1 G59.2 G59.3)
> 
> G10 L2 P1 X00.0 Y0.0
> G10 L2 P2 X19.0 Y0.0
> G10 L2 P3 X38.0 Y0.0
> G10 L2 P4 X00.0 Y17.0
> G10 L2 P5 X19.0 Y17.0
> G10 L2 P6 X38.0 Y17.0
> G10 L2 P7 X00.0 Y34.0
> G10 L2 P8 X19.0 Y34.0
> G10 L2 P9 X38.0 Y34.0
> 
> (drilling centre hole subroutine)
> O888 SUB
> ...
> O888 ENDSUB
> 
> (milling 1mm end mill, outline of valve handle)
> O999 SUB
> ...
> O999 ENDSUB
> 
> ....
> 
> (drill 9 centre holes, tool 10)
> T10 M6
> G17
> M3 S1000
> (pause for 2 seconds)
> G4 P2
> 
> G54
> O888 CALL
> G55
> O888 CALL
> G56
> O888 CALL
> G57
> O888 CALL
> G58
> O888 CALL
> G59
> O888 CALL
> G59.1
> O888 CALL
> G59.2
> O888 CALL
> G59.3
> O888 CALL
> 
> (Mill the handwheels, tool 1mm endmill)
> T1 M6
> G17
> M3 S7000
> (pause for 2 seconds)
> G4 P2
> 
> G54
> O999 CALL
> G55
> O999 CALL
> G56
> O999 CALL
> .....
> G54 x0 y0 z0
> M5
> M30
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead. 
> Download for free and get started troubleshooting in minutes. 
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to