Hello Guest it is March 28, 2024, 01:29:37 PM

Author Topic: 'run from here' not working as expected  (Read 5675 times)

0 Members and 1 Guest are viewing this topic.

'run from here' not working as expected
« on: March 05, 2014, 09:13:03 AM »
The code below has an 'M00' line after a few initial axis moves, to provides a break in which to judge whether to repeat those moves (by running again from line 5, 'G91'), or alternatively to continue through the code (by running from line10, 'G90'):-

G21
G90
G64
G00 A0.2 F2500
G91
G01 A0.2 Z15
G01 A-0.4
M00
( !!!!! ZERO Z AXIS NOW!!!! )
G90
G01 X10 etc

The lines up to M00 execute initially, but I'm unable to then choose which line I want to run from. I originally thought I could just scroll back up (or down to the next line), until the correct line number appeared in the DRO, and press 'run from here', and it would 'run from here'... But this just scrolls back through the initial few lines of code and then stops.

I've consulted the manual, forum and FAQ's on this, to no avail. I appear to have had the wrong idea about what 'run from here' does, but unfortunately none of the other buttons seem to perform this apparently simple task either.

Can somebody explain to me what I should do to choose a line and run from it? It feels like it should be very simple.
Re: 'run from here' not working as expected
« Reply #1 on: March 05, 2014, 10:35:12 AM »
After it auto scrolls to the designated line, check you Status line at the bottom of the screen for further instructions.
Press start for a prep move (or such).
If that move looks oK, continue.

Russ
Re: 'run from here' not working as expected
« Reply #2 on: March 05, 2014, 05:05:02 PM »
Erm , yes, but unexpected things happen.

I've tried to arrange this information in 2 columns, to make the comparison between what happens and I what I hoped was going to happen more obvious. You will need to widen this window out to be able to view it as such.

Code:-

( New )
G21
G90
G64
G00 A0.2 F2500
( T )
M06 T001
G00 X0 Y-20
G00 A0
G91
G00 A0.4 Z1500
G00 A-0.4
M00
( !!! ZERO Z AXIS NOW!!! )
G90
G00 A0.2
G00 X10 etc


What happens:-                                             What I want to  happen:-

1) It executes to line 12 (M00)                        It executes to line 12 (M00)
2) I scroll back up until line 9 (G91)                   "
    is in the white band, press "Run
    from here", and "cycle start"
3) I get a box saying                                       "
    X 4.8567017
    Y -20
    Z 1500
    etc
    (why the X value, I do not know...)
4) I press 'OK'. Z moves                                  I press 'OK', Z moves
     BACKWARDS    1500 units.                         forwards 1500 units,
     A doesn't move at all                                 A goes up 0.4, and down 0.4
5) I repeat step2, box from step 3
    appears again, I press okay                          I press okay, Z moves forwards 1500 units,
    Z moves forward a bit, and                         A goes up 0.4, and down 0.4           
    back a bit, ending up BACK
    WHERE IT  STARTED after step 4
6) I repeat above step,                                  I press okay, Z moves forwards 1500 units,
     same thing happens again                         A goes up 0.4, and down 0.4
7) I scroll up until line 14 (G90) is                    "
    in the white band, press "Run
    from here", "Cycle start", same box
    appears as before, same numbers...
    I press 'OK'                                              I press 'OK'
8) Only axis that moves is Y,                          All lines including and after
    which moves to minus 6!                           line 14 execute, until end.

Maybe the odd behaviour in 8) was caused by me ignoring my own instruction to 'Zero the Z axis', but otherwise I don't understand whats happening in this, it seems to defy logic to me. Does it make sense to anyone?
Re: 'run from here' not working as expected
« Reply #3 on: March 05, 2014, 05:06:01 PM »
8) not *)
Re: 'run from here' not working as expected
« Reply #4 on: March 05, 2014, 05:06:43 PM »
I mean 'a number eight followed by a bracket, not a stupid emoticon'....
Re: 'run from here' not working as expected
« Reply #5 on: March 05, 2014, 05:18:09 PM »
Sorry Overloaded, I didnt mean to seem ungrateful to you for pointing out what else I had to do to get 'run from here' to run.
Re: 'run from here' not working as expected
« Reply #6 on: March 05, 2014, 07:42:43 PM »
No problem Richard, never took it that way.

However, not sure what is going on with your code and RFH.
There have been issues with RFH in certain versions but don't recall the details.

Russ
 

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: 'run from here' not working as expected
« Reply #7 on: March 06, 2014, 02:57:25 AM »
Can you attach your xml, what version of Mach are you using and also what kind of machine do you have?

Hood
Re: 'run from here' not working as expected
« Reply #8 on: March 06, 2014, 05:33:05 AM »
Thanks Hood,

My Mach is :- Version R3.042.020, licenced to 'Demo Version.' XML attached. The machine is basically a 2D plotter, but with a Z axis that drives a small extrusion pump that feeds material to a reciprocating applicator driven off the rotary 'A' drive. It uses 2 parallel port cables, motion control MSD415 drivers and 2 PDMX 122 breakout boards, running off a desktop PC. Normally it tests fine, its only since I've tried using 'rfh' that things have gone strange.

Apparently I've posted my xml before, so you'll want to change 'blah' into 'Mach3Mill'...

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: 'run from here' not working as expected
« Reply #9 on: March 06, 2014, 06:26:55 AM »
RFH does not work in Demo.
Hood