Re: [Emc-users] jdi homing

2008-11-10 Thread Claude Froidevaux
Hi,

Finally I got the point, homing is working.

Thanks for the help, and continue the good work, emc is a really nice 
package.

Claude




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] jdi homing

2008-11-08 Thread Claude Froidevaux
Hi,

Thanks for your reply.
I spend quite a long time setting again my machine (previous ini file 
was getting obsolete, giving error), and I have some new information.

For jdi, I get able to make a home doing a sleep after the command 
(time.sleep(5)) this explain me I have to wait the command to complete, 
and I now looking for this informations!

Is there somewhere a list of all available command and signal that can 
be used in python for EMC control ?

Regards

Claude

Chris Radek a écrit :
 On Wed, Nov 05, 2008 at 09:56:40PM +0100, Claude Froidevaux wrote:
   
 I want to make a home (same as home all on axis). As much as I look, 
 it seem to be the command c.home(-1)
 

 That's right -- and it works for me.

 To check:
 s=emc.stat()
 s.poll()
 print s.homed

 Maybe you have added c.home(-1) in the wrong place in jdi.  Maybe you
 are not waiting for homing to complete?  Please say exactly what you
 have tried...

 Chris


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


 No virus found in this incoming message.
 Checked by AVG - http://www.avg.com 
 Version: 8.0.175 / Virus Database: 270.8.6/1769 - Release Date: 05/11/2008 
 07:17

   

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] jdi homing

2008-11-05 Thread Claude Froidevaux
Hi,

This is my first message here, altough there is some times already I'm 
playing with emc2.

I want to make a home (same as home all on axis). As much as I look, 
it seem to be the command c.home(-1)... but it didn't work (no error are 
show). When I say it didn't work, my only way to check right now is that 
I get the message cannot run program when not homed when I start to 
run my Gcode program later. I unfortunately don't have right now a piece 
of hardware to check wheter to homing is really done or not (and I'm 
quite in a hurry!)

Any help would be appreciated, I'm supposed to make an automated machine 
(1 button only or kinda like, to start/pause/resume, with automatic part 
selection depending on digital inputs), but I have hard time homing the 
machine. (luckily, most of the automated process of machining is working 
already.)

BTW, jdi.py don't work anymore with last trunk of emc2, as home is needed!!

regards,

Claude

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] jdi homing

2008-11-05 Thread Chris Radek
On Wed, Nov 05, 2008 at 09:56:40PM +0100, Claude Froidevaux wrote:
 
 I want to make a home (same as home all on axis). As much as I look, 
 it seem to be the command c.home(-1)

That's right -- and it works for me.

To check:
s=emc.stat()
s.poll()
print s.homed

Maybe you have added c.home(-1) in the wrong place in jdi.  Maybe you
are not waiting for homing to complete?  Please say exactly what you
have tried...

Chris


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users