[Emc-users] line driver input/ output from chinese servo drives to mesa cards.

2020-05-05 Thread andrew beck
hi guys me again:) just a quick question I am going to connect the servo drive encoder pass through from my chinese servo encoders to the spindle encoder on my mesa 7i76 card I am planning on using that to allow me to use halscope plot the overshoot and then allow me to adjust the servo drive

Re: [Emc-users] servo tuning questions yeha:)

2020-05-05 Thread andrew beck
I'll have a play thanks On Wed, May 6, 2020, 4:24 PM Nicklas Karlsson wrote: > Remove PID gains, try a step response on analog input signal controlling > speed and measure output? Then you have a good idea of response gains could > be calculated on computer. > > Have some other algorithm in

Re: [Emc-users] servo tuning questions yeha:)

2020-05-05 Thread Nicklas Karlsson
Remove PID gains, try a step response on analog input signal controlling speed and measure output? Then you have a good idea of response gains could be calculated on computer. Have some other algorithm in course litterature, do not remember and have too look it up, do not have time now. >

Re: [Emc-users] servo tuning questions yeha:)

2020-05-05 Thread andrew beck
nicklas just to clear up a few things the rs482 is for a chinese windows based tuning program. it is completely separate from linuxcnc. the drives do accept modbus but that is a job I have no fancy tackling with linuxcnc lol and yes any tuning stuff you can find would be appreciated. the

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Nicklas Karlsson
> Do you have a dual trace 'scope? Spin the spindle and look at the input > and output of the opto-isolator. See if there really is a lag. If you > have a new scope would you have it capture the screen and post it. I'm > really skeptical that those isolators are THAT bad. > > Here is the

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Chris Albertson
Do you have a dual trace 'scope? Spin the spindle and look at the input and output of the opto-isolator. See if there really is a lag. If you have a new scope would you have it capture the screen and post it. I'm really skeptical that those isolators are THAT bad. Here is the datasheet for

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Nicklas Karlsson
> I have a PMDC motor I’ve scavenged along with the MC-2100 motor control > from a treadmill rated for 1.5 hp @ 90 volts. I’ve been testing it with > LinuxCNC v2.7.15 in a mock-up environment I built for testing. I’m able to > control the spindle speed via PWM pulses to the controller (HD2 pin 4).

Re: [Emc-users] servo tuning questions yeha:)

2020-05-05 Thread Nicklas Karlsson
> Hi guys > > I have been trying to connect my laptop to my chinese servos via rs485 for > ages to get the tuning software working and am not having any luck. > > In the mean time I am just wondering what the best way to tune the servos > is? Can I hook up a oscilloscope to something? I am

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread John Dammeyer
I've had good luck with the CUI encoders (Compared to US Digital) on DC Servos and the HP_UHU drives. I found I lost position over time with either missing or extra pulses. I was using differential signalling. The CUI dispensed with that problem. I was never able to get satisfactory motion

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Sam Sokolik
I don't know if this is related - but I have had bad luck with capacitive encoders like the CUI ATM 10 in it's spec sheet it is only accurate to 0.25 degrees.. when I tried to use it for a closed loop servo - I got a lot of noise.. https://www.youtube.com/watch?v=gHbemDWXudQ

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 21:24:50 Dan Henderson wrote: > I just reverted to a LinuxCNC configuration that isn’t setup to use > the encoder. The spindle speed is much more consistent without the > feedback from the encoder?? > And I assume that its steady if the pid is bypassed. That does point a

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 21:19:23 Dan Henderson wrote: > I have LinuxCNC fully operational. In halscope I’m able to view the > signals for both the spindle index, phase a, and I now have phase b > hooked up. I’m conducting my testing with the LinuxCNC MDI. The > number on the opto chips is

Re: [Emc-users] Mesa 7i73 keypad question/issue

2020-05-05 Thread Peter C. Wallace
On Tue, 5 May 2020, Leonardo Marsaglia wrote: Date: Tue, 5 May 2020 22:11:11 -0300 From: Leonardo Marsaglia Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Mesa 7i73 keypad question/issue Thank you Peter for your quick

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Dan Henderson
I just reverted to a LinuxCNC configuration that isn’t setup to use the encoder. The spindle speed is much more consistent without the feedback from the encoder?? On Tue, May 5, 2020 at 8:19 PM Dan Henderson wrote: > I have LinuxCNC fully operational. In halscope I’m able to view the > signals

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Dan Henderson
I have LinuxCNC fully operational. In halscope I’m able to view the signals for both the spindle index, phase a, and I now have phase b hooked up. I’m conducting my testing with the LinuxCNC MDI. The number on the opto chips is EL817C807. The BOB PN is DB25-1205. On Tue, May 5, 2020 at 8:08 PM

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 20:51:17 John Dammeyer wrote: > > From: Dan Henderson [mailto:luvtof...@gmail.com] > > Slowing things down had marginal effect. Okay sounds like I need to > > by pass the optocouplers. Would you recommend I bypass all the > > encoder inputs as well as the PWM output to the

Re: [Emc-users] Mesa 7i73 keypad question/issue

2020-05-05 Thread Leonardo Marsaglia
Thank you Peter for your quick response, So if I understand correctly, the 7i73.keycode pin is too fast to simply check it with halmeter by eye. But should I see the changes in halscope? El mar., 5 may. 2020 a las 19:41, Peter C. Wallace () escribió: > On Tue, 5 May 2020, Leonardo Marsaglia

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 20:17:45 Dan Henderson wrote: > Slowing things down had marginal effect. Okay sounds like I need to by > pass the optocouplers. Would you recommend I bypass all the encoder > inputs as well as the PWM output to the MC2100 controller? Only if it has opto's for isolation,

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread John Dammeyer
> From: Dan Henderson [mailto:luvtof...@gmail.com] > Slowing things down had marginal effect. Okay sounds like I need to by pass > the optocouplers. Would you recommend I bypass all the encoder inputs as > well as the PWM output to the MC2100 controller? > What's the part number of the

Re: [Emc-users] I can't seem to copy an error message

2020-05-05 Thread Ed
On 5/5/20 9:21 AM, Stuart Stevenson wrote: Sounds to me like you are up and running but your encoder is counting in reverse of the axis motion. How large is your following error in the ini file? The motor ran away from a different problem. Linuxcnc is not getting input from encoders. A new

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Dan Henderson
Slowing things down had marginal effect. Okay sounds like I need to by pass the optocouplers. Would you recommend I bypass all the encoder inputs as well as the PWM output to the MC2100 controller? On Tue, May 5, 2020 at 6:34 PM Gene Heskett wrote: > On Tuesday 05 May 2020 18:30:42 Dan

Re: [Emc-users] Another what if...

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 19:19:53 andy pugh wrote: > On Wed, 6 May 2020 at 00:16, Gene Heskett wrote: > > And this is the camera you are using? 13 bucks USD total? > > I am not actually using it, I ended up with a Renishaw probe instead > in the end. > I bought a plastic version, horrible

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 18:30:42 Dan Henderson wrote: > Gene, how do I speed up the servo loop to test your theory? I’ll try > that before I perform surgery on the BOB. I also have another BOB I > can try, but it requires 12-24v power in order to enable its inputs. > I meant slow the motor to see

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread John Dammeyer
Let's see. Spindle at 600 RPM is 10 RPS. That means a 200 line encoder not using quadrature and only a rising edge is generating 2000 pulses per second or 4000 edges per second. That's because to detect a rising edge you also have to detect that it went low. That means the hardware has to

Re: [Emc-users] Another what if...

2020-05-05 Thread andy pugh
On Wed, 6 May 2020 at 00:16, Gene Heskett wrote: > And this is the camera you are using? 13 bucks USD total? I am not actually using it, I ended up with a Renishaw probe instead in the end. You can probably find the endoscopes cheaper. The cable is stiff, for endoscope use. I think you would

Re: [Emc-users] Another what if...

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 18:14:37 andy pugh wrote: > On Tue, 5 May 2020 at 22:46, Gene Heskett wrote: > > > https://www.ebay.co.uk/293535398065 > > > > dead end 404 link > > https://www.ebay.co.uk/itm/293535398065 And this is the camera you are using? 13 bucks USD total? Cheers, Gene Heskett --

Re: [Emc-users] Mesa 7i73 keypad question/issue

2020-05-05 Thread Peter C. Wallace
On Tue, 5 May 2020, Leonardo Marsaglia wrote: Date: Tue, 5 May 2020 19:09:29 -0300 From: Leonardo Marsaglia Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: [Emc-users] Mesa 7i73 keypad question/issue Hello guys, I'm almost done with the

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Dan Henderson
Gene, how do I speed up the servo loop to test your theory? I’ll try that before I perform surgery on the BOB. I also have another BOB I can try, but it requires 12-24v power in order to enable its inputs. On Tue, May 5, 2020 at 5:07 PM Gene Heskett wrote: > On Tuesday 05 May 2020 17:48:01 Dan

Re: [Emc-users] Another what if...

2020-05-05 Thread andy pugh
On Tue, 5 May 2020 at 22:46, Gene Heskett wrote: > > https://www.ebay.co.uk/293535398065 > > dead end 404 link https://www.ebay.co.uk/itm/293535398065 -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and

[Emc-users] Mesa 7i73 keypad question/issue

2020-05-05 Thread Leonardo Marsaglia
Hello guys, I'm almost done with the config on the Mazak. The last thing I'm trying to set up is the front panel keyboard. I'm using a 7i73 wich is already working with the MPG and the lever to move the X and Z axis. The problem I have is, I can't make the keypad input to work. In HAL I'm always

Re: [Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 17:48:01 Dan Henderson wrote: > I have a PMDC motor I’ve scavenged along with the MC-2100 motor > control from a treadmill rated for 1.5 hp @ 90 volts. I’ve been > testing it with LinuxCNC v2.7.15 in a mock-up environment I built for > testing. I’m able to control the

[Emc-users] servo tuning questions yeha:)

2020-05-05 Thread andrew beck
Hi guys I have been trying to connect my laptop to my chinese servos via rs485 for ages to get the tuning software working and am not having any luck. In the mean time I am just wondering what the best way to tune the servos is? Can I hook up a oscilloscope to something? I am lost how that

[Emc-users] Fluctuating RPM using CUI ATM 10 encoder

2020-05-05 Thread Dan Henderson
I have a PMDC motor I’ve scavenged along with the MC-2100 motor control from a treadmill rated for 1.5 hp @ 90 volts. I’ve been testing it with LinuxCNC v2.7.15 in a mock-up environment I built for testing. I’m able to control the spindle speed via PWM pulses to the controller (HD2 pin 4). M3 S500

Re: [Emc-users] Another what if...

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 16:01:12 andy pugh wrote: > On Tue, 5 May 2020 at 18:11, Gene Heskett wrote: > > Thats good but can the clamp then be tightened again to hold that > > without dinging the parallax too bad? > > How about a camera in a toolholder? > > I have one of these: >

Re: [Emc-users] Another what if...

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 13:39:49 Bari wrote: > On 5/5/20 9:42 AM, Gene Heskett wrote: > > But does an H264 camera work with > > camview? Has anyone tried such a beast? > > > > Cheers, Gene Heskett > > It depends on what else they do in the camera and how you wish to use > the video from it. h.264

Re: [Emc-users] Another what if...

2020-05-05 Thread andy pugh
On Tue, 5 May 2020 at 18:11, Gene Heskett wrote: > Thats good but can the clamp then be tightened again to hold that without > dinging the parallax too bad? How about a camera in a toolholder? I have one of these: https://www.ebay.co.uk/293535398065 It works with:

Re: [Emc-users] Another what if...

2020-05-05 Thread Les Newell
I saw that, but 26x26 is still a fat inch, so it won't fit. Yeah, if that won't fit you're pretty much out of luck with them. Thats good but can the clamp then be tightened again to hold that without dinging the parallax too bad? The lens has a fine thread that screws into the body. The

Re: [Emc-users] Another what if...

2020-05-05 Thread Bari
On 5/5/20 9:42 AM, Gene Heskett wrote: But does an H264 camera work with camview? Has anyone tried such a beast? Cheers, Gene Heskett It depends on what else they do in the camera and how you wish to use the video from it. h.264 is a video compression codec and works with openCV (what

Re: [Emc-users] Another what if...

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 12:19:30 Les Newell wrote: > I think the smallest they do is 26mmx26mm > VC-USB-Camera-Module-Board-6mm-Lens/323864792581> They state 32x32 but > you can snap off the edges. I saw that, but 26x26 is

Re: [Emc-users] Another what if...

2020-05-05 Thread Les Newell
I think the smallest they do is 26mmx26mm They state 32x32 but you can snap off the edges. You can focus these by undoing the clamp screw and screwing the lens in and out.

Re: [Emc-users] Another what if...

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 10:32:04 andy pugh wrote: > On Tue, 5 May 2020 at 15:24, Gene Heskett wrote: > > > > > Yee gods, that a 441 character url. What the hell are they > > thinking? > > You can edit out all but the /itm/ and number: Like I just did. Bet

Re: [Emc-users] Another what if...

2020-05-05 Thread andy pugh
On Tue, 5 May 2020 at 15:24, Gene Heskett wrote: > Yee gods, that a 441 character url. What the hell are they thinking? You can edit out all but the /itm/ and number: Like I just did. Bet it still works. -- atp "A motorcycle is a bicycle with a

Re: [Emc-users] I can't seem to copy an error message

2020-05-05 Thread Stuart Stevenson
Sounds to me like you are up and running but your encoder is counting in reverse of the axis motion. How large is your following error in the ini file? Set your following error very high. Set your axis max velocity very low. Disable the drive enable, start the machine, check the screen to see

Re: [Emc-users] Another what if...

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 05:34:57 andy pugh wrote: > On Tue, 5 May 2020 at 10:23, Gene Heskett wrote: > > The tabs (in the ini file) I am familiar with, apply to the backplot > > area, not the right hand panel. Is there an example in that 800 > > some page doc? > >

Re: [Emc-users] I can't seem to copy an error message

2020-05-05 Thread Ed
On 5/4/20 7:51 PM, Peter C. Wallace wrote: On Mon, 4 May 2020, Ed wrote: Date: Mon, 4 May 2020 19:41:11 -0500 From: Ed Reply-To: "Enhanced Machine Controller (EMC)"     To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] I can't seem to copy an error message On 5/4/20 5:02 PM, andy

Re: [Emc-users] Another what if...

2020-05-05 Thread andy pugh
On Tue, 5 May 2020 at 10:23, Gene Heskett wrote: > The tabs (in the ini file) I am familiar with, apply to the backplot > area, not the right hand panel. Is there an example in that 800 some > page doc? http://linuxcnc.org/docs/2.7/html/gui/pyvcp.html#_containers -- atp "A motorcycle is a

Re: [Emc-users] Another what if...

2020-05-05 Thread Gene Heskett
On Tuesday 05 May 2020 03:57:29 andy pugh wrote: > On Tue, 5 May 2020 at 03:28, Gene Heskett wrote: > > On my G0704, I would like to have the ability to expand the pyvcp on > > off switch it recently grew, into a multiple choice, showing > > essentially identical pyvcp panels EXCEPT fot the

Re: [Emc-users] Another what if...

2020-05-05 Thread andy pugh
On Tue, 5 May 2020 at 03:28, Gene Heskett wrote: > On my G0704, I would like to have the ability to expand the pyvcp on off > switch it recently grew, into a multiple choice, showing essentially > identical pyvcp panels EXCEPT fot the range of the tach. You should be able to do this with tabs.