Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: jon@daysite.net on May 01, 2015, 02:22:40 PM

Title: Z Axis not moving afer loading GCode
Post by: jon@daysite.net on May 01, 2015, 02:22:40 PM
Machine jogs properly, with arrow keys and PgUp and PgDn.  After the GCode is loaded, can't jog Z Axis with PgUp and PgDn.  The machine will run the code, but kind of hard to zero the z axis.

Anyone have any ideas.   Have been looking similar issues for a couple of days now.

Mach 3
3 axis router NO ATC
BobCad

Thanks....
Title: Re: Z Axis not moving afer loading GCode
Post by: jon@daysite.net on May 05, 2015, 01:46:41 PM
anyone?
Title: Re: Z Axis not moving afer loading GCode
Post by: TPS on May 05, 2015, 02:29:46 PM
pls post Your G-code

Thomas
Title: Re: Z Axis not moving afer loading GCode
Post by: greenene on May 06, 2015, 05:28:15 AM
I've attached a snipped of my code.  Again, there must be something I failed to check in the config file.  The code has not changed and the program runs fine. It's only when , in the middle of the program, I stop the machine and need to jog an axis that I am not able to jog it.
tony
( T1 |  1/8 FLAT ENDMILL | H1 )
( T2 |  3/16 FLAT ENDMILL | H2 )
N100 G20
N102 G0 G17 G40 G49 G80 G90
( DRILL )
N104 T1 M6
N106 G0 G90 G54 X-2.407 Y.6902 A0. S2139 M3
N108 G43 H1 Z.1
N110 G99 G83 Z-.765 R.1 Q.06 F26.11
N112 X0. Y1.304
N114 Y-1.304
N116 G80
N118 M5
N120 G91 G28 Z0.
N122 A0.
N124 M01
( SPIRAL )
N126 T2 M6
N128 G0 G90 G54 X.1907 Y.5248 A0. S4278 M3
N130 G43 H2 Z.25
N132 Z.2
N134 G1 Z-.05 F16.16
N136 X.1456 Y.5433 F26.16
N138 X.0984 Y.5581
N140 X.0498 Y.5687
N142 X0. Y.575
N144 X-.0505 Y.577
N146 X-.1013 Y.5745
Title: Re: Z Axis not moving afer loading GCode
Post by: TPS on May 06, 2015, 05:41:23 AM
Hi Tony,

ok i was on the wrong road.

can you check  CONFIG -> GENERAL CONFIG -> Jog modus allways active

hope it named so, because i have a German Version.

Thomas
Title: Re: Z Axis not moving afer loading GCode
Post by: jon@daysite.net on May 12, 2015, 08:34:34 AM
Have been going round and round on this..... ughhhhh! 

When I load the roadrunner sample GCode, all works properly.  However when GCode from my BobCAD gets loaded, the Z axis will not move with the PageUp / PageDown keys.  The code runs properly, but can't zero the z axis.

Here is the header and first few lines of GCode.


(BEGIN PREDATOR NC HEADER)
(MACH_FILE=HAAS - 3XVMILL.MCH)
(MTOOL T1 S1 D.25 C0. A0. H2.5)
(SBOX X0. Y0. Z-1.5 L16. W3.5 H1.5)
(END PREDATOR NC HEADER)

%
O100
(PROGRAM NUMBER)
(PROGRAM NAME - COLLETRACK2.NC)
(POST -  MACH 3 MILL NO ATC)
(DATE - FRI. 05/01/2015)
(TIME - 04:29PM)

N01 G20 G40 G49 G54 G80 G90 G91.1
;N02 G53 Z0.

(Machine Setup - 1  Pocket)
(FEATURE 2 AXIS)

;N03 T1 M6
N04 S3819 M03
N05 G00 G90 G54 X1.025 Y2.75
;N06 G43 H1 Z1. M08
N07 Z.2
N08 Z.1
N09 G01 Z0. F45.8366
N10 Z-.25
N11 G17 G03 X.975 Y2.75 I-.025 J0. F91.6732
N12 X1.025 Y2.75 I.025 J0.
Title: Re: Z Axis not moving afer loading GCode
Post by: Overloaded on May 12, 2015, 08:54:16 AM
The BCad file loads completely ... with no errors ?
Only the Z is inhibited ? ? ?  not the x or y ?
Can you post the complete file ?

Russ
Title: Re: Z Axis not moving afer loading GCode
Post by: Overloaded on May 12, 2015, 09:51:51 AM
  The code runs properly, but can't zero the z axis.

You can zero the axis before you load the code.

Might also post your XML so someone can check your configuration.

Russ
Title: Re: Z Axis not moving afer loading GCode
Post by: jon@daysite.net on May 12, 2015, 02:00:11 PM
Thanks for the quick reply!

Yes, Z axis jogs just fine until the GCode is loaded, then Z can't be jogged.

X and Y axis work before and after loading GCode.

Complete GCode attached.  XML on next post


Thanks again!
Title: Re: Z Axis not moving afer loading GCode
Post by: jon@daysite.net on May 12, 2015, 02:04:36 PM
and here is the XML file
Title: Re: Z Axis not moving afer loading GCode
Post by: Overloaded on May 12, 2015, 03:19:16 PM
I don't see any problems with it here.   R3.043.022
All appears to work well (nice rack too !).
Maybe someone else will have a look and chime in.
Regards,
Russ
Title: Re: Z Axis not moving afer loading GCode
Post by: BR549 on May 12, 2015, 09:09:36 PM
IS this a LPT version or an outside controller version ?

NcUsbPod-XHC-Mach3-USB-Motion-Card    >>>

GUYS you really need to ASK about the controller UP front or spend time running in circles . The NCpod has been obsolete for years now and it never worked 100%.

Just a thought, (;-) TP

(;-) TP
Title: Re: Z Axis not moving afer loading GCode
Post by: Overloaded on May 13, 2015, 09:27:17 AM
Good point TP, will keep that in mind, thanks.

btw .... where did you find "NcUsbPod-XHC-Mach3-USB-Motion-Card    >>>" ? ? ?

I didn't see it in any post ... or the xml. ? ? ? ?

Thanks,
Russ
Title: Re: Z Axis not moving afer loading GCode
Post by: BR549 on May 13, 2015, 12:10:41 PM
IT IS in the XML (;-)


</Preferences>
- <Mach3Mill>
  <WPVB>680</WPVB>
  <WPVT>13</WPVT>
  <WPVL>219</WPVL>
  <WPVR>1225</WPVR>
  </Mach3Mill>
- <Control>
  <Device>NcUsbPod-XHC-Mach3-USB-Motion-Card</Device>
  </Control>
- <VideoPlugIn>
  <DROcolor>0</DROcolor>
  <TOOLcolor>8421440</TOOLcolor>
  <CROSScolor>4194304</CROSScolor>
  <ShowTool>1</ShowTool>
  <ShowMousePos>1</ShowMousePos>
  <ShowAxisPos>1</ShowAxisPos>
  <ToolDia>0.5</ToolDia>
  <ScaleFactor>2.e-003</ScaleFactor>
  <FlipAxis>0</FlipAxis>
  </VideoPlugIn>
- <Pod>
  <DripSel>0</DripSel>
  <GBufTime>512</GBufTime>
  <FSlect>16</FSlect>
  <HomeLimitEn>0</HomeLimitEn>
  <Config>1</Config>
  <PulsCntPeroate>2</PulsCntPeroate>
  <Homing>1</Homing>
  <pulseHz>4</pulseHz>
  <XPullOff>5.0000</XPullOff>
  <YPullOff>5.0000</YPullOff>
  <ZPullOff>5.0000</ZPullOff>
  <APullOff>5.0000</APullOff>
  <BPullOff>5.0000</BPullOff>
  <CPullOff>5.0000</CPullOff>
  </Pod>


(;-) TP
Title: Re: Z Axis not moving afer loading GCode
Post by: Overloaded on May 13, 2015, 01:40:54 PM
OK ... I see it now. Totally overlooked it,  ::) thanks TP.