[Emc-users] R: R: New user new problem

2008-08-14 Thread snoopy
Tank’s a lot for the answer, now i’m install the new emc because my
version not support g43.1, and i try the code.

 

-Messaggio originale-
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Per conto di Greg
Michalski
Inviato: giovedì 14 agosto 2008 0.00
A: Enhanced Machine Controller (EMC)
Oggetto: Re: [Emc-users] R: New user new problem

 

Thats where I saw it!  Sure it's not a fancy automated function
implemented as a feature in EMC but the variables are there to make it
possible.  Thanks for the link Chris - my machine is covered with some
tarps right now and the dual boot system is in Billy Goat mode crunching
away at video recording/compression/burn cycle so it would have taken
some time for me to find it in the samples.

 

Snoopy - I hope that helps and makes sense to you - all it is doing is
taking the value that is probed at the start (and each successive time)
and using that as an add/subtract to calculate the new offset to find
the new Z zero and allow you to move onto the next cutting operation
with the correct tool length set.  Read the documentation about
variables and I think you'll understand what his code is doing.  You'd
need to insert that manually into any G-code you generate (I believe
Cambam (what I use) lets you add G code routines into the MOP tree so
saving the code for insertion whenever you start a new operation with a
different tool should be fairly easy - otherwise there's always the text
editors (see the other threads that have sprung up recently about
those...)).

 

Greg
www.distinctperspectives.com

- Original Message - 

From: Chris Radek mailto:[EMAIL PROTECTED]  

To: Enhanced Machine Controller (EMC)
mailto:emc-users@lists.sourceforge.net  

Sent: Wednesday, August 13, 2008 8:01 AM

Subject: Re: [Emc-users] R: New user new problem

 

On Wed, Aug 13, 2008 at 10:33:00AM +0200, snoopy wrote:
 
 Whit a collet I can do the change correctly, but I?m more happy if I
 find an automatically zero tool procedure whit a switch/probe.

http://cvs.linuxcnc.org/cvs/emc2/nc_files/tool-length-probe.ngc?rev=1.4

This Gcode program shows how I do that.  This sample file is also in
the EMC2 distribution.



-
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=100
http://moblin-contest.org/redirect.php?banner_id=100url=/ url=/
___
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.138 / Virus Database: 270.6.1/1608 - Release Date:
8/12/2008 4:59 PM



-
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] Jog speeds in Axis 2.2.6

2008-08-14 Thread John Thornton
In the Integrators manual (2.2.6) look in 6.3.7 [Axis_num] Section. The 
MAX_VELOCITY and MAX_ACCELERATION for the individual axis will not be 
overridden no matter what the jog slider shows.

John

On 13 Aug 2008 at 17:05, Christopher Purcell wrote:

 On a machine that has rather different axes, with different maximum 
 velocities, I find it inconvenient that Axis (as I know how to use it)
 seems to read only one value for  MAX_LINEAR_VELOCITY from the [TRAJ]
 section of the .ini file and uses  this to determine the Jog Speed
 range for all 3 axes (of a simple 3  axis stepper setup).Is it
 possible to configure Axis, through the .ini  file to have different
 maximum Jog Speeds, one for each axis? This would let me jog my fast
 axes briskly, without the risk of losing  steps on my slow one. Right
 now I have to set a MAX_LINEAR_VELOCITY appropriate to the  slowest
 axis, which is a pain.
 
 
 [EMAIL PROTECTED]
 
 
 
 
 --
 --- 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
 



-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Eric H. Johnson
Hi all,

I am getting following errors on my axes testing the hostmot2 driver in a 2
axis stepper configuration, and am trying to determine if it is a problem in
the configuration, or a problem with the hostmot2 driver. 

The hostmot2 configuration is specified as:

loadrt hostmot2 debug_idrom=1 debug_module_descriptors=1
debug_pin_descriptors=1 debug_modules=1

loadrt hm2_5i20 config=firmware=hm2/5i20/SVST8_4.BIT num_stepgens=2
num_pwmgens=1 num_encoders=0


I have the position command connect to axis 0 and 1 as:

net Xpos-cmd axis.0.motor-pos-cmd = hm2_5i20.0.stepgen.00.position-cmd
net Ypos-cmd axis.1.motor-pos-cmd = hm2_5i20.0.stepgen.01.position-cmd

Position feedback as:
net Xpos-fb hm2_5i20.0.stepgen.00.position-fb = axis.0.motor-pos-fb net
Ypos-fb 
hm2_5i20.0.stepgen.01.position-fb = axis.1.motor-pos-fb

The scaling set as (and shows as 1280 for the respective pins):
# set stepgen module scaling - get values from ini file 
setp hm2_5i20.0.stepgen.00.position-scale [AXIS_0]SCALE 
setp hm2_5i20.0.stepgen.01.position-scale [AXIS_1]SCALE 

And stepgen parameters as:
setp hm2_5i20.0.stepgen.00.dirsetup0.002
setp hm2_5i20.0.stepgen.00.dirhold 0.002
setp hm2_5i20.0.stepgen.00.steplen 0.40
setp hm2_5i20.0.stepgen.00.stepspace   0.40

setp hm2_5i20.0.stepgen.01.dirsetup0.002
setp hm2_5i20.0.stepgen.01.dirhold 0.002
setp hm2_5i20.0.stepgen.01.steplen 0.40
setp hm2_5i20.0.stepgen.01.stepspace   0.40

I don't see and enable for either stepgen or axis, but all stepgen and axis
pins related to position remain at zero when I try to move an axis, and get
following errors on that axis.

Is there still something which needs to be enabled to get these axes to
work? What else do I need to check?

Thanks,
Eric



-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread John Kasunich
Eric H. Johnson wrote:
 Hi all,
 
 I am getting following errors on my axes testing the hostmot2 driver in a 2
 axis stepper configuration, and am trying to determine if it is a problem in
 the configuration, or a problem with the hostmot2 driver. 

Didn't you see Sebastian Kuzminsky's response to your message?  He wrote 
(a few hours ago):

  Yes, I can reproduce this here - stepgen doesnt work on the 5i20.
  Sorry guys... How embarassing.  :-(

(additional info snipped - go read his message)

Peter Wallace responded to that, and both of them are working on a fix.

Regards,

John Kasunich

-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Eric H. Johnson
John,

Hmm, I am not showing them (Sebastian's post or Peter's reply). The last
post I see from Sebastian was at 1:10 AM EST. I also don't see them in the
deleted items tagged as spam, which happens occasionally too.

Thanks for the information.

Thanks,
Eric


Didn't you see Sebastian Kuzminsky's response to your message?  He wrote (a
few hours ago):

  Yes, I can reproduce this here - stepgen doesnt work on the 5i20.
  Sorry guys... How embarassing.  :-(

(additional info snipped - go read his message)

Peter Wallace responded to that, and both of them are working on a fix.

Regards,

John Kasunich

-
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



-
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] Stepper configuration

2008-08-14 Thread Sebastian Kuzminsky
Peter suggested a fix for the 5i20 stepgen problem.  I've implemented 
it, but I dont have access to the machine with my test hardware so this 
is basically untested.  It compiles...

If someone wants to try it out before I test it tonight, it's available 
here (http or bzr):

 http://highlab.com/~seb/bzr/emc2/5i20-stepgen-fix

This is against CVS TRUNK, though the change should work identically on 
2.2.6.  The only change is in src/hal/drivers/mesa-hostmot2/stepgen.c.


-- 
Sebastian Kuzminsky
Cryogenic travel has improved since then...  I woke screaming in a
translucent box.  “There, there,” said the box. “Everything will be all
right. Have some coffee.”  -- Ken Macleod, Who's afraid of Wolf 359
http://outofthiseos.typepad.com/blog/files/KenMacleodWhosAfraidofWolf359.htm

-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Eric H. Johnson
John,

It must have been filtered out upstream. All of my stuff is registered
through GoDaddy so I guess I need to check my spam filter settings and make
sure posts from this list are on the white list.

Regards,
Eric

Hmm, I am not showing them (Sebastian's post or Peter's reply). The last
post I see from Sebastian was at 1:10 AM EST. I also don't see them in the
deleted items tagged as spam, which happens occasionally too.

Thanks for the information.

Thanks,
Eric


Didn't you see Sebastian Kuzminsky's response to your message?  He wrote (a
few hours ago):

  Yes, I can reproduce this here - stepgen doesnt work on the 5i20.
  Sorry guys... How embarassing.  :-(

(additional info snipped - go read his message)

Peter Wallace responded to that, and both of them are working on a fix.

Regards,

John Kasunich

-
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



-
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



-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Sebastian Kuzminsky
Eric H. Johnson wrote:
 It must have been filtered out upstream. All of my stuff is registered
 through GoDaddy so I guess I need to check my spam filter settings and make
 sure posts from this list are on the white list.

I guess GoDaddy thinks I'm a virus or spam, I just tried sending an 
email to Eric directly and it bounced:

   This is an automatically generated Delivery Status Notification.  
 
 Delivery to the following recipients failed permanently:
 
* [EMAIL PROTECTED]
 
 
 
 
 Reporting-MTA: dns; QMTA07.emeryville.ca.mail.comcast.net [76.96.30.64]
 Received-From-MTA: dns; OMTA13.emeryville.ca.mail.comcast.net [76.96.30.52]
 Arrival-Date: Thu, 14 Aug 2008 15:22:50 +
 
 
 Final-recipient: rfc822; [EMAIL PROTECTED]
 Action: failed
 Status: 5.1.1
 Diagnostic-Code: smtp;  554 The message was rejected because it contains 
 prohibited virus or spam content
 Last-attempt-Date: Thu, 14 Aug 2008 15:22:50 +


-- 
Sebastian Kuzminsky
Cryogenic travel has improved since then...  I woke screaming in a
translucent box.  “There, there,” said the box. “Everything will be all
right. Have some coffee.”  -- Ken Macleod, Who's afraid of Wolf 359
http://outofthiseos.typepad.com/blog/files/KenMacleodWhosAfraidofWolf359.htm

-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Eric H. Johnson
Sebastian,

That is interesting. I just checked my settings. The spam setting is set to
allow everything through, but to tag what it thinks is spam. I already added
sourceforge.net to the white list. I don't see how to get your email address
from the posts, but I can try added yours to the white list as well.

I have a system all wired up, so if you need anything tested on the 5i20,
please send it my way.

Regards,
Eric


I guess GoDaddy thinks I'm a virus or spam, I just tried sending an email to
Eric directly and it bounced:



-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Sebastian Kuzminsky
Eric H. Johnson wrote:
 Sebastian,
 
 That is interesting. I just checked my settings. The spam setting is set to
 allow everything through, but to tag what it thinks is spam. I already added
 sourceforge.net to the white list. I don't see how to get your email address
 from the posts, but I can try added yours to the white list as well.
 
 I have a system all wired up, so if you need anything tested on the 5i20,
 please send it my way.
 
 Regards,
 Eric
 
 
 I guess GoDaddy thinks I'm a virus or spam, I just tried sending an email to
 Eric directly and it bounced:

Hi Eric, please try this branch:

 http://highlab.com/~seb/bzr/emc2/5i20-stepgen-fix

You can fetch it with http or bzr.  If you have a CVS tree checked out, 
you can just grab src/hal/drivers/mesa-hostmot2/stepgen.c.  It should 
work on both TRUNK and the 2.2 branch.


-- 
Sebastian Kuzminsky
Cryogenic travel has improved since then...  I woke screaming in a
translucent box.  “There, there,” said the box. “Everything will be all
right. Have some coffee.”  -- Ken Macleod, Who's afraid of Wolf 359
http://outofthiseos.typepad.com/blog/files/KenMacleodWhosAfraidofWolf359.htm

-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Eric H. Johnson
Sebastian,

One more quick question. When you say the pinout is written to the system
log, which log is that? I don't see it through dmesg or by setting debug to
the maximum value.

Regards,
Eric



-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Sebastian Kuzminsky
Eric H. Johnson wrote:
 One more quick question. When you say the pinout is written to the system
 log, which log is that? I don't see it through dmesg or by setting debug to
 the maximum value.

On my Ubuntu Gutsy computers it shows up in dmesg and /var/log/syslog. 
You shouldnt need to enable any debugging in rtai or hostmot2.

Please send me your /var/log/syslog and the output of dmesg.


-- 
Sebastian Kuzminsky
Computer Science for life, that's my direction
Instead of b-balls, my homies throw exceptions  -- MC Plus+

-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Sebastian Kuzminsky
Sebastian Kuzminsky wrote:
 Eric H. Johnson wrote:
 One more quick question. When you say the pinout is written to the system
 log, which log is that? I don't see it through dmesg or by setting debug to
 the maximum value.
 
 On my Ubuntu Gutsy computers it shows up in dmesg and /var/log/syslog. 
 You shouldnt need to enable any debugging in rtai or hostmot2.
 
 Please send me your /var/log/syslog and the output of dmesg.

(Eric sent me the files off-list and I replied, but i haven't heard back 
so i dont know if the spamfilter ate it again...)

Eric, I dont see any hostmot2 messages at all in the logs you sent me... 
  Your syslog starts at 9:53 this morning, did you try to load hostmot2 
and hm2_5i20 since then?


-- 
Sebastian Kuzminsky
Computer Science for life, that's my direction
Instead of b-balls, my homies throw exceptions  -- MC Plus+

-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Eric H. Johnson
Sebastian,

I replied off list because the log files were too large for this list. 

At any rate, I captured the dmesg log by running 
dmesg  dmesg.txt

Right after running EMC.

The syslog file looks like everything since I first booted the system this
morning. The last entry is at 13:10 (1:10 PM).

Regards,
Eric


(Eric sent me the files off-list and I replied, but i haven't heard back so
i dont know if the spamfilter ate it again...)

Eric, I dont see any hostmot2 messages at all in the logs you sent me... 
  Your syslog starts at 9:53 this morning, did you try to load hostmot2 and
hm2_5i20 since then?



-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Sebastian Kuzminsky
Eric H. Johnson wrote:
 I replied off list because the log files were too large for this list. 

Good call.


 At any rate, I captured the dmesg log by running 
 dmesg  dmesg.txt
 
 Right after running EMC.
 
 The syslog file looks like everything since I first booted the system this
 morning. The last entry is at 13:10 (1:10 PM).

Hm, and the hostmot2 pins  functions  stuff were all available in EMC 
when you ran it?  There really should have been something in the logs.

Or wait, is RTAPI_MSG_INFO disabled by default?  Most of my messages are 
at that level, because the next higher level is WARNING, and they're not 
warnings

Try this: run echo 4 | sudo dd of=/proc/rtapi/debug after realtime 
start but before loading the hostmot2 driver.  Then run dmesg again and 
  send it to me (not to the list).

Thanks!


-- 
Sebastian Kuzminsky
Computer Science for life, that's my direction
Instead of b-balls, my homies throw exceptions  -- MC Plus+

-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Eric H. Johnson
Sebastian,

I will send it to you in a couple of hours. I have another commitment for
the next hour or two.

Regards,
Eric


Hm, and the hostmot2 pins  functions  stuff were all available in EMC when
you ran it?  There really should have been something in the logs.

Or wait, is RTAPI_MSG_INFO disabled by default?  Most of my messages are at
that level, because the next higher level is WARNING, and they're not
warnings

Try this: run echo 4 | sudo dd of=/proc/rtapi/debug after realtime start
but before loading the hostmot2 driver.  Then run dmesg again and
  send it to me (not to the list).



-
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] connect 7i37 output pin problem

2008-08-14 Thread Peter C. Wallace
On Fri, 15 Aug 2008, Howard Chan wrote:

 Date: Fri, 15 Aug 2008 00:50:29 +0800
 From: Howard Chan [EMAIL PROTECTED]
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: emc-users@lists.sourceforge.net
 Subject: [Emc-users] connect 7i37 output pin problem
 
 Dear All,
 There are some questions about connection to 7I37 output pin. In the
 Figure.1, it shows to me what
 to connect the inputs signal in the servo AMP. I need connect a 'Servo
 ON' (37pin) pin in the amp, but it has a problem about the connection.
 Figure.1: http://farm4.static.flickr.com/3249/2763181482_c3c4c66a38_o.png

 In the Figure.2, it is my connection method, is it correct?
 Figure.2: http://farm4.static.flickr.com/3232/2762337603_e4257cc7fa_o.png
 I use this method, when I click a turn off and no button in the EMC2
 program, the servo cannot off until I disconnect O03 pins.

Thats correct, you have the + and - reversed so the 7I37 output is always on 
(through the MOSFETS intrinsic diode)


 I am sure that my config is corrected.
 I change the line 'linksp Xenable = m5i20.0.out-08' to 'linksp Xenable
 = m5i20.0.out-03' in the m5i20_io.hal.



 When I reverse the O03+ and O03- pins, the servo always in 'Servo OFF'
 state.


This is the correct way, the problen now is likely that you dont have the 7I37 
pin connected properly in your HAL file so you can control them (they are 
always off).


Heres the way I would connect it

+5V to servo AMP pin 50
5V common to 03-
03+ to servo amp pin 37





 Would you mind telling me what to connect method correctly?

 Thank you very much!!

 Best Regards,
 Howard



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Sebastian Kuzminsky
(Copying this to the emc-users list.)


Eric H. Johnson wrote:
 I was wondering if that was what you meant. Here is the dmesg log following
 the loading of hostmot2 and hm_5i20.
 
 Once I load hm_5i20 I can see the pins.

That's more like it :-)


Now that the driver's loaded, it can tell us what its pinout is.  (This 
should show up even without setting /proc/rtapi/debug.)  Here's the 
relevant bits from the dmesg2.txt file you sent me:

 [ 2485.811368] hm2/hm2_5i20.0: 72 I/O Pins used:
 [ 2485.811374] hm2/hm2_5i20.0: I/O Pin P2.000: IOPort
 [ 2485.811381] hm2/hm2_5i20.0: I/O Pin P2.001: IOPort
 [ 2485.811387] hm2/hm2_5i20.0: I/O Pin P2.002: IOPort
 [ 2485.811393] hm2/hm2_5i20.0: I/O Pin P2.003: IOPort
 [ 2485.811399] hm2/hm2_5i20.0: I/O Pin P2.004: IOPort
 [ 2485.811405] hm2/hm2_5i20.0: I/O Pin P2.005: IOPort
 [ 2485.811411] hm2/hm2_5i20.0: I/O Pin P2.006: IOPort
 [ 2485.811420] hm2/hm2_5i20.0: I/O Pin P2.007: PWMGen #0, pin Out0 (PWM 
 or Up) (Output)
 [ 2485.811427] hm2/hm2_5i20.0: I/O Pin P2.008: IOPort
 [ 2485.811435] hm2/hm2_5i20.0: I/O Pin P2.009: PWMGen #0, pin Out1 (Dir 
 or Down) (Output)
 [ 2485.811442] hm2/hm2_5i20.0: I/O Pin P2.010: IOPort
 [ 2485.811450] hm2/hm2_5i20.0: I/O Pin P2.011: PWMGen #0, pin Not-Enable 
 (Output)
 [ 2485.811457] hm2/hm2_5i20.0: I/O Pin P2.012: IOPort
 [ 2485.811464] hm2/hm2_5i20.0: I/O Pin P2.013: IOPort
 [ 2485.811470] hm2/hm2_5i20.0: I/O Pin P2.014: IOPort
 [ 2485.811476] hm2/hm2_5i20.0: I/O Pin P2.015: IOPort
 [ 2485.811482] hm2/hm2_5i20.0: I/O Pin P2.016: IOPort
 [ 2485.811488] hm2/hm2_5i20.0: I/O Pin P2.017: IOPort
 [ 2485.811495] hm2/hm2_5i20.0: I/O Pin P2.018: IOPort
 [ 2485.811501] hm2/hm2_5i20.0: I/O Pin P2.019: IOPort
 [ 2485.811507] hm2/hm2_5i20.0: I/O Pin P2.020: IOPort
 [ 2485.811513] hm2/hm2_5i20.0: I/O Pin P2.021: IOPort
 [ 2485.811519] hm2/hm2_5i20.0: I/O Pin P2.022: IOPort
 [ 2485.811526] hm2/hm2_5i20.0: I/O Pin P2.023: IOPort
 [ 2485.811532] hm2/hm2_5i20.0: I/O Pin P3.024: IOPort
 [ 2485.811538] hm2/hm2_5i20.0: I/O Pin P3.025: IOPort
 [ 2485.811544] hm2/hm2_5i20.0: I/O Pin P3.026: IOPort
 [ 2485.811550] hm2/hm2_5i20.0: I/O Pin P3.027: IOPort
 [ 2485.811557] hm2/hm2_5i20.0: I/O Pin P3.028: IOPort
 [ 2485.811563] hm2/hm2_5i20.0: I/O Pin P3.029: IOPort
 [ 2485.811569] hm2/hm2_5i20.0: I/O Pin P3.030: IOPort
 [ 2485.811575] hm2/hm2_5i20.0: I/O Pin P3.031: IOPort
 [ 2485.811581] hm2/hm2_5i20.0: I/O Pin P3.032: IOPort
 [ 2485.811588] hm2/hm2_5i20.0: I/O Pin P3.033: IOPort
 [ 2485.811594] hm2/hm2_5i20.0: I/O Pin P3.034: IOPort
 [ 2485.811600] hm2/hm2_5i20.0: I/O Pin P3.035: IOPort
 [ 2485.811606] hm2/hm2_5i20.0: I/O Pin P3.036: IOPort
 [ 2485.811612] hm2/hm2_5i20.0: I/O Pin P3.037: IOPort
 [ 2485.811619] hm2/hm2_5i20.0: I/O Pin P3.038: IOPort
 [ 2485.811625] hm2/hm2_5i20.0: I/O Pin P3.039: IOPort
 [ 2485.811631] hm2/hm2_5i20.0: I/O Pin P3.040: IOPort
 [ 2485.811637] hm2/hm2_5i20.0: I/O Pin P3.041: IOPort
 [ 2485.811643] hm2/hm2_5i20.0: I/O Pin P3.042: IOPort
 [ 2485.811654] hm2/hm2_5i20.0: I/O Pin P3.043: IOPort
 [ 2485.811660] hm2/hm2_5i20.0: I/O Pin P3.044: IOPort
 [ 2485.811667] hm2/hm2_5i20.0: I/O Pin P3.045: IOPort
 [ 2485.811673] hm2/hm2_5i20.0: I/O Pin P3.046: IOPort
 [ 2485.811679] hm2/hm2_5i20.0: I/O Pin P3.047: IOPort
 [ 2485.811686] hm2/hm2_5i20.0: I/O Pin P4.048: StepGen #0, pin Step 
 (Output)
 [ 2485.811695] hm2/hm2_5i20.0: I/O Pin P4.049: StepGen #0, pin Direction 
 (Output)
 [ 2485.811704] hm2/hm2_5i20.0: I/O Pin P4.050: StepGen #0, pin (unused) 
 (Output)
 [ 2485.811712] hm2/hm2_5i20.0: I/O Pin P4.051: StepGen #0, pin (unused) 
 (Output)
 [ 2485.811721] hm2/hm2_5i20.0: I/O Pin P4.052: StepGen #0, pin (unused) 
 (Output)
 [ 2485.811729] hm2/hm2_5i20.0: I/O Pin P4.053: StepGen #0, pin (unused) 
 (Output)
 [ 2485.811738] hm2/hm2_5i20.0: I/O Pin P4.054: StepGen #1, pin Step 
 (Output)
 [ 2485.811746] hm2/hm2_5i20.0: I/O Pin P4.055: StepGen #1, pin Direction 
 (Output)
 [ 2485.811755] hm2/hm2_5i20.0: I/O Pin P4.056: StepGen #1, pin (unused) 
 (Output)
 [ 2485.811763] hm2/hm2_5i20.0: I/O Pin P4.057: StepGen #1, pin (unused) 
 (Output)
 [ 2485.811772] hm2/hm2_5i20.0: I/O Pin P4.058: StepGen #1, pin (unused) 
 (Output)
 [ 2485.811780] hm2/hm2_5i20.0: I/O Pin P4.059: StepGen #1, pin (unused) 
 (Output)
 [ 2485.811788] hm2/hm2_5i20.0: I/O Pin P4.060: IOPort
 [ 2485.811794] hm2/hm2_5i20.0: I/O Pin P4.061: IOPort
 [ 2485.811800] hm2/hm2_5i20.0: I/O Pin P4.062: IOPort
 [ 2485.811806] hm2/hm2_5i20.0: I/O Pin P4.063: IOPort
 [ 2485.811812] hm2/hm2_5i20.0: I/O Pin P4.064: IOPort
 [ 2485.811819] hm2/hm2_5i20.0: I/O Pin P4.065: IOPort
 [ 2485.811825] hm2/hm2_5i20.0: I/O Pin P4.066: IOPort
 [ 2485.811831] hm2/hm2_5i20.0: I/O Pin P4.067: IOPort
 [ 2485.811837] hm2/hm2_5i20.0: I/O Pin 

Re: [Emc-users] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Eric H. Johnson
Sebastian,

So the PWMs appear on the P2 connector, but the Step generators appear on
P4? I have the P4 connector going to a 7i37 to handle the high voltage I/O.
So I guess I have to move that cable to P3 and remap the I/O. It looks like
the TTL I/O can map to either P2 or P4, but it does mean I need three
cables. I was hoping to be able to do it in two.

What is the limitation as far as putting the step generators and PWMs on the
same connector?

Regards,
Eric


That's more like it :-)


Now that the driver's loaded, it can tell us what its pinout is.  (This
should show up even without setting /proc/rtapi/debug.)  Here's the relevant
bits from the dmesg2.txt file you sent me:

 [ 2485.811368] hm2/hm2_5i20.0: 72 I/O Pins used:
 [ 2485.811374] hm2/hm2_5i20.0: I/O Pin P2.000: IOPort
 [ 2485.811381] hm2/hm2_5i20.0: I/O Pin P2.001: IOPort
 [ 2485.811387] hm2/hm2_5i20.0: I/O Pin P2.002: IOPort
 [ 2485.811393] hm2/hm2_5i20.0: I/O Pin P2.003: IOPort
 [ 2485.811399] hm2/hm2_5i20.0: I/O Pin P2.004: IOPort
 [ 2485.811405] hm2/hm2_5i20.0: I/O Pin P2.005: IOPort
 [ 2485.811411] hm2/hm2_5i20.0: I/O Pin P2.006: IOPort
 [ 2485.811420] hm2/hm2_5i20.0: I/O Pin P2.007: PWMGen #0, pin Out0
(PWM or Up) (Output)
 [ 2485.811427] hm2/hm2_5i20.0: I/O Pin P2.008: IOPort
 [ 2485.811435] hm2/hm2_5i20.0: I/O Pin P2.009: PWMGen #0, pin Out1
(Dir or Down) (Output)
 [ 2485.811442] hm2/hm2_5i20.0: I/O Pin P2.010: IOPort
 [ 2485.811450] hm2/hm2_5i20.0: I/O Pin P2.011: PWMGen #0, pin
Not-Enable (Output)
 [ 2485.811457] hm2/hm2_5i20.0: I/O Pin P2.012: IOPort
 [ 2485.811464] hm2/hm2_5i20.0: I/O Pin P2.013: IOPort
 [ 2485.811470] hm2/hm2_5i20.0: I/O Pin P2.014: IOPort
 [ 2485.811476] hm2/hm2_5i20.0: I/O Pin P2.015: IOPort
 [ 2485.811482] hm2/hm2_5i20.0: I/O Pin P2.016: IOPort
 [ 2485.811488] hm2/hm2_5i20.0: I/O Pin P2.017: IOPort
 [ 2485.811495] hm2/hm2_5i20.0: I/O Pin P2.018: IOPort
 [ 2485.811501] hm2/hm2_5i20.0: I/O Pin P2.019: IOPort
 [ 2485.811507] hm2/hm2_5i20.0: I/O Pin P2.020: IOPort
 [ 2485.811513] hm2/hm2_5i20.0: I/O Pin P2.021: IOPort
 [ 2485.811519] hm2/hm2_5i20.0: I/O Pin P2.022: IOPort
 [ 2485.811526] hm2/hm2_5i20.0: I/O Pin P2.023: IOPort
 [ 2485.811532] hm2/hm2_5i20.0: I/O Pin P3.024: IOPort
 [ 2485.811538] hm2/hm2_5i20.0: I/O Pin P3.025: IOPort
 [ 2485.811544] hm2/hm2_5i20.0: I/O Pin P3.026: IOPort
 [ 2485.811550] hm2/hm2_5i20.0: I/O Pin P3.027: IOPort
 [ 2485.811557] hm2/hm2_5i20.0: I/O Pin P3.028: IOPort
 [ 2485.811563] hm2/hm2_5i20.0: I/O Pin P3.029: IOPort
 [ 2485.811569] hm2/hm2_5i20.0: I/O Pin P3.030: IOPort
 [ 2485.811575] hm2/hm2_5i20.0: I/O Pin P3.031: IOPort
 [ 2485.811581] hm2/hm2_5i20.0: I/O Pin P3.032: IOPort
 [ 2485.811588] hm2/hm2_5i20.0: I/O Pin P3.033: IOPort
 [ 2485.811594] hm2/hm2_5i20.0: I/O Pin P3.034: IOPort
 [ 2485.811600] hm2/hm2_5i20.0: I/O Pin P3.035: IOPort
 [ 2485.811606] hm2/hm2_5i20.0: I/O Pin P3.036: IOPort
 [ 2485.811612] hm2/hm2_5i20.0: I/O Pin P3.037: IOPort
 [ 2485.811619] hm2/hm2_5i20.0: I/O Pin P3.038: IOPort
 [ 2485.811625] hm2/hm2_5i20.0: I/O Pin P3.039: IOPort
 [ 2485.811631] hm2/hm2_5i20.0: I/O Pin P3.040: IOPort
 [ 2485.811637] hm2/hm2_5i20.0: I/O Pin P3.041: IOPort
 [ 2485.811643] hm2/hm2_5i20.0: I/O Pin P3.042: IOPort
 [ 2485.811654] hm2/hm2_5i20.0: I/O Pin P3.043: IOPort
 [ 2485.811660] hm2/hm2_5i20.0: I/O Pin P3.044: IOPort
 [ 2485.811667] hm2/hm2_5i20.0: I/O Pin P3.045: IOPort
 [ 2485.811673] hm2/hm2_5i20.0: I/O Pin P3.046: IOPort
 [ 2485.811679] hm2/hm2_5i20.0: I/O Pin P3.047: IOPort
 [ 2485.811686] hm2/hm2_5i20.0: I/O Pin P4.048: StepGen #0, pin Step
(Output)
 [ 2485.811695] hm2/hm2_5i20.0: I/O Pin P4.049: StepGen #0, pin
Direction (Output)
 [ 2485.811704] hm2/hm2_5i20.0: I/O Pin P4.050: StepGen #0, pin
(unused) (Output)
 [ 2485.811712] hm2/hm2_5i20.0: I/O Pin P4.051: StepGen #0, pin
(unused) (Output)
 [ 2485.811721] hm2/hm2_5i20.0: I/O Pin P4.052: StepGen #0, pin
(unused) (Output)
 [ 2485.811729] hm2/hm2_5i20.0: I/O Pin P4.053: StepGen #0, pin
(unused) (Output)
 [ 2485.811738] hm2/hm2_5i20.0: I/O Pin P4.054: StepGen #1, pin Step
(Output)
 [ 2485.811746] hm2/hm2_5i20.0: I/O Pin P4.055: StepGen #1, pin
Direction (Output)
 [ 2485.811755] hm2/hm2_5i20.0: I/O Pin P4.056: StepGen #1, pin
(unused) (Output)
 [ 2485.811763] hm2/hm2_5i20.0: I/O Pin P4.057: StepGen #1, pin
(unused) (Output)
 [ 2485.811772] hm2/hm2_5i20.0: I/O Pin P4.058: StepGen #1, pin
(unused) (Output)
 [ 2485.811780] hm2/hm2_5i20.0: I/O Pin P4.059: StepGen #1, pin
(unused) (Output)
 [ 2485.811788] hm2/hm2_5i20.0: I/O Pin P4.060: IOPort
 [ 2485.811794] hm2/hm2_5i20.0: I/O Pin P4.061: IOPort
 [ 2485.811800] hm2/hm2_5i20.0: I/O Pin P4.062: IOPort
 [ 2485.811806] hm2/hm2_5i20.0: I/O Pin P4.063: IOPort
 [ 2485.811812] hm2/hm2_5i20.0: I/O Pin P4.064: IOPort
 [ 

Re: [Emc-users] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Sebastian Kuzminsky
Eric H. Johnson wrote:
 So the PWMs appear on the P2 connector, but the Step generators appear on
 P4? I have the P4 connector going to a 7i37 to handle the high voltage I/O.
 So I guess I have to move that cable to P3 and remap the I/O. It looks like
 the TTL I/O can map to either P2 or P4, but it does mean I need three
 cables. I was hoping to be able to do it in two.
 
 What is the limitation as far as putting the step generators and PWMs on the
 same connector?

The pinouts are determined by the firmware, and other than selecting 
whether each I/O pin is a GPIO or is connected to a particular instance 
of a particular module, there's nothing the driver can do about it.

The pinouts are designed to mate well with Mesa's servo amps and stepper 
drivers.

Each firmware .BIT file comes with a corresponding .PIN file, which 
tells you what the firmware's pinout is.  It's the same info as you'd 
get if you loaded the driver module but didn't turn off any module 
instances with the config line.

I forgot to put the .PIN files in the 2.2.6 debian package, but if 
you've checked out the CVS tree you can see them in 
src/hal/drivers/mesa-hostmot2/firmware.  You can of course also see them 
via the CVS web interface:

http://cvs.linuxcnc.org/cvs/emc2/src/hal/drivers/mesa-hostmot2/firmware/5i20/


So yeah, if you want 1 pwmgen, 2 steppers, and some GPIOs, you have to 
either use three cables (pwm on P2, gpio on P3, and stepgen on P4), or 
split one of the two cables (P2 or P4) out to your servo/stepper drivers 
 gpio.  Something like this might be useful (link from the EMC2 Wiki):

http://www.daqstuff.com/50_pin_daq.htm


-- 
Sebastian Kuzminsky
Computer Science for life, that's my direction
Instead of b-balls, my homies throw exceptions  -- MC Plus+

-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Peter C. Wallace
On Thu, 14 Aug 2008, Eric H. Johnson wrote:

 Date: Thu, 14 Aug 2008 18:29:08 -0400
 From: Eric H. Johnson [EMAIL PROTECTED]
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: 'Enhanced Machine Controller (EMC)' emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Hostmot2 configuration - was Stepper Configuration
 
 Sebastian,

 So the PWMs appear on the P2 connector, but the Step generators appear on
 P4? I have the P4 connector going to a 7i37 to handle the high voltage I/O.
 So I guess I have to move that cable to P3 and remap the I/O. It looks like
 the TTL I/O can map to either P2 or P4, but it does mean I need three
 cables. I was hoping to be able to do it in two.

 What is the limitation as far as putting the step generators and PWMs on the
 same connector?

The pinout is fixed by the configuration(SVST8_4 has the pinout you see) 
Hostmot2 does not allow pin remapping as this uses a lot of FPGA resources

The current firmware source is easy to change however, If you tell me what 
pinout you want, I can whip up a new bitfile in a few minutes

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


-
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] Hostmot2 configuration - was Stepper Configuration

2008-08-14 Thread Eric H. Johnson
Peter,

For this project, using all three connectors is fine, it was already wired
that way because of the pinout of the standard m5i20 driver. I was just
hoping to eliminate one cable and the associated termination. 

For my next project it would be really nice if I could get all of the I/O
onto a single connector both for cost and the fact that real estate is
limited. This would require 2 or 3 steppers, 1 pwm and roughly 8 inputs and
4 outputs. Everything in this case is at TTL levels so it could all come off
a single connector very simply.

Regards,
Eric

The pinout is fixed by the configuration(SVST8_4 has the pinout you see)
Hostmot2 does not allow pin remapping as this uses a lot of FPGA resources

The current firmware source is easy to change however, If you tell me what
pinout you want, I can whip up a new bitfile in a few minutes



-
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] connect 7i37 output pin problem

2008-08-14 Thread WF Chan
I am using your mothed to correct my servo amp:
 
+5V to servo AMP pin 50
5V common to 03-
03+ to servo amp pin 37

but I dont know why I cannot enable the servo amp when I click the on button.
Is it the voltage too low??


--- 2008年8月15日 星期五,Peter C. Wallace [EMAIL PROTECTED] 寫道﹕

寄件人: Peter C. Wallace [EMAIL PROTECTED]
主題: Re: [Emc-users] connect 7i37 output pin problem
收件人: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
日期: 2008 8 15 星期五 上午 4:11

On Fri, 15 Aug 2008, Howard Chan wrote:

 Date: Fri, 15 Aug 2008 00:50:29 +0800
 From: Howard Chan [EMAIL PROTECTED]
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: emc-users@lists.sourceforge.net
 Subject: [Emc-users] connect 7i37 output pin problem
 
 Dear All,
 There are some questions about connection to 7I37 output pin. In the
 Figure.1, it shows to me what
 to connect the inputs signal in the servo AMP. I need connect a 'Servo
 ON' (37pin) pin in the amp, but it has a problem about the connection.
 Figure.1: http://farm4.static.flickr.com/3249/2763181482_c3c4c66a38_o.png

 In the Figure.2, it is my connection method, is it correct?
 Figure.2: http://farm4.static.flickr.com/3232/2762337603_e4257cc7fa_o.png
 I use this method, when I click a turn off and no button in the EMC2
 program, the servo cannot off until I disconnect O03 pins.

Thats correct, you have the + and - reversed so the 7I37 output is always on 
(through the MOSFETS intrinsic diode)


 I am sure that my config is corrected.
 I change the line 'linksp Xenable = m5i20.0.out-08' to
'linksp Xenable
 = m5i20.0.out-03' in the m5i20_io.hal.



 When I reverse the O03+ and O03- pins, the servo always in 'Servo
OFF'
 state.


This is the correct way, the problen now is likely that you dont have the 7I37 
pin connected properly in your HAL file so you can control them (they are 
always off).


Heres the way I would connect it

+5V to servo AMP pin 50
5V common to 03-
03+ to servo amp pin 37





 Would you mind telling me what to connect method correctly?

 Thank you very much!!

 Best Regards,
 Howard



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


-
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



  為了不斷提升Yahoo! 
Mail,雅虎香港誠邀你參與意見調查。請前往http://surveylink.yahoo.com/wix/p5429076.aspx 發表你的意見!-
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] connect 7i37 output pin problem

2008-08-14 Thread WF Chan


--- 2008年8月15日 星期五,Peter C. Wallace [EMAIL PROTECTED] 寫道﹕

寄件人: Peter C. Wallace [EMAIL PROTECTED]
主題: Re: [Emc-users] connect 7i37 output pin problem
收件人: [EMAIL PROTECTED], Enhanced Machine Controller (EMC) 
emc-users@lists.sourceforge.net
日期: 2008 8 15 星期五 上午 9:26

On Thu, 14 Aug 2008, WF Chan wrote:

 Date: Thu, 14 Aug 2008 17:54:21 -0700 (PDT)
 From: WF Chan [EMAIL PROTECTED]
 To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] connect 7i37 output pin problem
 
 I am using your mothed to correct my servo amp:

 +5V to servo AMP pin 50
 5V common to 03-
 03+ to servo amp pin 37

 but I dont know why I cannot enable the servo amp when I click the on
button.
 Is it the voltage too low??


Do you know for a fact that your HAL file is setup correctly?
I only modified m5i20_io.hal file.  Below is the config:
# Connect amp enables to motion controller.linksp Xenable = 
m5i20.0.out-03linksp Yenable = m5i20.0.out-04linksp Zenable = m5i20.0.out-10
# Connect amp enables to m5i20 dac enables
linksp Xenable = m5i20.0.dac-00-enable
linksp Yenable = m5i20.0.dac-01-enable
linksp Zenable = m5i20.0.dac-02-enable

Can you switch any of the 7I37 outputs?
Now I am learning this system, therefore I do not have any other outputs to do 
connection.

The servo amp specified 5-24V in, so your voltage should be OK, my guess is 
that you are not talking to the correct I/O pin in your HAL file

What FPGA card connector is the 7I37 connected to?
The FPGA card is 5I20
Are you using the inverted output to drive the 7I37? (The FPGA pin must be low 
to enable the corresponding 7I37 output)
How can I check it?

 Peter Wallace
 Mesa Electronics

 (\__/)
 (='.'=) This is Bunny. Copy and paste bunny into your
 ()_() signature to help him gain world domination.


 -
 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



   Yahoo!
Mailhttp://surveylink.yahoo.com/wix/p5429076.aspx
!

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.



  為了不斷提升Yahoo! 
Mail,雅虎香港誠邀你參與意見調查。請前往http://surveylink.yahoo.com/wix/p5429076.aspx 發表你的意見!-
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] RELEASED: emc 2.2.6

2008-08-14 Thread Terry
Hi,

  When I tried to update I got this error:

Error:Dependency is not satisifiable:libpango 1.0-0

What am I doing wrong.
The only thing I would like out of the list of improvements is
the G61-G64 can I just fix this item?

Thanks

Terry



On Wed Aug 13  8:47 , 'Alex Joni' [EMAIL PROTECTED] sent:

You need either :

http://www.linuxcnc.org/emc2/dists/dapper/emc2.2/binary-i386/emc2_2.2.6_i386.deb
 
(for dapper)

or

http://www.linuxcnc.org/hardy/dists/hardy/emc2.2/binary-i386/emc2_2.2.6_i386.deb
 
(for hardy - i386 - most likely)

or

http://www.linuxcnc.org/hardy/dists/hardy/emc2.2/binary-amd64/emc2_2.2.6_amd64.deb
 
(for hardy - amd64 bit machine - less likely, for this platform there is no 
LiveCD currently)

Regards,
Alex


- Original Message - 
From: Kirk Wallace [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net; 
[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2008 5:59 AM
Subject: Re: [Emc-users] RELEASED: emc 2.2.6


 On Tue, 2008-08-12 at 19:42 -0700, Terry wrote:
 Jeff,
   I want to update to the new version on a machine not
 connected to the internet.When I went to the link
 on the page you gave below I got several choices.
 Release
 Release.gpg
 Release.gz

 The others have different dates so I assume I dont want them.
 Does .gz mean its compressed?

 Which one of these would I load on a USB stick and take to the machine?
 Or do I need them all?
 Be kind its my first update.

 Thanks

 Terry

 The wiki seems to indicate that you need a .deb file. Do you currently
 have Ubuntu 6.06 Dapper or 8.04 Heron?

 -- 
 Kirk Wallace (California, USA
 http://www.wallacecompany.com/machine_shop/
 Hardinge HNC/EMC CNC lathe,
 Bridgeport mill conversion, doing XY now,
 Zubal lathe conversion pending
 Craftsman AA 109 restoration
 Shizuoka ST-N/EMC CNC)


 -
 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
 


-
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


 Msg sent via CableONE.net MyMail - http://www.cableone.net
-
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] connect 7i37 output pin problem

2008-08-14 Thread WF Chan
I solve the problem 
Thank you Peter

--- 2008年8月15日 星期五,WF Chan [EMAIL PROTECTED] 寫道﹕

寄件人: WF Chan [EMAIL PROTECTED]
主題: Re: [Emc-users] connect 7i37 output pin problem
收件人: emc-users@lists.sourceforge.net
日期: 2008 8 15 星期五 上午 10:00








--- 2008年8月15日 星期五,Peter C. Wallace [EMAIL PROTECTED] 寫道﹕

寄件人: Peter C. Wallace [EMAIL PROTECTED]
主題: Re: [Emc-users] connect 7i37 output pin problem
收件人: [EMAIL PROTECTED], Enhanced Machine Controller (EMC) 
emc-users@lists.sourceforge.net
日期: 2008 8 15 星期五 上午 9:26

On Thu, 14 Aug 2008, WF Chan wrote:

 Date: Thu, 14 Aug 2008 17:54:21 -0700 (PDT)
 From: WF Chan [EMAIL PROTECTED]
 To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] connect 7i37 output pin problem
 
 I am using your mothed to correct my servo amp:

 +5V to servo AMP pin 50
 5V common to 03-
 03+ to servo amp pin 37

 but I dont know why I cannot enable the servo amp when I click the on
button.
 Is it the voltage too low??


Do you know for a fact that your HAL file is setup correctly?
I only modified m5i20_io.hal file.  Below is the config:
# Connect amp enables to motion controller.linksp Xenable = 
m5i20.0.out-03linksp Yenable = m5i20.0.out-04linksp Zenable = m5i20.0.out-10
# Connect amp enables to m5i20 dac enables
linksp Xenable = m5i20.0.dac-00-enable
linksp Yenable = m5i20.0.dac-01-enable
linksp Zenable = m5i20.0.dac-02-enable
Can you switch any of the 7I37 outputs?
Now I am learning this system, therefore I do not have any other outputs to do 
connection.
The servo amp specified 5-24V in, so your voltage should be OK, my guess is 
that you are not talking to the correct I/O pin in your HAL file

What FPGA card connector is the 7I37 connected to?
The FPGA card is 5I20Are you using the inverted output to drive the 7I37? (The 
FPGA pin must be low 
to enable the corresponding 7I37 output)
How can I check it?
 Peter Wallace
 Mesa Electronics

 (\__/)
 (='.'=) This is Bunny. Copy and paste bunny into your
 ()_() signature to help him gain world domination.


 -
 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



   Yahoo!
Mailhttp://surveylink.yahoo.com/wix/p5429076.aspx
!

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.



為了不斷提升Yahoo! 
Mail,雅虎香港誠邀你參與意見調查-
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



  為了不斷提升Yahoo! 
Mail,雅虎香港誠邀你參與意見調查。請前往http://surveylink.yahoo.com/wix/p5429076.aspx 發表你的意見!-
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