Re: [Emc-users] Buster RTAI

2019-12-17 Thread Thomas D. Dean

I have buster installed and
rtai-modules-4.14.148_5.2.3-linuxcnc_amd64.deb

I built linuxcnc, running the buster rtai kernel, from the git sources.

dpkg-checkbuilddeps found most of the needed packages.  It missed 5,
bwidgit, libtk-img, tclx, python-gtk2, and python-yapps.

After build-in-place, runtests showed no errors.

I did 'dpkg-buildpackage -b -uc' at the top level.  This created 10 files.

linuxcnc_2.9.0~pre0_amd64.buildinfo
linuxcnc_2.9.0~pre0_amd64.changes

linuxcnc-doc-en_2.9.0~pre0_all.deb
linuxcnc-doc-es_2.9.0~pre0_all.deb
linuxcnc-doc-fr_2.9.0~pre0_all.deb

linuxcnc-uspace_2.9.0~pre0_amd64.deb
linuxcnc-uspace-rtai_2.9.0~pre0_amd64.deb

linuxcnc-uspace-dev_2.9.0~pre0_amd64.deb

linuxcnc-uspace-dbgsym_2.9.0~pre0_amd64.deb
linuxcnc-uspace-rtai-dbgsym_2.9.0~pre0_amd64.deb

I need to install linuxcnc-uspace-rtai_2.9.0~pre0_amd64.deb.
Do I need linuxcnc-uspace_2.9.0~pre0_amd64.deb?

What is the purpose of linuxcnc-uspace-dev_2.9.0~pre0_amd64.deb?

Tom Deab


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 6i24 + 7i44 configuration

2019-12-17 Thread Leonardo Marsaglia
John, I'll be uploading some pictures and video with pleasure. This machine
is a Mazak lathe that  we should have retrofitted to LCNC a year ago, but
because of lack of time and a lof of work we had to postpone. The lathe
itself is working fine (we only replaced the spindle drive and monitor) but
since it's old we don't want to experiment the failure of some critical
component. Also with LinuxCNC we can improve the functionality of the
machine.

I've already finished adapting the new servo motors and pulleys to the
machine. Also I finished the new monitor case (I'll upload photos of all of
this). The only thing left to do is to mount everything on the machine and
then identify and connect all the cables to the MESA boards. Fortunately,
we don't have to re wire too much. Only servo motors, a VGA and the 7i73 on
the main panel. I'm already making the components I need for the turret and
some other stuff. But more or less that's the story.

Only thing left is to wait for the 7i52 and test everything out of the
machine before we switch to LinuxCNC.

El mar., 17 dic. 2019 a las 20:50, John Dammeyer ()
escribió:

> Looking forward to seeing some photos.
> John
>
>
> > -Original Message-
> > From: Leonardo Marsaglia [mailto:ldmarsag...@gmail.com]
> > Sent: December-17-19 3:43 PM
> > To: Enhanced Machine Controller (EMC)
> > Subject: Re: [Emc-users] 6i24 + 7i44 configuration
> >
> > My mistake. 7i70 is for inputs and 7i71 for outputs.
> >
> > - 7i73 <> Pendant, and buttons on the main
> > panel
> >   /
> >> 7i44 -7i70 <-Sensors, limit switches, etc...
> >   /   \
> > 6i24 -7i71>Relays
> >  \
> > -7i52S  <> Servos step+dir out / Spindle out with stepper
> > in velocity mode / Spindle encoder in
> >
> > El mar., 17 dic. 2019 a las 20:38, Leonardo Marsaglia (<
> > ldmarsag...@gmail.com>) escribi�:
> >
> > > Well, today I purchased the 7i52S to finally have my setup completed. I
> > > was checking  the spindle manual today and I found it can be driven by
> > > pulses too, so I don't need to have an analog out for that. That takes
> the
> > > 7i33 out of the game for this machine.
> > >
> > > So to sum up, this is how is going to be (last time I described this I
> > > forgot I already had a 7i73):
> > >
> > >
> > > - 7i73 <> Pendant, and buttons on the main
> > > panel
> > >   /
> > >> 7i44 -7i71 <-Sensors, limit switches, etc...
> > >   /   \
> > > 6i24 -7i70 >Relays
> > >  \
> > > -7i52S  <> Servos step+dir out / Spindle out with
> stepper
> > > in velocity mode / Spindle encoder in
> > >
> > > Is there a bit file for such a configuration ? Or a new one has to be
> > > done?
> > >
> > > If you can help me out it would be awesome. I'll also try to play a
> little
> > > bit with Xilinx ISE and the source files but I think it will take a
> while
> > > for me to get used to make my own bit files.
> > >
> > > Thank you guys as always.
> > >
> > > Leonardo
> > >
> > >
> > > El lun., 16 dic. 2019 a las 19:35, Gene Heskett ( >)
> > > escribi�:
> > >
> > >> On Monday 16 December 2019 16:28:30 andy pugh wrote:
> > >>
> > >> > On Mon, 16 Dec 2019 at 20:19, Gene Heskett 
> > >> wrote:
> > >> > > But, why do you think you need it?
> > >> > >
> > >> > > Theres one place in the misters control where on the 6040 where I
> > >> > > could stand to defeat the D designation by makeing a logic 1 true,
> > >> > > srcing to drive instead of sinking it.
> > >> >
> > >> > I think that the source/sink is a hardware thing, not changeable by
> > >> > firmware. Otherwise 7i76 / 7i76D would be a firmware difference,
> not a
> > >> > separate part.
> > >>
> > >> Yes. So I put in a relay to shut it off when "mist" is disabled. Works
> > >> well.
> > >>
> > >> 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)
> > >> If we desire respect for the law, we must first make the law
> respectable.
> > >>  - Louis D. Brandeis
> > >> Genes Web page 
> > >>
> > >>
> > >> ___
> > >> 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
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net

Re: [Emc-users] 6i24 + 7i44 configuration

2019-12-17 Thread John Dammeyer
Looking forward to seeing some photos.
John


> -Original Message-
> From: Leonardo Marsaglia [mailto:ldmarsag...@gmail.com]
> Sent: December-17-19 3:43 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] 6i24 + 7i44 configuration
> 
> My mistake. 7i70 is for inputs and 7i71 for outputs.
> 
> - 7i73 <> Pendant, and buttons on the main
> panel
>   /
>> 7i44 -7i70 <-Sensors, limit switches, etc...
>   /   \
> 6i24 -7i71>Relays
>  \
> -7i52S  <> Servos step+dir out / Spindle out with stepper
> in velocity mode / Spindle encoder in
> 
> El mar., 17 dic. 2019 a las 20:38, Leonardo Marsaglia (<
> ldmarsag...@gmail.com>) escribi�:
> 
> > Well, today I purchased the 7i52S to finally have my setup completed. I
> > was checking  the spindle manual today and I found it can be driven by
> > pulses too, so I don't need to have an analog out for that. That takes the
> > 7i33 out of the game for this machine.
> >
> > So to sum up, this is how is going to be (last time I described this I
> > forgot I already had a 7i73):
> >
> >
> > - 7i73 <> Pendant, and buttons on the main
> > panel
> >   /
> >> 7i44 -7i71 <-Sensors, limit switches, etc...
> >   /   \
> > 6i24 -7i70 >Relays
> >  \
> > -7i52S  <> Servos step+dir out / Spindle out with stepper
> > in velocity mode / Spindle encoder in
> >
> > Is there a bit file for such a configuration ? Or a new one has to be
> > done?
> >
> > If you can help me out it would be awesome. I'll also try to play a little
> > bit with Xilinx ISE and the source files but I think it will take a while
> > for me to get used to make my own bit files.
> >
> > Thank you guys as always.
> >
> > Leonardo
> >
> >
> > El lun., 16 dic. 2019 a las 19:35, Gene Heskett ()
> > escribi�:
> >
> >> On Monday 16 December 2019 16:28:30 andy pugh wrote:
> >>
> >> > On Mon, 16 Dec 2019 at 20:19, Gene Heskett 
> >> wrote:
> >> > > But, why do you think you need it?
> >> > >
> >> > > Theres one place in the misters control where on the 6040 where I
> >> > > could stand to defeat the D designation by makeing a logic 1 true,
> >> > > srcing to drive instead of sinking it.
> >> >
> >> > I think that the source/sink is a hardware thing, not changeable by
> >> > firmware. Otherwise 7i76 / 7i76D would be a firmware difference, not a
> >> > separate part.
> >>
> >> Yes. So I put in a relay to shut it off when "mist" is disabled. Works
> >> well.
> >>
> >> 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)
> >> If we desire respect for the law, we must first make the law respectable.
> >>  - Louis D. Brandeis
> >> Genes Web page 
> >>
> >>
> >> ___
> >> 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] 6i24 + 7i44 configuration

2019-12-17 Thread Leonardo Marsaglia
By the way, the board is the 6i24-25. I don't know if I pointed out that
earlier.



El mar., 17 dic. 2019 a las 20:43, Leonardo Marsaglia (<
ldmarsag...@gmail.com>) escribió:

> My mistake. 7i70 is for inputs and 7i71 for outputs.
>
> - 7i73 <> Pendant, and buttons on the main
> panel
>   /
>> 7i44 -7i70 <-Sensors, limit switches, etc...
>   /   \
> 6i24 -7i71>Relays
>  \
> -7i52S  <> Servos step+dir out / Spindle out with stepper
> in velocity mode / Spindle encoder in
>
> El mar., 17 dic. 2019 a las 20:38, Leonardo Marsaglia (<
> ldmarsag...@gmail.com>) escribió:
>
>> Well, today I purchased the 7i52S to finally have my setup completed. I
>> was checking  the spindle manual today and I found it can be driven by
>> pulses too, so I don't need to have an analog out for that. That takes the
>> 7i33 out of the game for this machine.
>>
>> So to sum up, this is how is going to be (last time I described this I
>> forgot I already had a 7i73):
>>
>>
>> - 7i73 <> Pendant, and buttons on the main
>> panel
>>   /
>>> 7i44 -7i71 <-Sensors, limit switches, etc...
>>   /   \
>> 6i24 -7i70 >Relays
>>  \
>> -7i52S  <> Servos step+dir out / Spindle out with stepper
>> in velocity mode / Spindle encoder in
>>
>> Is there a bit file for such a configuration ? Or a new one has to be
>> done?
>>
>> If you can help me out it would be awesome. I'll also try to play a
>> little bit with Xilinx ISE and the source files but I think it will take a
>> while for me to get used to make my own bit files.
>>
>> Thank you guys as always.
>>
>> Leonardo
>>
>>
>> El lun., 16 dic. 2019 a las 19:35, Gene Heskett ()
>> escribió:
>>
>>> On Monday 16 December 2019 16:28:30 andy pugh wrote:
>>>
>>> > On Mon, 16 Dec 2019 at 20:19, Gene Heskett 
>>> wrote:
>>> > > But, why do you think you need it?
>>> > >
>>> > > Theres one place in the misters control where on the 6040 where I
>>> > > could stand to defeat the D designation by makeing a logic 1 true,
>>> > > srcing to drive instead of sinking it.
>>> >
>>> > I think that the source/sink is a hardware thing, not changeable by
>>> > firmware. Otherwise 7i76 / 7i76D would be a firmware difference, not a
>>> > separate part.
>>>
>>> Yes. So I put in a relay to shut it off when "mist" is disabled. Works
>>> well.
>>>
>>> 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)
>>> If we desire respect for the law, we must first make the law respectable.
>>>  - Louis D. Brandeis
>>> Genes Web page 
>>>
>>>
>>> ___
>>> 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] 6i24 + 7i44 configuration

2019-12-17 Thread Leonardo Marsaglia
My mistake. 7i70 is for inputs and 7i71 for outputs.

- 7i73 <> Pendant, and buttons on the main
panel
  /
   > 7i44 -7i70 <-Sensors, limit switches, etc...
  /   \
6i24 -7i71>Relays
 \
-7i52S  <> Servos step+dir out / Spindle out with stepper
in velocity mode / Spindle encoder in

El mar., 17 dic. 2019 a las 20:38, Leonardo Marsaglia (<
ldmarsag...@gmail.com>) escribió:

> Well, today I purchased the 7i52S to finally have my setup completed. I
> was checking  the spindle manual today and I found it can be driven by
> pulses too, so I don't need to have an analog out for that. That takes the
> 7i33 out of the game for this machine.
>
> So to sum up, this is how is going to be (last time I described this I
> forgot I already had a 7i73):
>
>
> - 7i73 <> Pendant, and buttons on the main
> panel
>   /
>> 7i44 -7i71 <-Sensors, limit switches, etc...
>   /   \
> 6i24 -7i70 >Relays
>  \
> -7i52S  <> Servos step+dir out / Spindle out with stepper
> in velocity mode / Spindle encoder in
>
> Is there a bit file for such a configuration ? Or a new one has to be
> done?
>
> If you can help me out it would be awesome. I'll also try to play a little
> bit with Xilinx ISE and the source files but I think it will take a while
> for me to get used to make my own bit files.
>
> Thank you guys as always.
>
> Leonardo
>
>
> El lun., 16 dic. 2019 a las 19:35, Gene Heskett ()
> escribió:
>
>> On Monday 16 December 2019 16:28:30 andy pugh wrote:
>>
>> > On Mon, 16 Dec 2019 at 20:19, Gene Heskett 
>> wrote:
>> > > But, why do you think you need it?
>> > >
>> > > Theres one place in the misters control where on the 6040 where I
>> > > could stand to defeat the D designation by makeing a logic 1 true,
>> > > srcing to drive instead of sinking it.
>> >
>> > I think that the source/sink is a hardware thing, not changeable by
>> > firmware. Otherwise 7i76 / 7i76D would be a firmware difference, not a
>> > separate part.
>>
>> Yes. So I put in a relay to shut it off when "mist" is disabled. Works
>> well.
>>
>> 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)
>> If we desire respect for the law, we must first make the law respectable.
>>  - Louis D. Brandeis
>> Genes Web page 
>>
>>
>> ___
>> 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] 6i24 + 7i44 configuration

2019-12-17 Thread Leonardo Marsaglia
Well, today I purchased the 7i52S to finally have my setup completed. I was
checking  the spindle manual today and I found it can be driven by pulses
too, so I don't need to have an analog out for that. That takes the 7i33
out of the game for this machine.

So to sum up, this is how is going to be (last time I described this I
forgot I already had a 7i73):


- 7i73 <> Pendant, and buttons on the main
panel
  /
   > 7i44 -7i71 <-Sensors, limit switches, etc...
  /   \
6i24 -7i70 >Relays
 \
-7i52S  <> Servos step+dir out / Spindle out with stepper
in velocity mode / Spindle encoder in

Is there a bit file for such a configuration ? Or a new one has to be done?

If you can help me out it would be awesome. I'll also try to play a little
bit with Xilinx ISE and the source files but I think it will take a while
for me to get used to make my own bit files.

Thank you guys as always.

Leonardo


El lun., 16 dic. 2019 a las 19:35, Gene Heskett ()
escribió:

> On Monday 16 December 2019 16:28:30 andy pugh wrote:
>
> > On Mon, 16 Dec 2019 at 20:19, Gene Heskett 
> wrote:
> > > But, why do you think you need it?
> > >
> > > Theres one place in the misters control where on the 6040 where I
> > > could stand to defeat the D designation by makeing a logic 1 true,
> > > srcing to drive instead of sinking it.
> >
> > I think that the source/sink is a hardware thing, not changeable by
> > firmware. Otherwise 7i76 / 7i76D would be a firmware difference, not a
> > separate part.
>
> Yes. So I put in a relay to shut it off when "mist" is disabled. Works
> well.
>
> 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)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
>
>
> ___
> 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] Latency Warning Messages

2019-12-17 Thread Dave Matthews
On Tue, Dec 17, 2019 at 2:00 PM John Dammeyer  wrote:
>
> Actually I think it's at one pulse per two base periods.  One to set the step 
> signals high, one to set them low.  The document referenced by "bari",
>
> How to choose your base period:
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?TweakingSoftwareStepGeneration
>
> explains that in detail.
> John Dammeyer
>
Thank you, I hadn't seen that bit of documentation.  Looks like I can
do about 285 in/min with my current setup without any tweaking.  Half
of that is a realistic speed for my Gatton CNC to do rapids.

Dave


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Buster RTAI

2019-12-17 Thread Thomas D. Dean

Upgrading to buster was successful.
I got the RTAI kernel installed.

linuxcnc has dependency problems.  It wants python-vte, which wants 
libvte-common=1:0.28.2-5.  libvte-common=1:0.28.2-6 is on the repo's. 
If I install libvte-common=1:0.28.2-5, it breaks other things...


Trying to fix this with apt winds up in a circle.

Am I missing something?  Is it possible to get the .deb files 
regenerated with current sources?


Tom Dean


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency Warning Messages

2019-12-17 Thread andy pugh
On Tue, 17 Dec 2019 at 19:00, John Dammeyer  wrote:
>
> Actually I think it's at one pulse per two base periods.  One to set the step 
> signals high, one to set them low.

The parport driver offers a "reset" function that sets selected pins
back to zero. You can run this later in the thread than the "write"
function and it either resets the pins immediately if the step time
has expired, or waits a few µS for that to happen then resets.

-- 
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] Latency Warning Messages

2019-12-17 Thread John Dammeyer
Actually I think it's at one pulse per two base periods.  One to set the step 
signals high, one to set them low.  The document referenced by "bari",

How to choose your base period:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?TweakingSoftwareStepGeneration

explains that in detail.
John Dammeyer


> -Original Message-
> From: Dave Matthews [mailto:n36...@gmail.com]
> Sent: December-17-19 10:41 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Latency Warning Messages
> 
> On Tue, Dec 17, 2019 at 12:55 PM andy pugh  wrote:
> >
> > On Tue, 17 Dec 2019 at 17:47, Dave Matthews  wrote:
> >
> > > For those of us in the cheap seats how does the base thread frequency
> > > relate to the maximum number of words per second sent to the parallel
> > > port?
> >
> > The system can send a maximum of one pulse per base period.
> >
> 
> And that pulse contains the information for all of the motors being
> controlled.  Correct?
> 
> Dave
> 
> 
> ___
> 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] Latency Warning Messages

2019-12-17 Thread Dave Matthews
On Tue, Dec 17, 2019 at 12:55 PM andy pugh  wrote:
>
> On Tue, 17 Dec 2019 at 17:47, Dave Matthews  wrote:
>
> > For those of us in the cheap seats how does the base thread frequency
> > relate to the maximum number of words per second sent to the parallel
> > port?
>
> The system can send a maximum of one pulse per base period.
>

And that pulse contains the information for all of the motors being
controlled.  Correct?

Dave


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] about NML - RCS_CMD_CHANNEL/EMC_CMD_MSG - EMC_AUX_ESTOP_ON

2019-12-17 Thread John Dammeyer
> -Original Message-
> From: andy pugh [mailto:bodge...@gmail.com]


> On Mon, 16 Dec 2019 at 18:46, theman whosoldtheworld
>  wrote:
> 
> > Not understand very well these point ..
> 
> Nor do I.
> I feel that his thread here might have touched on some of the same issues.
> https://forum.linuxcnc.org/41-guis/36920-labview-ui-project-for-
> linuxcnc?start=0
> 

Fascinating thread.  Thanks for posting that link Andy.  I agree with some of 
the posters who wonder about the value of using LabView.  

Given how far Lazarus (Free Pascal) has come along now with the "Write Once, 
Compiler Anywhere" philosophy, it may be worthwhile to look into doing what the 
author of the Labview project has done but with Lazarus.  It would allow the 
user interface to be compiled and run on PCs, Apples or Linux boxes.  

The interface done in shared memory as described by the user Rienhard, and the 
user interface passing that information as either Ethernet or locally into that 
same shared memory model.

Bu I might be all wet here.  I don't know enough about how LinuxCNC works to be 
able to even know if this would work.  I have been using Delphi on Windows 
since it came out and I'm very impressed with Lazarus.  I've written small 
Lazarus sample programs on a Windows machine and recompiled and run the same 
application on a Raspberry Pi, BeagleBone Black and the LinuxCNC box.The 
only issue has been which version of Lazarus as the platforms aren't all at 
exactly the same point.  The PC and LinuxPC versions are further ahead of the 
BeagleBone and introduce features that aren't available.   The Pi is a bit 
further than the BeagleBone.

John Dammeyer




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency Warning Messages

2019-12-17 Thread Eric Keller
In the past, I have had a reasonable amount of luck reducing real time
delays by building a custom kernel.  Not sure if those kinds of gains are
still possible.  And it's a lot of work unless you are using realtime
preempt.

As far as Gene's problem with the beep, they are probably using the 8051 on
the system management bus for that.  I wonder if a sound card would have
the same problem. I think most beeps can be routed through the sound card.
Eric Keller
Boalsburg, Pennsylvania



On Mon, Dec 16, 2019 at 9:19 PM John Dammeyer 
wrote:

> > >
> > > For example.  The board in the machine at the moment generates a Servo
> > > Jitter of 33217 and Base Jitter of 131983.
>
>
> > Thats pretty slow john, I'd take that machine to the office and bring out
> > the office machine.  It might just be faster. :)
> >
>
> Yes Gene,
> I sometimes wonder if there is something else going on.  Something the
> BIOS settings that makes these two machines so slow.  Processor and memory
> wise they should be more than adequate.  They weren't expensive as they
> were used.  But what's to say if I went to COSTCO and bought a new one that
> I'd be any better off.
>
> John
>
>
>
>
> ___
> 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] Latency Warning Messages

2019-12-17 Thread andy pugh
On Tue, 17 Dec 2019 at 17:47, Dave Matthews  wrote:

> For those of us in the cheap seats how does the base thread frequency
> relate to the maximum number of words per second sent to the parallel
> port?

The system can send a maximum of one pulse per base period.

-- 
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] Latency Warning Messages

2019-12-17 Thread Dave Matthews
On Tue, Dec 17, 2019 at 9:22 AM Peter C. Wallace  wrote:
>
> You can get really bad base jitter if you try to run the base thread faster 
> than
> the machine is capable of responding (the latency-tests default 40 KHz base
> thread is too fast for some systems so you might get considerably better
> reported latency at 20 KHz for example)
>
>
> Peter Wallace
> Mesa Electronics
>
For those of us in the cheap seats how does the base thread frequency
relate to the maximum number of words per second sent to the parallel
port?  I figure 20k words / second would work out to 375 inches /
minute of travel on my homebuilt CNC router.  Far faster than I would
need and thus in the range of not needing to worry about it all that
much.

Dave


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Buster RTAI

2019-12-17 Thread andy pugh
On Tue, 17 Dec 2019 at 16:03, Thomas D. Dean  wrote:

> 4.  Install the deb's
> cd ~/RTAI
> sudo dpkg -i *.deb
>
> The part I am most unsure about is the dpkg command.  Does that look
> reasonable?

I think I would do the install one at a time, (kernel then RTAI then
LinuxCNC then docs)

apt-get install with a path to the .deb might be better at installing
dependencies.

-- 
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] Buster RTAI

2019-12-17 Thread Thomas D. Dean

Changing from the 'Latency Warning Messages', thread,

I plan to test upgrading stretch to buster rtai.  The steps are:

1.  Fetch the RTAI deb's into ~/RTAI:
cd ~/RTAI
wget http://www.linuxcnc.org/temp/linux-headers-4.14.148-rtai-amd64.deb
wget http://www.linuxcnc.org/temp/linux-image-4.14.148-rtai-amd64.deb
wget http://www.linuxcnc.org/temp/linuxcnc-dev_2.8.0~pre1_amd64.deb
wget http://www.linuxcnc.org/temp/linuxcnc-doc-en_2.8.0~pre1_all.deb
wget http://www.linuxcnc.org/temp/linuxcnc_2.8.0~pre1_amd64.deb
wget 
http://www.linuxcnc.org/temp/rtai-modules-4.14.148_5.2.3-linuxcnc_amd64.deb


2.  Upgrade stretch to buster.
## switch apt sources from stretch to buster
sudo bash
  cd /etc/apt
  mv sources.list sources.list.bak
  cat sources.list.bak | sed 's/stretch/buster/g' > sources.list
exit

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

3.  Reboot

4.  Install the deb's
cd ~/RTAI
sudo dpkg -i *.deb

The part I am most unsure about is the dpkg command.  Does that look 
reasonable?


Tom Dean


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] about NML - RCS_CMD_CHANNEL/EMC_CMD_MSG - EMC_AUX_ESTOP_ON

2019-12-17 Thread theman whosoldtheworld
Thanks  I try to ask on forum  not see that thread previously. I
read now but not see things that can help me.

I make somethings of similar with modbus  work well but there is not a
fast response with (max 50ms)  someone suggested me sdi bus  but is
not my ideas ... so that the solution of using nml c ++ in a parallel
thread compared to the gui seemed to me the most suitable solution for a
data refresh within 5ms. Obtain STATUS is quite simple ... sending command
I not understand how to do. On the other hand, debugging can only be
obtained on the terminal (I use linuxcnc-dev userspaces on my test
machine), and for me that I'm not used to, it creates a bit of
misunderstanding.

regards
bkt



Il giorno mar 17 dic 2019 alle ore 11:04 andy pugh  ha
scritto:

> On Mon, 16 Dec 2019 at 18:46, theman whosoldtheworld
>  wrote:
>
> > Not understand very well these point ..
>
> Nor do I.
> I feel that his thread here might have touched on some of the same issues.
>
> https://forum.linuxcnc.org/41-guis/36920-labview-ui-project-for-linuxcnc?start=0
>
>
> --
> 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] Latency Warning Messages

2019-12-17 Thread Peter C. Wallace

On Tue, 17 Dec 2019, andy pugh wrote:



Date: Tue, 17 Dec 2019 11:32:22 +
From: andy pugh 
Reply-To: "Enhanced Machine Controller (EMC)"

To: "Enhanced Machine Controller (EMC)" 
Subject: Re: [Emc-users] Latency Warning Messages

On Mon, 16 Dec 2019 at 23:42, John Dammeyer  wrote:

For example.  The board in the machine at the moment generates a
Servo Jitter of 33217 and Base Jitter of 131983.



That's fairly terrible.



Out of interest, how well does that machine work with Mach3?


You can get really bad base jitter if you try to run the base thread faster than 
the machine is capable of responding (the latency-tests default 40 KHz base 
thread is too fast for some systems so you might get considerably better 
reported latency at 20 KHz for example)



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency Warning Messages

2019-12-17 Thread andy pugh
On Mon, 16 Dec 2019 at 23:42, John Dammeyer  wrote:

> For example.  The board in the machine at the moment generates a Servo Jitter 
> of 33217 and Base Jitter of 131983.

That's fairly terrible.

Out of interest, how well does that machine work with Mach3?

-- 
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] about NML - RCS_CMD_CHANNEL/EMC_CMD_MSG - EMC_AUX_ESTOP_ON

2019-12-17 Thread andy pugh
On Mon, 16 Dec 2019 at 18:46, theman whosoldtheworld
 wrote:

> Not understand very well these point ..

Nor do I.
I feel that his thread here might have touched on some of the same issues.
https://forum.linuxcnc.org/41-guis/36920-labview-ui-project-for-linuxcnc?start=0


-- 
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