Re: [Emc-users] Because I can't seem to finish anything... Nebel lathe conversion.
On Saturday, 9 April 2022 21:27:26 EDT Sam Sokolik wrote: > X is almost ready to test... > > https://photos.app.goo.gl/GzyjvC49J2rTXyaG8 Looking good Sam, similar to what I did to my Sheldon, but my motor mount is a sliding plate on the front of a much bigger 1/2" apron so I can screw drive the belt tension, and with stepper/servo's, only a 2/1 ratio stepdown. X speed max is just over 60" a minute with a 2NM 3 phase stepper motor. The rest of my apron has the encoder dials to drive it by hand. Seemed the ideal place to put them. Put them near where the cranks used to be. Feels natural. I sealed up the tunnel the x screw is in, top and bottom so swarf can't get to it unless its past center going in. And I put bellows on the z screw on both sides of the nut for its swarf protection. I even drilled two of the nuts 6 holes all the way thru so rapid z movements could let the air get from one bellows to the other w/o sucking in contaminents. > On Thu, Apr 7, 2022 at 8:18 AM Sam Sokolik wrote: > > Most likely it needs that movement because it can spin 30 + inches ;) If it can spin 30", what is the max spindle speed? > > sam > > > > On Thu, Apr 7, 2022 at 5:46 AM andy pugh wrote: > >> On Wed, 6 Apr 2022 at 20:22, Sam Sokolik wrote: > >> > The cross slide has around 17 inches of travel... Crazy.. > >> > >> For gang-tooling perhaps? > >> > >> -- > >> atp > >> "A motorcycle is a bicycle with a pandemonium attachment and is > >> designed for the especial use of mechanical geniuses, daredevils and > >> lunatics." > >> — George Fitch, Atlanta Constitution Newspaper, 1912 > >> > >> > >> ___ > >> Emc-users mailing list > >> Emc-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/emc-users > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Controlling DC motors.
Really nothing to do with LCNC or even automation. I've been cleaning out old shelves and I have piles of Popular Electronics Magazines. This one from December 1965 (yes, almost 57 years old) has an article on how to improve model trains so they start slowly or crawl rather than lurching forward requiring backing off the speed control. They call it pulse power. Using only transistors and diodes the article describes a method of creating narrow pulses superimposed on a varying DC voltage. One knob controls the width of the 12V pulses and the other the amplitude of the DC mixed with the pulses. The pulses are 60Hz. Now we just buy stuff like that for way less than what the transistors would cost. Things have come a long way. Just thought I'd share. John ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Because I can't seem to finish anything... Nebel lathe conversion.
Exciting! > -Original Message- > From: Sam Sokolik [mailto:samco...@gmail.com] > Sent: April-09-22 6:27 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Because I can't seem to finish anything... Nebel > lathe conversion. > > X is almost ready to test... > > https://photos.app.goo.gl/GzyjvC49J2rTXyaG8 > > > On Thu, Apr 7, 2022 at 8:18 AM Sam Sokolik wrote: > > > Most likely it needs that movement because it can spin 30 + inches ;) > > > > sam > > > > On Thu, Apr 7, 2022 at 5:46 AM andy pugh wrote: > > > >> On Wed, 6 Apr 2022 at 20:22, Sam Sokolik wrote: > >> > > >> > The cross slide has around 17 inches of travel... Crazy.. > >> > >> For gang-tooling perhaps? > >> > >> -- > >> atp > >> "A motorcycle is a bicycle with a pandemonium attachment and is > >> designed for the especial use of mechanical geniuses, daredevils and > >> lunatics." > >> � George Fitch, Atlanta Constitution Newspaper, 1912 > >> > >> > >> ___ > >> Emc-users mailing list > >> Emc-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/emc-users > >> > > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Because I can't seem to finish anything... Nebel lathe conversion.
X is almost ready to test... https://photos.app.goo.gl/GzyjvC49J2rTXyaG8 On Thu, Apr 7, 2022 at 8:18 AM Sam Sokolik wrote: > Most likely it needs that movement because it can spin 30 + inches ;) > > sam > > On Thu, Apr 7, 2022 at 5:46 AM andy pugh wrote: > >> On Wed, 6 Apr 2022 at 20:22, Sam Sokolik wrote: >> > >> > The cross slide has around 17 inches of travel... Crazy.. >> >> For gang-tooling perhaps? >> >> -- >> atp >> "A motorcycle is a bicycle with a pandemonium attachment and is >> designed for the especial use of mechanical geniuses, daredevils and >> lunatics." >> — George Fitch, Atlanta Constitution Newspaper, 1912 >> >> >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Can't compile MODBUS VFD in 2.8.2
On Sat, 9 Apr 2022 at 16:44, Danny Miller wrote: > I tried specifying the port loadusr x200 device="/dev/ttyS0". I'm not > sure how my serial ports are named. Would "/dev/ttyUSB0" be if that was > an FTDI USB to serial device? Plug and unplug it, see what appears and disappears in /dev/ -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Can't compile MODBUS VFD in 2.8.2
Ah, found it: https://forum.linuxcnc.org/25-classicladder/33130-hitachi-wj200-setup That worked, cut and pasted the gcc lines. LinuxCNC boots and loads it. But no modbus communication with VFD. I've been using a Dell with a built-in RS232 successfully before. This is on a new fanless NUC with a built-in DB9 RS232 serial port. I tried specifying the port loadusr x200 device="/dev/ttyS0". I'm not sure how my serial ports are named. Would "/dev/ttyUSB0" be if that was an FTDI USB to serial device? Not sure where to go from here. Danny On 4/8/2022 1:42 PM, gene heskett wrote: On Friday, 8 April 2022 14:26:21 EDT Danny Miller wrote: I used "sudo apt-get install" and libmodbus5 was already there. halcompile --install x200_vfd.comp does: gcc -I/usr/include -I/usr/include/linuxcnc -URTAPI -U__MODULE__ -DULPAI -Os -o x200_vfd /tmp/tmp4bdQIY/x200_vfd.c -Wl,-rpath,/lib -L/lib -llinxcnchal Then, no error about missing typedef (and function prototypes)- which would have been a lack of a header file. It's got the header file, now "undefined reference" for the functions. So the header prototyped the function now, but it's not seeing the actual compiled code "modbus_write_registers" etc Danny So I'm lost. Sorry for the noise. On 4/8/2022 12:25 PM, gene heskett wrote: On Friday, 8 April 2022 13:06:57 EDT Danny Miller wrote: So, I think libmodbus-dev is correct, the typedef and function names match. I installed it, now the file in /usr/include/modbus/modbus.h should work, and it looks like halcompile definitely uses it when given an explicit path, since the error message changes. That directory just has the header file, it looks like the error is that it can't actually find the compiled definitions of the functions called out in the header. Danny That sounds like you do not have libmodbus5 installed. And that puzzles me a bit because libmodbus-dev should have pulled it in as a dependency. What utility are you useing to install this stuff? On 4/7/2022 9:01 PM, Danny Miller wrote: Thanks Andy! Closer... it's in /usr/include/modbus/ I specified that. Now it doesn't fail on a missing type modbus_t, but rather "undefined reference" to any modbus_write_bit etc functions. So even though I did get that install for libmodbus to work, it just has the header file. It's not able to find the definitions in a compiled file. More ideas? Danny On 4/7/2022 5:23 AM, andy pugh wrote: On Thu, 7 Apr 2022 at 03:27, Danny Miller wrote: And same prob. It's looking for stuff in the libmodbus's modbus.h but it's not seeing it somehow. You could try giving it a complete path: #include "/usr/share/modbus/modbus.h" (quotes rather than braces, I think, for an explicit path) Or, maybe #include As libmodbus installs into a directory. ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users Cheers, Gene Heskett. ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users Cheers, Gene Heskett. ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users