Re: [Emc-users] joint/axes question (2.8-pre)

2018-03-16 Thread Ralph Stirling
___ From: andy pugh [bodge...@gmail.com] Sent: Friday, March 16, 2018 1:00 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] joint/axes question (2.8-pre) On 16 March 2018 at 19:29, Ralph Stirling wrote: > This offset approach is proving harder than I expected. I think

Re: [Emc-users] joint/axes question (2.8-pre)

2018-03-16 Thread sam sokolik
I have used the PID stepgen + offset with good luck.  As andy said - use a limit3 before the offset. Also - thread order is very important. something like this - you can check by watching pid error... addf hm2_[HOSTMOT2](BOARD).0.read servo-thread addf offset.0.update-feedback 

Re: [Emc-users] joint/axes question (2.8-pre)

2018-03-16 Thread andy pugh
On 16 March 2018 at 19:29, Ralph Stirling wrote: > This offset approach is proving harder than I expected. I think it is > because I'm > using the PID-driven stepgen approach generated by pncconf (7i92 board). Ah, yes, that will make things harder. You could try using a conventional non-PID s

Re: [Emc-users] joint/axes question (2.8-pre)

2018-03-16 Thread Ralph Stirling
for achieving my invisible 90 degree rotations? Thanks again, -- Ralph From: Ralph Stirling [ralph.stirl...@wallawalla.edu] Sent: Thursday, March 15, 2018 11:29 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] joint/axes question (2.8-pre) I like that. I can't d

Re: [Emc-users] joint/axes question (2.8-pre)

2018-03-15 Thread Ralph Stirling
I like that. I can't do it in world mode because tan(pi/2) is a problem... Offset is a real clean solution. -- Ralph On Mar 15, 2018 11:06 AM, andy pugh wrote: On 15 March 2018 at 17:56, Ralph Stirling wrote: > I would like to be able to rotate the table a 1/4 turn > after each job is run.

Re: [Emc-users] joint/axes question (2.8-pre)

2018-03-15 Thread andy pugh
On 15 March 2018 at 17:56, Ralph Stirling wrote: > I would like to be able to rotate the table a 1/4 turn > after each job is run. Ideally, I would love to just switch > from world to joint (teleop) mode with a G code, but that > doesn't seem to be an option You could use the offset HAL compon

Re: [Emc-users] joint-axis question

2017-04-07 Thread Kurt Jacobson
Aha! stat.position must return a tuple of *axis* positions, not joint positions as I thought. I guess that detail did not affect me before because axes were interchangeable with joints in my code. I see that stat has a new attribute called "joint_position", I guess for consistency it might be goo

Re: [Emc-users] Joint-Axis Branch?

2016-05-14 Thread Thomas Powderly
wow andy how many sections to this worm of a robot? shades of DUNE! you been at the spice again? ;-) i was just going to local rc shop for some rc servos to play with too! tomp tjtr33 On 05/14/16 05:47, andy pugh wrote: > On 13 May 2016 at 16:41, Dewey Garrett wrote: >>emc/motion/emcmotcfg.h:

Re: [Emc-users] Joint-Axis Branch?

2016-05-13 Thread andy pugh
On 13 May 2016 at 16:41, Dewey Garrett wrote: > emc/motion/emcmotcfg.h:#define EMCMOT_MAX_JOINTS 9 > emc/motion/emcmotcfg.h:#define EMCMOT_MAX_AXIS 9 > > There may be old, unknown, stale assumptions that these > values are identical or otherwise related. There goes my idea of a serial robot w

Re: [Emc-users] Joint-Axis Branch?

2016-05-13 Thread Dewey Garrett
In joints_axes branch (latest joints_axes14), it is a compile-time setting: emc/motion/emcmotcfg.h:#define EMCMOT_MAX_JOINTS 9 emc/motion/emcmotcfg.h:#define EMCMOT_MAX_AXIS 9 There may be old, unknown, stale assumptions that these values are identical or otherwise related. So changing f

Re: [Emc-users] Joint-Axis Branch?

2016-05-13 Thread giorgio foga
for my epirience 9 axes... > Date: Fri, 13 May 2016 16:04:11 -0400 > From: zuerc...@embarqmail.com > To: emc-users@lists.sourceforge.net > Subject: [Emc-users] Joint-Axis Branch? > > I have a question, that I can't say that I've ever seen definitively > answered. I know that axis are limited to

Re: [Emc-users] joint 2 exceeded errors

2016-03-09 Thread Jon Elson
> On Wednesday 09 March 2016 05:03:59 andy pugh wrote: > >> >> If you had jogged a reference tool down to the PCB then touched-off >> the G54 to that position before touching-off the rest of the tools >> you would have ended up with a tool table of offsets relative to the >> reference tool, rathe

Re: [Emc-users] joint 2 exceeded errors

2016-03-09 Thread Gene Heskett
On Wednesday 09 March 2016 05:03:59 andy pugh wrote: > On 9 March 2016 at 00:24, Gene Heskett wrote: > > Just one problem, the limit box in the backplot says the tool tip is > > only about 150 thou below the z axis upper limit!, and my code > > refuses to run because it runs up 4" to a tool chang

Re: [Emc-users] joint 2 exceeded errors

2016-03-09 Thread andy pugh
On 9 March 2016 at 05:29, Gene Heskett wrote: > One thing I learned, it seems a g43 TLO comp enable, is cumulative, No, it isn't. But you can end up increasing the tool length offset by a sequence of tool-touch-off and work-touch-off actions. I think you need to sit back and clarify in your head

Re: [Emc-users] joint 2 exceeded errors

2016-03-09 Thread andy pugh
On 9 March 2016 at 00:24, Gene Heskett wrote: > Just one problem, the limit box in the backplot says the tool tip is only > about 150 thou below the z axis upper limit!, and my code refuses to run > because it runs up 4" to a tool change height, which there are 3 of in > the code.. > > This does n

Re: [Emc-users] joint 2 exceeded errors

2016-03-08 Thread Gene Heskett
On Tuesday 08 March 2016 23:28:20 Jon Elson wrote: > On 03/08/2016 09:39 PM, Gene Heskett wrote: > > From the .ini file: > > > > MIN_LIMIT = -10.2500 > > MAX_LIMIT = 0.3690 > > OK, these are the distance from the home position, wherever > you have it defined. You ARE homing the machi

Re: [Emc-users] joint 2 exceeded errors

2016-03-08 Thread Jon Elson
On 03/08/2016 09:39 PM, Gene Heskett wrote: > From the .ini file: > > MIN_LIMIT = -10.2500 > MAX_LIMIT = 0.3690 > > OK, these are the distance from the home position, wherever you have it defined. You ARE homing the machine to a fixed position, like a home or limit switch, right? I

Re: [Emc-users] joint 2 exceeded errors

2016-03-08 Thread Gene Heskett
On Tuesday 08 March 2016 19:24:33 Gene Heskett wrote: > Greetings; > > I have gone thru this machine, starting with nuking linuxcnc.var, > homed it and zeroed it until the DRO display, even when asked to show > offsets, is reporting a whole screen full of 0. for all axis's. > > Then I used a p

Re: [Emc-users] joint following errors by the kiloton

2015-10-07 Thread Gene Heskett
On Wednesday 07 October 2015 11:43:40 Peter C. Wallace wrote: > On Tue, 6 Oct 2015, Gene Heskett wrote: > > The above settings seem to have brought it under control, but one > > question, 2 actually, remain. > > > > 1. MAX_OUTPUT was set for 32.5 by PNCconf, but looking at it with a > > halmeter i

Re: [Emc-users] joint following errors by the kiloton

2015-10-07 Thread Peter C. Wallace
On Tue, 6 Oct 2015, Gene Heskett wrote: > The above settings seem to have brought it under control, but one > question, 2 actually, remain. > > 1. MAX_OUTPUT was set for 32.5 by PNCconf, but looking at it with a > halmeter it appeared to be setting a restriction on how much "catchup" > was availab

Re: [Emc-users] joint following errors by the kiloton

2015-10-06 Thread Gene Heskett
On Tuesday 06 October 2015 19:56:00 Peter C. Wallace wrote: > On Tue, 6 Oct 2015, Gene Heskett wrote: > > Date: Tue, 6 Oct 2015 16:44:41 -0400 > > From: Gene Heskett > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To: emc-users@lists.sourceforge.net > > Subject: [Emc-users] joint f

Re: [Emc-users] joint following errors by the kiloton

2015-10-06 Thread Gene Heskett
On Tuesday 06 October 2015 19:56:00 Peter C. Wallace wrote: > On Tue, 6 Oct 2015, Gene Heskett wrote: > > Date: Tue, 6 Oct 2015 16:44:41 -0400 > > From: Gene Heskett > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To: emc-users@lists.sourceforge.net > > Subject: [Emc-users] joint f

Re: [Emc-users] joint following errors by the kiloton

2015-10-06 Thread Peter C. Wallace
On Tue, 6 Oct 2015, Gene Heskett wrote: > Date: Tue, 6 Oct 2015 16:44:41 -0400 > From: Gene Heskett > Reply-To: "Enhanced Machine Controller (EMC)" > > To: emc-users@lists.sourceforge.net > Subject: [Emc-users] joint following errors by the kiloton > > Greetings all; > > I gave up on that c

Re: [Emc-users] joint

2014-07-24 Thread andy pugh
On 24 July 2014 22:32, a k wrote: > it was so slow motion that i did not recognized that it moves It is likely that the scaling is set for 0-1 and it should be 0-100% Just use a 100x bigger value for the scale gain number. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Man

Re: [Emc-users] joint

2014-07-24 Thread a k
Hello Yes it all works! it work--- but very slow!! When led light on THCAD blink with higher frequency than i can not jog. when light on THCAD blink with lowest frequency i can jog any axis but very slow. it was so slow motion that i did not recognized that it moves the point

Re: [Emc-users] joint

2014-07-24 Thread Gene Heskett
gt; > > > To: emc-users@lists.sourceforge.net > > Subject: Re: [Emc-users] joint > > > > On Thursday 24 July 2014 15:08:54 Philipp Burch did opine > > > > And Gene did reply: > >> Hey Aram! > >> > >> On 24.07.2014 20:58, a k

Re: [Emc-users] joint

2014-07-24 Thread Gene Heskett
On Thursday 24 July 2014 16:29:52 Philipp Burch did opine And Gene did reply: > Hi > > On 24.07.2014 22:13, Gene Heskett wrote: > > On Thursday 24 July 2014 15:08:54 Philipp Burch did opine > > > > And Gene did reply: > >> Hey Aram! > >> > >> On 24.07.2014 20:58, a k wrote: > >>> this is pin ---

Re: [Emc-users] joint

2014-07-24 Thread a k
, Peter C. Wallace wrote: > On Thu, 24 Jul 2014, Gene Heskett wrote: > > > Date: Thu, 24 Jul 2014 16:13:22 -0400 > > From: Gene Heskett > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To: emc-users@lists.sourceforge.net > > Subjec

Re: [Emc-users] joint

2014-07-24 Thread Peter C. Wallace
On Thu, 24 Jul 2014, Gene Heskett wrote: > Date: Thu, 24 Jul 2014 16:13:22 -0400 > From: Gene Heskett > Reply-To: "Enhanced Machine Controller (EMC)" > > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] joint > > On Thursday 24 July 2014 15:0

Re: [Emc-users] joint

2014-07-24 Thread Gene Heskett
On Thursday 24 July 2014 16:03:48 Philipp Burch did opine And Gene did reply: > Hi Gene! > > On 24.07.2014 21:56, Gene Heskett wrote: > > ... > > = > > Now, a posting tutorial: > > > > You confuse this old fart by persisting in using the > > [HOSTMOT2](BOARD) strings in your poste

Re: [Emc-users] joint

2014-07-24 Thread Philipp Burch
Hi On 24.07.2014 22:13, Gene Heskett wrote: > On Thursday 24 July 2014 15:08:54 Philipp Burch did opine > And Gene did reply: >> Hey Aram! >> >> On 24.07.2014 20:58, a k wrote: >>> this is pin --- hm2_5i20.0.encoder.03.velocity >>> >>> this is also pin - scale.0.in >>> is it possible to

Re: [Emc-users] joint

2014-07-24 Thread Gene Heskett
On Thursday 24 July 2014 15:08:54 Philipp Burch did opine And Gene did reply: > Hey Aram! > > On 24.07.2014 20:58, a k wrote: > > this is pin --- hm2_5i20.0.encoder.03.velocity > > > > this is also pin - scale.0.in > > is it possible to connect pin to pin? > > manual say -- connecting s

Re: [Emc-users] joint

2014-07-24 Thread Philipp Burch
Hi Gene! On 24.07.2014 21:56, Gene Heskett wrote: > ... > = > Now, a posting tutorial: > > You confuse this old fart by persisting in using the > [HOSTMOT2](BOARD) strings in your posted examples. To the hal interpretor > those are completely bogus strings that you will never be

Re: [Emc-users] joint

2014-07-24 Thread a k
Yes-- yes it work Now when 0 V DC -- adaptive -feed around 0.025 5 V DC -- adaptive -feed about 1.49 around/about because they are constantly fluctuating / after i home machine--than introduce m52 i can not move machine. after input m52 p0 - i can again move machine there is s

Re: [Emc-users] joint

2014-07-24 Thread Gene Heskett
On Thursday 24 July 2014 14:58:57 a k did opine And Gene did reply: > this is pin --- hm2_5i20.0.encoder.03.velocity I believe so > this is also pin - scale.0.in should be correct > is it possible to connect pin to pin? yes > manual say -- connecting signal to pin then its obvious you d

Re: [Emc-users] joint

2014-07-24 Thread Philipp Burch
Hey Aram! On 24.07.2014 20:58, a k wrote: > this is pin --- hm2_5i20.0.encoder.03.velocity > > this is also pin - scale.0.in > is it possible to connect pin to pin? > manual say -- connecting signal to pin > In fact, you can only connect pins to pins, signals/nets are just aliases to

Re: [Emc-users] joint

2014-07-24 Thread a k
this is pin --- hm2_5i20.0.encoder.03.velocity this is also pin - scale.0.in is it possible to connect pin to pin? manual say -- connecting signal to pin On Thu, Jul 24, 2014 at 11:41 AM, a k wrote: > i did try > net hm2_5i20.0.encoder.03.velocity => scale.0.in > and > net hm2_[HO

Re: [Emc-users] joint

2014-07-24 Thread a k
i did try net hm2_5i20.0.encoder.03.velocity => scale.0.in and net hm2_[HOSTMOT2](BOARD).0.encoder.03.velocity => scale.0.in none work signal and pin can not be same i remove ---velocity --- and emc2 open but adaptive-feed still as a number - no connection to potentiometer On Wed, Jul 23, 2014

Re: [Emc-users] joint

2014-07-23 Thread andy pugh
On 23 July 2014 23:55, Stuart Stevenson wrote: > Then your links are not correct. scale.0.in isn't connected to encoder.03.velocity -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Want

Re: [Emc-users] joint

2014-07-23 Thread Stuart Stevenson
Then your links are not correct. You need to follow the pins and signals and links from the pot to the pin. Do this with the halmeter. Check the pot first. Do you see the voltage varying at the pot? On Jul 23, 2014 4:53 PM, "a k" wrote: > no > it just number-figure > it does not move > > > On Wed

Re: [Emc-users] joint

2014-07-23 Thread a k
no it just number-figure it does not move On Wed, Jul 23, 2014 at 2:41 PM, Stuart Stevenson wrote: > Aram, > Does motion.adaptive-feed change value when you turn the potentiometer? > On Jul 23, 2014 2:34 PM, "a k" wrote: > > > hi > > some data from halmeter - > > Pins > > hm_2 5i20.0.encoder03

Re: [Emc-users] joint

2014-07-23 Thread Stuart Stevenson
Aram, Does motion.adaptive-feed change value when you turn the potentiometer? On Jul 23, 2014 2:34 PM, "a k" wrote: > hi > some data from halmeter - > Pins > hm_2 5i20.0.encoder03 velocity > working 1200 (0 VDC)--5500 (5 VDC) > all move constantly - > /// > h

Re: [Emc-users] joint

2014-07-23 Thread a k
hi some data from halmeter - Pins hm_2 5i20.0.encoder03 velocity working 1200 (0 VDC)--5500 (5 VDC) all move constantly - /// hm_2 5i20.0. encoder 03 row count 439789346 move constantly /// motion.adaptive-feed 0.

Re: [Emc-users] joint

2014-07-22 Thread Stuart Stevenson
Aram, On Tue, Jul 22, 2014 at 4:22 PM, a k wrote: > Hi > from hal > >1. setp scale.0.gain 0.00034483 >2. >3. setp scale.0.offset -0.4172 >4. >5. net scaled-percent scale.0.out => motion.adaptive-feed > you need to connect the halmeter to motion.adaptive-feed to see if you

Re: [Emc-users] joint

2014-07-22 Thread John Kasunich
On Tue, Jul 22, 2014, at 05:22 PM, a k wrote: > Hi > from hal > >1. setp scale.0.gain 0.00034483 >2. >3. setp scale.0.offset -0.4172 >4. >5. net scaled-percent scale.0.out => motion.adaptive-feed > > > i did replace -0.4172 with 0.4172 > Now i can home machine. enter m52 a

Re: [Emc-users] joint

2014-07-22 Thread a k
Hi from hal 1. setp scale.0.gain 0.00034483 2. 3. setp scale.0.offset -0.4172 4. 5. net scaled-percent scale.0.out => motion.adaptive-feed i did replace -0.4172 with 0.4172 Now i can home machine. enter m52 and jog machine but i can not change feed with my potentiometer 0+5 V DC

Re: [Emc-users] joint

2014-07-22 Thread a k
Hi after i home machine i can jog any axis. when i input M52 -- all axis stop moving - can not jog any axis. when i input M52 P0 again i can jog all axis . now machine behave some differently. that what i have now On Tue, Jul 22, 2014 at 11:51 AM, Stuart Stevenson wrote: > Aram, > Take a look

Re: [Emc-users] joint

2014-07-22 Thread Stuart Stevenson
Aram, Take a look at this link. http://linuxcnc.org/docs/html/gcode/m-code.html#sec:M52-Adaptive-Feed-Control If the pin *motion.adaptive-feed *is zero then feed hold is on. You must connect something to *motion.adaptive-feed *or the machine will not move. Try m52 p0 to see if the machine will mo

Re: [Emc-users] joint

2014-07-22 Thread a k
Hi what i have-- machine working. can home machine. move away from home switch by jog negative. can program with mdi -g1 g91 y-2 f4. --- and it move the axis. all good when i introduce m52 p1 axis stop moving. simple program trough mdi stop working-moving axis. i can not jog any axis. need close e

Re: [Emc-users] joint

2014-07-21 Thread andy pugh
On 21 July 2014 06:59, a k wrote: > to stop m52 p1 is m53 M53 is Feed Stop Control, it enables the feed-hold pin, it doesn't disable adaptive feed. http://www.linuxcnc.org/docs/html/gcode/m-code.html#sec:M52-Adaptive-Feed-Control M52 P0 turns off adaptive feed. -- atp If you can't fix it, you

Re: [Emc-users] joint

2014-07-21 Thread andy pugh
On 21 July 2014 12:19, John Thornton wrote: > I'm always amazed that people will read documents for other things and > expect them to apply to LinuxCNC... I am fairly sure that Smithy will be quoting LinuxCNC behaviour, but I agree it is not the obvious place to look. > Try reading the LinuxCNC

Re: [Emc-users] joint

2014-07-21 Thread John Thornton
I'm always amazed that people will read documents for other things and expect them to apply to LinuxCNC... Try reading the LinuxCNC docs. Here is the link http://linuxcnc.org/docs/html/ JT On 7/21/2014 12:59 AM, a k wrote: > i found this > http://www.smithy.com/cnc-reference-info/chapter-5/m52

Re: [Emc-users] joint

2014-07-20 Thread a k
i found this http://www.smithy.com/cnc-reference-info/chapter-5/m52/page/7 to stop m52 p1 is m53 On Sun, Jul 20, 2014 at 8:47 PM, a k wrote: > Hi > i did change direction on which motor move - by adding - at front > input_scale and output_scale. now i move axis away from home switch by jog >

Re: [Emc-users] joint

2014-07-20 Thread a k
Hi i did change direction on which motor move - by adding - at front input_scale and output_scale. now i move axis away from home switch by jog negative. thanks for help. after that change i even could program in mdi g1 g91 y-2. f2. and machine actually did move. than i enter M52 P1 into MDI quest

Re: [Emc-users] joint

2014-07-20 Thread Dave Cole
If you use Servos, then you need to swap both inputscale and output scale signs to reverse motor direction or else the motor command will fight the encoder feedback. If your motor is running backwards to the encoder, you can either change the wiring or change the sign of either the inputsca

Re: [Emc-users] joint

2014-07-20 Thread Gene Heskett
On Sunday 20 July 2014 07:14:27 Viesturs Lācis did opine And Gene did reply: > 2014-07-20 6:28 GMT+03:00 a k : > > in 2.5.4 machine can use only positive number for INPUT_SCALE > > i am right here? > > No, you are not. > The trick is in keeping the same sign for "input scale" AND "output > scale".

Re: [Emc-users] joint

2014-07-20 Thread Viesturs Lācis
2014-07-20 6:28 GMT+03:00 a k : > in 2.5.4 machine can use only positive number for INPUT_SCALE > i am right here? No, you are not. The trick is in keeping the same sign for "input scale" AND "output scale". If you add "minus" in front of input, you should do the same for output as well. Viesturs

Re: [Emc-users] joint

2014-07-19 Thread a k
this for hal http://pastebin.com/MRzhs4SU and ini http://pastebin.com/YM723mzp i want to make ---when i jog negative machine move away from home switch and when i jog positive move to home switch. from 2.2.5 -- need put -at front of INPUT_SCALE-- make 167894 into -167894 and jog negative will mach

Re: [Emc-users] joint

2014-07-18 Thread Stuart Stevenson
Aram, Have you posted your .in I and .Hal files. If you have, where are they? If you have not would you please post them so people can see them? On Jul 18, 2014 3:03 PM, "a k" wrote: > hi > homing working good but when i try to use mdi and move with code > g1 g91 x1. f1. > instantly 3 error show

Re: [Emc-users] Joint mode problem

2013-04-06 Thread Tomaz T .
This also causes problems in my probe subroutine, called by pyvcp button, with which I do automatic tool length measuring. Between faster and slower approach to probe, it stops and shows "Probe tripped during non-probe MDI command" error. -

Re: [Emc-users] Joint mode problem

2013-04-04 Thread Viesturs Lācis
2013/4/1 andy pugh > On 31 March 2013 12:21, Viesturs Lācis wrote: > > > And LinuxCNC will switch to joint mode once the commanded move is > finished. > > I placed the config here, if that makes it easier to test it. > > > > www.cutting.lv/fileadmin/user_upload/stepper-gantry.tar.gz > > Thanks f

Re: [Emc-users] Joint mode problem

2013-03-31 Thread andy pugh
On 31 March 2013 12:21, Viesturs Lācis wrote: > And LinuxCNC will switch to joint mode once the commanded move is finished. > I placed the config here, if that makes it easier to test it. > > www.cutting.lv/fileadmin/user_upload/stepper-gantry.tar.gz Thanks for that, it made it much easier to te

Re: [Emc-users] Joint mode problem

2013-03-31 Thread Viesturs Lācis
2013/3/31 Tomaz T. > > And did you manage to solve it? > > No, I have no idea, how to do that. I just found an easy way to reproduce the error: 1) take stepper-gantry sample config 2) edit INI file to remove home search and home latch velocities so that it homes each joint, where they are 3) cre

Re: [Emc-users] Joint mode problem

2013-03-31 Thread Tomaz T .
And did you manage to solve it? > > > > I had this same "sudden switch to joint mode" also on the plasma machine > after executing some commands by pressing gladevcp buttons. It is LinuxCNC > 2.5.2 with my custom kinematics module. > > -- ---

Re: [Emc-users] Joint mode problem

2013-03-30 Thread Viesturs Lācis
2013/3/30 Tomaz T. > > I made some buttons in pyvcp which are calling simple subroutine and those > are executed without problem, but when it ends it switches to Joint mode > under Manual Control, then I need to press ie. F5 for MDI and then F3 to > get back in Axis mode and to be able to jog wit

Re: [Emc-users] Joint mode problem

2013-03-30 Thread Tomaz T .
Version 2.5.2 Kinematics is slightly modified 5axiskins. Yes, display switches to 1,2,3... and can't do jogs with keyboard, as it doesn't use kinematics for that, and in my case doing that is very dangesous, as I have "gantry style" machine. And yes if I switch between MDI and back to Manual,

Re: [Emc-users] Joint mode problem

2013-03-30 Thread andy pugh
On 30 March 2013 10:34, Tomaz T. wrote: > > I made some buttons in pyvcp which are calling simple subroutine and those > are executed without problem, but when it ends it switches to Joint mode > under Manual Control, then I need to press ie. F5 for MDI and then F3 to get > back in Axis mode an

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread Viesturs Lācis
2012/8/19 John Thornton : > Basically there are a dozen lines that do magic then you just add a > define for each signal you create in the Gtk Interface Designer to do > the function you want. > > The most confusing thing for me is there is so many ways to get to the > end you can get lost along th

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread Viesturs Lācis
2012/8/19 Viesturs Lācis : > 2012/8/19 Gabriel Willen : > >> Its really easy to write a hal component using halcomp and >> attach the python handlers to those i/o pins you create. > > I feel familiar with comp, I have customized HAL components for some > of my machines. Sorry for bothering, but it

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread John Thornton
Basically there are a dozen lines that do magic then you just add a define for each signal you create in the Gtk Interface Designer to do the function you want. The most confusing thing for me is there is so many ways to get to the end you can get lost along the way... What controls does your

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread Viesturs Lācis
2012/8/19 Gabriel Willen : > Hey Viesturs, > > I have successfully done this twice, its fairly simple. I would be more > than happy to help you through it. Including a homing process. Thank You for the offer! I appreciate that! > Its really easy to write a hal component using halcomp and > atta

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread Viesturs Lācis
2012/8/19 John Thornton : > I think I understand but the accent gave me a rough time... I'm not > running my GUI on top of or embedded in Axis or any other LinuxCNC GUI. > > DISPLAY=MyGui > > So yes it is running stand alone with all of LinuxCNC available to my > GUI via the python interface. > Ok

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread Gabriel Willen
Hey Viesturs, I have successfully done this twice, its fairly simple. I would be more than happy to help you through it. Including a homing process. I would suggest only using glade for the User Interface, not to handle any time based commands. Found this out very quickly. Its really easy to

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread John Thornton
I think I understand but the accent gave me a rough time... I'm not running my GUI on top of or embedded in Axis or any other LinuxCNC GUI. DISPLAY=MyGui So yes it is running stand alone with all of LinuxCNC available to my GUI via the python interface. On 8/19/2012 11:53 AM, andy pugh wrote:

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread andy pugh
On 19 August 2012 18:20, John Thornton wrote: >> What do you get if you only put your GUI in the INI? > You mean if I don't copy the files to the installed folders? Perhaps I should have said "If you put only your GUI in the INI" ie, can yours be the only GUI? -- atp If you can't fix it, you d

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread John Thornton
You mean if I don't copy the files to the installed folders? On 8/19/2012 9:42 AM, andy pugh wrote: > On 19 August 2012 16:33, John Thornton wrote: > >> The new GUI doesn't replace the others it just lives beside them... > What do you get if you only put your GUI in the INI? > -

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread andy pugh
On 19 August 2012 16:33, John Thornton wrote: > The new GUI doesn't replace the others it just lives beside them... What do you get if you only put your GUI in the INI? -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto --

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread John Thornton
I've only been able to figure out how to run my GUI with halrun from a terminal which is not very elegant as you have to type in exit or quit to unload the real time environment unless you know the secret to halrun closing when the GUI closes? The new GUI doesn't replace the others it just live

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread andy pugh
On 19 August 2012 15:48, John Thornton wrote: > The problem I've run across with trying to use halrun is how to shut it > down when finished. I have however stumbled across how to "install" your > custom gui and run it from linuxcnc without jumping through a bunch of > hoops. > > http://gnipsel.co

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread John Thornton
changing my search string to "ubuntu 10.04 how to run a program on startup" brings up even better results On 8/19/2012 8:09 AM, Viesturs Lācis wrote: > 2012/8/19 andy pugh : >> On 19 August 2012 14:14, John Thornton wrote: >>> Have you looked at halui to home the joint? >>> >>> Have you seen th

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread John Thornton
The problem I've run across with trying to use halrun is how to shut it down when finished. I have however stumbled across how to "install" your custom gui and run it from linuxcnc without jumping through a bunch of hoops. http://gnipsel.com/linuxcnc/gui/gui03b.html A goodle search for "ubuntu

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread andy pugh
On 19 August 2012 15:09, Viesturs Lācis wrote: > How can I tell Ubuntu to do these 2 commands right after startup? > cd /home/machine/linuxcnc/configs/hm2_stepper > halrun -I -f whatever.hal Probably in .bashrc. (or some other startup script magic). > BTW, where can I see, what do those -l and

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread andy pugh
On 19 August 2012 15:04, Viesturs Lācis wrote: > I am not sure that I understand, how did You mean that. Stepgen has a "counts" output. You need to store that value somewhere in HAL at the point when the home switch is tripped. (alternatively, store the position-fb value). That value is your "ho

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread Viesturs Lācis
2012/8/19 andy pugh : > On 19 August 2012 14:14, John Thornton wrote: >> Have you looked at halui to home the joint? >> >> Have you seen this? >> >> http://linuxcnc.org/index.php/english/component/kunena/?func=view&catid=48&id=23317&limit=6 >> > > Or, for that matterr: > http://linuxcnc.org/index.

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread Viesturs Lācis
2012/8/19 andy pugh : > On 19 August 2012 14:00, Viesturs Lācis wrote: > >> Anyway, I have an issue of reproducing homing routine either in HAL or >> in Ladder. Can anyone share some advice, how to do that? I do not >> really understand, how can I reset stepgen position to 0 or whatever >> fixed v

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread andy pugh
On 19 August 2012 14:14, John Thornton wrote: > Have you looked at halui to home the joint? > > Have you seen this? > > http://linuxcnc.org/index.php/english/component/kunena/?func=view&catid=48&id=23317&limit=6 > Or, for that matterr: http://linuxcnc.org/index.php/english/component/kunena/?func=

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread andy pugh
On 19 August 2012 14:00, Viesturs Lācis wrote: > Anyway, I have an issue of reproducing homing routine either in HAL or > in Ladder. Can anyone share some advice, how to do that? I do not > really understand, how can I reset stepgen position to 0 or whatever > fixed value, based on the state of i

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread John Thornton
Have you looked at halui to home the joint? Have you seen this? http://linuxcnc.org/index.php/english/component/kunena/?func=view&catid=48&id=23317&limit=6 On 8/19/2012 7:00 AM, Viesturs Lācis wrote: > 2012/8/19 John Thornton : >> You could roll your own in GladeVCP... have you seen my tutoria

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread Viesturs Lācis
2012/8/19 John Thornton : > You could roll your own in GladeVCP... have you seen my tutorials on that? > Yes, I have played a little with Glade. It is really nice, but there is some learning curve for me to climb. I already am over deadline with this machine, so I am interested to spend as little

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread John Thornton
You could roll your own in GladeVCP... have you seen my tutorials on that? John On 8/19/2012 6:29 AM, Viesturs Lācis wrote: > 2012/8/19 andy pugh : >> On 19 August 2012 13:08, Viesturs Lācis wrote: >> >>> Is there a way to set commanded position for particular joint from VCP >>> widget? >> I am

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread Viesturs Lācis
2012/8/19 andy pugh : > On 19 August 2012 13:08, Viesturs Lācis wrote: > >> Is there a way to set commanded position for particular joint from VCP >> widget? > > I am fairly sure that the answer is "No". > > The answer is probably to have the stepgen or PID driven directly by > the VCP and to not

Re: [Emc-users] Joint position from VCP

2012-08-19 Thread andy pugh
On 19 August 2012 13:08, Viesturs Lācis wrote: > Is there a way to set commanded position for particular joint from VCP widget? I am fairly sure that the answer is "No". The answer is probably to have the stepgen or PID driven directly by the VCP and to not involve MOTION at all. -- atp If yo

Re: [Emc-users] Joint mode vs world mode. Is there a bug?

2010-12-21 Thread Viesturs Lācis
Hello again! 2010/12/20 Viesturs Lācis : > 1) what is the reason for EMC to go to joint mode, when selecting MDI? > is that intended behavior or a bug? Please, could anyone comment on this matter? > 2) how do I fix that EMC does not return to teleop mode, when going > from MDI to manual mode, wh

Re: [Emc-users] Joint mode vs world mode. Is there a bug?

2010-12-20 Thread andy pugh
On 20 December 2010 16:40, Viesturs Lācis wrote: > 3) When I do not use (comment out all the associated lines) and2.0 > module, EMC2 correctly switched from joint to teleop mode, when going > from MDI to manual mode I would speculate that the switch to world mode is edge-triggered on a 0 to 1 tr

Re: [Emc-users] joint limits

2010-10-15 Thread Jon Elson
Rudy Munguia wrote: > Hello again, > > My previous issue with proc's is still present, however at this point I am > confident that I am just not getting my post processor syntax correct. It > keeps > putting the subroutines after the program, instead of loading subs first. > > However, I need to

Re: [Emc-users] joint limits

2010-10-15 Thread Gene Heskett
On Friday, October 15, 2010 09:25:02 pm Rudy Munguia did opine: > omg, real numbers? Totally glossed over that, I will have to examine my > .ini and gcode and figure it all out... > > Thank you!!! > No problem, I hope it helps. -- Cheers, Gene "There are four boxes to be used in defense of lib

Re: [Emc-users] joint limits

2010-10-15 Thread Rudy Munguia
omg, real numbers? Totally glossed over that, I will have to examine my .ini and gcode and figure it all out... Thank you!!! From: Gene Heskett To: emc-users@lists.sourceforge.net Sent: Fri, October 15, 2010 12:02:42 PM Subject: Re: [Emc-users] joint limits

Re: [Emc-users] joint limits

2010-10-15 Thread Gene Heskett
On Friday, October 15, 2010 02:59:09 pm Rudy Munguia did opine: > Hello again, > > My previous issue with proc's is still present, however at this point I > am confident that I am just not getting my post processor syntax > correct. It keeps putting the subroutines after the program, instead of >

Re: [Emc-users] Joint 1 following error using plasma-thc-sim configuration

2010-09-27 Thread Andy Pugh
On 27 September 2010 09:09, Sasa Vilic wrote: > 1. I use original plasma-thc-sim configuration > 2. Start EMC and home axis > 3. Jog joints 1 and 2 > 4. Switch view to world mode > > Problem: Joint 1 following error That config is a gantry kinematics setup. (ie one with two motors moving each si

Re: [Emc-users] Joint 2 following error

2010-06-19 Thread Viesturs Lācis
Hello! First of all, I think that, if I had a boss, then I would be fired - Andy has explained the purpose of the kinematics module better then I could do it myself :) Stephen, thank You for all these questions! They have brought my attention to things that I had no clue about :) I think that the

  1   2   >