Am 13.09.2013 um 10:45 schrieb propcoder <[email protected]>:

> 
>>> It happens often after I stop machine when milling - it goes nicely to
>>> some point at some feedrate and stops.
>> how do you 'stop' - pause? abort with escape? feedhold?
> 
> Escape or stop square icon
> 
>>> Bad thing is that it goes in X, Y
>>> and Z coordinates to some point, not necessary higher.
>> this I dont understand, where is the machine supposed to move, and how?
> 
> It should not move at all. I wrote "bad thing.." because it would be 
> more or less ok if it would move Z up only..

First step is to identify if the interpreter generates a move or something else 
is at fault. Please do this:

- enable DEBUG=0xFFFFFFFF in your ini file.
- run linuxcnc from a window like so:

$ linuxcn <ini> |& tee log

then stop your program

the log should have something like this:

Issuing EMC_TRAJ_CIRCULAR_MOVE --        (+221,+168,    
+0,118.274320,8.238890,-2.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,130.859320,8.622390,-2.000000,0.000000,0.000000,1.000000,
    -1,    +3,6.666667,30.480000,508.000000,    +0,)
Outgoing motion id is 196.
Issuing EMC_TRAJ_LINEAR_MOVE --          (+220,+120,    
+0,118.274320,8.238890,3.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,
    +1,30.480000,30.480000,508.000000,    +0,    -1,)
Motion id 13 took 1.827281 seconds.

Issuing EMC_TASK_ABORT --        (+503,+12,   +18,)
--------^^^^^^ this is where I hit escape

now linuxcnc does some finishing touch:

NML_INTERP_LIST::append(nml_msg_ptr{size=12,type=EMC_TASK_PLAN_SYNCH}) : 
list_size=1, line_number=196
emcTaskPlanClose() called at emc/task/emctask.cc:206
Motion id 14 took 1.424442 seconds.
Motion id 0 took 0.000009 seconds.
Issuing EMC_TASK_PLAN_SYNCH --   (+516,+12,    +0,)
emcTaskPlanSynch() returned 0
Issuing EMC_TASK_SET_MODE --     (+504,+16,   +19,    +1,)
NML_INTERP_LIST::append(nml_msg_ptr{size=12,type=EMC_TASK_PLAN_SYNCH}) : 
list_size=1, line_number=196
NML_INTERP_LIST::append(nml_msg_ptr{size=12,type=EMC_TASK_PLAN_SYNCH}) : 
list_size=1, line_number=196
Issuing EMC_TASK_PLAN_SYNCH --   (+516,+12,    +0,)
emcTaskPlanSynch() returned 0
Issuing EMC_TRAJ_SET_TELEOP_ENABLE --    (+230,+16,   +20,    +0,)

at this point, linuxcnc comes to a stop. Note that between EMC_TASK_ABORT and 
here there was no 
EMC_TRAJ_LINEAR_MOVE, EMC_TRAJ_CIRCULAR_MOVE or ..TRAVERSE.. command issued by 
the interpreter, and that's how it should be

what's your log showing post abort? please pastebin.

- Michael





------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to