Re: [Emc-users] How Fast Are Pythons

2007-08-24 Thread Kirk Wallace
On Thu, 2007-08-23 at 18:13 -0400, Stephen Wille Padnos wrote: ... snip Just using wsum made a big difference in the shell script. I was consistently just one tool position off with the rotate direct to station routine, and it only gets better from here. If the turret can't move in both

[Emc-users] How Fast Are Pythons

2007-08-23 Thread Kirk Wallace
My first pass on getting my lathe turret working went okay. It turns out that shell scripts are way too slow for what I was trying to do. The plan was to, using an M101 script, energize the rotator solenoid, which raises the turret table and starts it rotating. I then monitor the four bit binary

Re: [Emc-users] How Fast Are Pythons

2007-08-23 Thread ben lipkowitz
This really sounds like a perfect job for classicladder. If you arent interested in learning ladder logic, then writing a custom hal component might be easier, since you seem comfortable with C. I think the issue here is that your script is not running realtime, and so the timing is off. As

Re: [Emc-users] How Fast Are Pythons

2007-08-23 Thread Kirk Wallace
On Thu, 2007-08-23 at 17:24 +, ben lipkowitz wrote: This really sounds like a perfect job for classicladder. If you arent interested in learning ladder logic, then writing a custom hal component might be easier, since you seem comfortable with C. I think the issue here is that your

Re: [Emc-users] How Fast Are Pythons

2007-08-23 Thread Stephen Wille Padnos
Kirk Wallace wrote: On Thu, 2007-08-23 at 17:24 +, ben lipkowitz wrote: This really sounds like a perfect job for classicladder. If you arent interested in learning ladder logic, then writing a custom hal component might be easier, since you seem comfortable with C. I think the issue