Re: [Emc-users] two requests

2021-01-12 Thread Gene Heskett
On Monday 11 January 2021 06:22:22 Gene Heskett wrote: I have this at the moment for AXIS_A and JOINT_3 in my .ini file # # Axis A # [AXIS_A] MAX_VELOCITY= 30.000 MAX_ACCELERATION= 500.00 [JOINT_3] TYPE= ANGULAR HOME

Re: [Emc-users] two requests

2021-01-11 Thread Gene Heskett
On Monday 11 January 2021 03:48:07 Chris Albertson wrote: > The motor is NOT seeing a 4,000 Hz square wave current. The motor is > an inductive load and it is filtering the 4KHz to nearly DC. Look > and see, Use a real scope (no hal scope) on the line and look at > current v. time. > > Look at

Re: [Emc-users] two requests

2021-01-11 Thread Chris Albertson
The motor is NOT seeing a 4,000 Hz square wave current. The motor is an inductive load and it is filtering the 4KHz to nearly DC. Look and see, Use a real scope (no hal scope) on the line and look at current v. time. Look at the PID controller. it will always oscillate if you are trying to

Re: [Emc-users] two requests

2021-01-10 Thread Gene Heskett
On Sunday 10 January 2021 20:24:20 Jon Elson wrote: > On 01/10/2021 01:49 PM, Gene Heskett wrote: > > And I find when trying to add it, that the mesa version doesn't have > > that. So I need a way to set the pid.n.maxoutput to do the same > > thing but subtract the amount idb uses. How does that

Re: [Emc-users] two requests

2021-01-10 Thread Jon Elson
On 01/10/2021 01:49 PM, Gene Heskett wrote: And I find when trying to add it, that the mesa version doesn't have that. So I need a way to set the pid.n.maxoutput to do the same thing but subtract the amount idb uses. How does that math work with as pwmgen scale of 46, and I can't recall the

Re: [Emc-users] two requests

2021-01-10 Thread Gene Heskett
On Sunday 10 January 2021 13:53:55 Jon Elson wrote: > On 01/10/2021 12:27 PM, Gene Heskett wrote: > > On Sunday 10 January 2021 11:38:42 Jon Elson wrote: > >> On 01/10/2021 01:36 AM, Gene Heskett wrote: > >>> On Saturday 09 January 2021 20:57:24 Jon Elson wrote: > On 01/09/2021 06:39 PM,

Re: [Emc-users] two requests

2021-01-10 Thread Jon Elson
On 01/10/2021 12:27 PM, Gene Heskett wrote: On Sunday 10 January 2021 11:38:42 Jon Elson wrote: On 01/10/2021 01:36 AM, Gene Heskett wrote: On Saturday 09 January 2021 20:57:24 Jon Elson wrote: On 01/09/2021 06:39 PM, Gene Heskett wrote: Yes so idb drives it closer by overdriving it an

Re: [Emc-users] two requests

2021-01-10 Thread Gene Heskett
On Sunday 10 January 2021 11:38:42 Jon Elson wrote: > On 01/10/2021 01:36 AM, Gene Heskett wrote: > > On Saturday 09 January 2021 20:57:24 Jon Elson wrote: > >> On 01/09/2021 06:39 PM, Gene Heskett wrote: > >>> Yes so idb drives it closer by overdriving it an "amount" so that > >>> the friction

Re: [Emc-users] two requests

2021-01-10 Thread Jon Elson
On 01/10/2021 01:36 AM, Gene Heskett wrote: On Saturday 09 January 2021 20:57:24 Jon Elson wrote: On 01/09/2021 06:39 PM, Gene Heskett wrote: Yes so idb drives it closer by overdriving it an "amount" so that the friction locked point is closer to the desired point without going over. The

Re: [Emc-users] two requests

2021-01-09 Thread Gene Heskett
On Saturday 09 January 2021 20:57:24 Jon Elson wrote: > On 01/09/2021 06:39 PM, Gene Heskett wrote: > > Yes so idb drives it closer by overdriving it an "amount" so that > > the friction locked point is closer to the desired point without > > going over. The trick is to null the error without

Re: [Emc-users] two requests

2021-01-09 Thread Jon Elson
On 01/09/2021 06:39 PM, Gene Heskett wrote: Yes so idb drives it closer by overdriving it an "amount" so that the friction locked point is closer to the desired point without going over. The trick is to null the error without changing the sign of the error. If the sign changes, then it

Re: [Emc-users] two requests

2021-01-09 Thread Gene Heskett
On Saturday 09 January 2021 13:08:28 Jon Elson wrote: > On 01/09/2021 11:19 AM, Gene Heskett wrote: > > One last thing I would like to do, is output a zero to the > > pwmgen if the error is less that a tolerance thereby > > shutting down the motor entirely. > > Isn't that what the deadband

Re: [Emc-users] two requests

2021-01-09 Thread Gene Heskett
On Saturday 09 January 2021 12:38:09 Gene Heskett wrote: > On Saturday 09 January 2021 12:19:21 Gene Heskett wrote: > > On Thursday 07 January 2021 21:33:08 Gene Heskett wrote: > > > On Thursday 07 January 2021 18:56:31 Gene Heskett wrote: > > > > On Thursday 07 January 2021 17:54:51 Jon Elson

Re: [Emc-users] two requests

2021-01-09 Thread Jon Elson
On 01/09/2021 11:19 AM, Gene Heskett wrote: One last thing I would like to do, is output a zero to the pwmgen if the error is less that a tolerance thereby shutting down the motor entirely. Isn't that what the deadband parameter into the PID does? Jon

Re: [Emc-users] two requests

2021-01-09 Thread Gene Heskett
On Saturday 09 January 2021 12:19:21 Gene Heskett wrote: > On Thursday 07 January 2021 21:33:08 Gene Heskett wrote: > > On Thursday 07 January 2021 18:56:31 Gene Heskett wrote: > > > On Thursday 07 January 2021 17:54:51 Jon Elson wrote: > > > > On 01/07/2021 02:24 PM, Gene Heskett wrote: > > > >

Re: [Emc-users] two requests

2021-01-09 Thread Gene Heskett
On Thursday 07 January 2021 21:33:08 Gene Heskett wrote: > On Thursday 07 January 2021 18:56:31 Gene Heskett wrote: > > On Thursday 07 January 2021 17:54:51 Jon Elson wrote: > > > On 01/07/2021 02:24 PM, Gene Heskett wrote: > > > > copy pasted from the anderswallin site it had a bunch of python >

Re: [Emc-users] two requests

2021-01-07 Thread Gene Heskett
On Thursday 07 January 2021 18:56:31 Gene Heskett wrote: > On Thursday 07 January 2021 17:54:51 Jon Elson wrote: > > On 01/07/2021 02:24 PM, Gene Heskett wrote: > > > copy pasted from the anderswallin site it had a bunch of python > > > stuff in the paste that didn't show in the onscreen box, so

Re: [Emc-users] two requests

2021-01-07 Thread Gene Heskett
On Thursday 07 January 2021 17:54:51 Jon Elson wrote: > On 01/07/2021 02:24 PM, Gene Heskett wrote: > > copy pasted from the anderswallin site it had a bunch of python > > stuff in the paste that didn't show in the onscreen box, so I > > removed it. Whats left is attached. > > This is an HTML

Re: [Emc-users] two requests

2021-01-07 Thread Jon Elson
On 01/07/2021 02:24 PM, Gene Heskett wrote: copy pasted from the anderswallin site it had a bunch of python stuff in the paste that didn't show in the onscreen box, so I removed it. Whats left is attached. This is an HTML corruption , in0.0 should probably be replaced by in < 0.0 and so

Re: [Emc-users] two requests

2021-01-07 Thread Gene Heskett
On Thursday 07 January 2021 13:49:43 Jon Elson wrote: > On 01/07/2021 09:57 AM, Gene Heskett wrote: > > Greetings all; > > > > Prowling thru the wiki. looking for hints on writing thread milling > > gcode, I note that the only example is for a 3/4" mill, and not > > commented well enough I could

Re: [Emc-users] two requests

2021-01-07 Thread Gene Heskett
On Thursday 07 January 2021 12:49:51 andy pugh wrote: > On Thu, 7 Jan 2021 at 17:41, Gene Heskett wrote: > > idb.comp:12:13: error: ‘lt’ undeclared (first use in this function) > > I would hazard a guess that you are trying to compile html. copy pasted from the anderswallin site it had a bunch

Re: [Emc-users] two requests

2021-01-07 Thread Jon Elson
On 01/07/2021 09:57 AM, Gene Heskett wrote: Greetings all; Prowling thru the wiki. looking for hints on writing thread milling gcode, I note that the only example is for a 3/4" mill, and not commented well enough I could easily adapt it to cut 6mm threads with the mills I just ordered. Has

Re: [Emc-users] two requests

2021-01-07 Thread andy pugh
On Thu, 7 Jan 2021 at 17:41, Gene Heskett wrote: > idb.comp:12:13: error: ‘lt’ undeclared (first use in this function) I would hazard a guess that you are trying to compile html. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical

Re: [Emc-users] two requests

2021-01-07 Thread Gene Heskett
On Thursday 07 January 2021 12:27:47 andy pugh wrote: > sudo halcompile --install gene@GO704:~/src$ sudo halcompile --install idb.comp [sudo] password for gene: make KBUILD_EXTRA_SYMBOLS=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/Module.symvers -C

Re: [Emc-users] two requests

2021-01-07 Thread Gene Heskett
On Thursday 07 January 2021 10:57:48 Gene Heskett wrote: > Greetings all; > > Prowling thru the wiki. looking for hints on writing thread milling > gcode, I note that the only example is for a 3/4" mill, and not > commented well enough I could easily adapt it to cut 6mm threads with > the mills I

Re: [Emc-users] two requests

2021-01-07 Thread andy pugh
On Thu, 7 Jan 2021 at 16:00, Gene Heskett wrote: > What is the proper procedure to use to "comp" it today? sudo halcompile --install filename.comp -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and

[Emc-users] two requests

2021-01-07 Thread Gene Heskett
Greetings all; Prowling thru the wiki. looking for hints on writing thread milling gcode, I note that the only example is for a 3/4" mill, and not commented well enough I could easily adapt it to cut 6mm threads with the mills I just ordered. Has anyone done this for smaller stuff? And while