Re: [Emc-users] Tool Shape

2014-04-22 Thread Mark Wendt
On Mon, Apr 21, 2014 at 1:47 PM, Marius Liebenberg mar...@mastercut.co.zawrote: Andy Have a look at this work. Maybe a good solution. https://github.com/bitsnbytes7c8/MegatronDB What's wrong with using proven, production-style databases that work well large or small? MySQL and postgresql

Re: [Emc-users] Tool Shape

2014-04-22 Thread Mark Wendt
On Mon, Apr 21, 2014 at 2:02 PM, andy pugh bodge...@gmail.com wrote: Possibly. The real work is in working out everywhere that tool data is used, and when changes get committed back to the DB. The details of the storage can be decided later (if sqlite proves to be not ideal). -- atp

Re: [Emc-users] Tool Shape

2014-04-22 Thread andy pugh
On 22 April 2014 10:20, Mark Wendt wendt.m...@gmail.com wrote: Why not leave the choice up to the end user as to which database they'd prefer to use? This would work if the query language was 100% identical. I don't know if it is. -- atp If you can't fix it, you don't own it.

Re: [Emc-users] Tool Shape

2014-04-22 Thread John Thornton
With MySql you need to install LAMP and with postgresql it looks like you have to have a server running and create a user that can log into the server or something like that. Sqlite requires non of that. I've used MySql for web based PHP applications and Sqlite for local Python applications.

Re: [Emc-users] Tool Shape

2014-04-22 Thread Mark Wendt
On Tue, Apr 22, 2014 at 6:36 AM, andy pugh bodge...@gmail.com wrote: On 22 April 2014 10:20, Mark Wendt wendt.m...@gmail.com wrote: Why not leave the choice up to the end user as to which database they'd prefer to use? This would work if the query language was 100% identical. I don't know

Re: [Emc-users] Tool Shape

2014-04-22 Thread kqt4at5v
On Tue, 22 Apr 2014, Mark Wendt wrote: On Tue, Apr 22, 2014 at 6:36 AM, andy pugh bodge...@gmail.com wrote: On 22 April 2014 10:20, Mark Wendt wendt.m...@gmail.com wrote: Why not leave the choice up to the end user as to which database they'd prefer to use? This would work if the query

Re: [Emc-users] Tool Shape

2014-04-22 Thread Gene Heskett
On Tuesday 22 April 2014 11:22:14 John Thornton did opine: With MySql you need to install LAMP and with postgresql it looks like you have to have a server running and create a user that can log into the server or something like that. Sqlite requires non of that. I've used MySql for web based

[Emc-users] Motion Synchronization to ext. trigger? (BeagleBone Back + Mesa 7I39, Machinekit?)

2014-04-22 Thread Florian Rist
Hi, I'm facing a slightly unusual problem and before I head forward into the wrong direction I'd like to hear what you think about it: I have to pan a laser scanner (a single rotary axis), so I thought about using a BLDC (which I happen to have already), a MESA 7I39 BLDC controller and a

Re: [Emc-users] Tool Shape

2014-04-22 Thread Mark Wendt
On Tuesday 22 April 2014 11:22:14 John Thornton did opine: With MySql you need to install LAMP and with postgresql it looks like you have to have a server running and create a user that can log into the server or something like that. Sqlite requires non of that. I've used MySql for web based

Re: [Emc-users] Tool Shape

2014-04-22 Thread andy pugh
On 22 April 2014 16:23, Gene Heskett ghesk...@wdtv.com wrote: What sort of contortions are required to fully recover a number stored in SQLite as text? Why would you need to? -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto

Re: [Emc-users] Motion Synchronization to ext. trigger? (BeagleBone Back + Mesa 7I39, Machinekit?)

2014-04-22 Thread andy pugh
On 22 April 2014 17:24, Florian Rist fr...@fs.tum.de wrote: So, first question: Can I hook up the 7I39 to a BeagleBone Black. Well of course I can, but is this somehow supported already, so that it is simple to do? Any other driver suggestions? The problem here is that the 7i39 expects a

Re: [Emc-users] Tool Shape

2014-04-22 Thread Gene Heskett
On Tuesday 22 April 2014 12:38:24 andy pugh did opine: On 22 April 2014 16:23, Gene Heskett ghesk...@wdtv.com wrote: What sort of contortions are required to fully recover a number stored in SQLite as text? Why would you need to? Something in the back of my mind, possibly from a past

Re: [Emc-users] Motion Synchronization to ext. trigger? (BeagleBone Back + Mesa 7I39, Machinekit?)

2014-04-22 Thread Florian Rist
Hi Andy, thanks for you comments. Alternatively the Pico PWM brushless servo amp only needs a single channel of PWM: http://www.pico-systems.com/acservo.html Ah, I see that would make thinks much easier. And I'm not forced to use the Beaglbone I could was well you a micro/nanoATX board and a

Re: [Emc-users] Motion Synchronization to ext. trigger? (BeagleBone Back + Mesa 7I39, Machinekit?)

2014-04-22 Thread Dave Caroline
I think this could be done as a geared solution, if you could work from a phase locked (to 50hz) clock at some higher rate, and use that as the encoder signal, and the 50hz as a trigger to g76 with suitable parameters it would then be synchronised and have a flyback (gate the laser off then), or

Re: [Emc-users] Motion Synchronization to ext. trigger? (BeagleBone Back + Mesa 7I39, Machinekit?)

2014-04-22 Thread andy pugh
On 22 April 2014 18:20, Florian Rist fr...@fs.tum.de wrote: Is there something like a PLL component in LinuxCNC Not as far as I know. Or perhaps the better answer is not yet. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto

Re: [Emc-users] Motion Synchronization to ext. trigger? (BeagleBone Back + Mesa 7I39, Machinekit?)

2014-04-22 Thread Florian Rist
Hi Dave I think this could be done as a geared solution, Of couse, I forgot to mention, there will be a reduction gear about 1:50 or 1:100, the motor is not very strong and the scanner ways about 5 kg and will be mounted eccentrically, so it will create quite some torque and inertial mass. if

Re: [Emc-users] Motion Synchronization to ext. trigger? (BeagleBone Back + Mesa 7I39, Machinekit?)

2014-04-22 Thread andy pugh
On 22 April 2014 18:38, Florian Rist fr...@fs.tum.de wrote: By the way, can the starting angular position of the thread be specified in LinuxCNC? Not directly. For multi-start threads you offset the starting position. -- atp If you can't fix it, you don't own it.

Re: [Emc-users] Motion Synchronization to ext. trigger? (BeagleBone Back + Mesa 7I39, Machinekit?)

2014-04-22 Thread Florian Rist
Hi Andy Not directly. For multi-start threads you offset the starting position. So two G33.1 calls at the same position and with the same parameters or a Z offset of an integerĀ  multiple of the pitch will cut the same thread. In a way the thread starts always at 0Ā°. See you Flo

Re: [Emc-users] Motion Synchronization to ext. trigger? (BeagleBone Back + Mesa 7I39, Machinekit?)

2014-04-22 Thread Jon Elson
On 04/22/2014 12:20 PM, Florian Rist wrote: Hi Andy, thanks for you comments. Alternatively the Pico PWM brushless servo amp only needs a single channel of PWM: http://www.pico-systems.com/acservo.html Ah, I see that would make thinks much easier. You COULD, in theory, run it with just the