Re: [Emc-users] Printer ports are not dead yet! (linuxcnc closing the servo loop with $10 pci card)

2022-09-01 Thread marcus . bowman

Sam,

Thanks for posting that link. The video gives a really good explanation 
which is much appreciated. Thanks for taking the time to do that.


Regards,

Marcus


On 2022-09-01 00:39, Sam Sokolik wrote:

some mansplaining..

https://www.youtube.com/watch?v=VWXCAxUzXK0

On Tue, Aug 23, 2022 at 4:40 PM Sam Sokolik  wrote:


The spindle motor is a brushed dc.  I am planning on using another amc
drive to drive it...

On Tue, Aug 23, 2022, 4:33 PM  
wrote:



On 2022-08-23 19:29, Sam Sokolik wrote:
> Little Emco lathe with some pittman servos...   Amc drive that takes
> PWM+Dir.
>

Looks pretty smooth to me.
What Pittman servos are those?
What will you do with the spindle drive motor? Servo?

Marcus


___
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] rtapi_app: caught signal 8 - dumping core

2022-09-01 Thread Bari
Brand new setup using stepconf.   if I spin the spindle encoder quickly 
by hand I get: rtapi_app: caught signal 8 - dumping core


Even if the machine is still in e-stop.   Simple config using stepconf   
LINUXCNC - 2.9.0~pre0


All default settings other than manual edit of LPT base address and 
changed   setp encoder.0.position-scale 4000.00    Default is like 
100 vs 4000


Any ideas what causes this error?

https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.ini

https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.hal

The only mention of a similar error: 
forum.linuxcnc.org/24-hal-components/358...hercat-lcec?start=10




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


Re: [Emc-users] rtapi_app: caught signal 8 - dumping core

2022-09-01 Thread Sam Sokolik
Bary - Could we get all the files?
custompanel.xml
postgui_call_list.hal
custom.hal

I just built RIP on buster and ran the config (remarking out the missing
files)
I have an encoder in pin 10 and 11 and it seems to work with no crash.

sam


On Thu, Sep 1, 2022 at 9:45 PM Bari  wrote:

> Brand new setup using stepconf.   if I spin the spindle encoder quickly
> by hand I get: rtapi_app: caught signal 8 - dumping core
>
> Even if the machine is still in e-stop.   Simple config using stepconf
> LINUXCNC - 2.9.0~pre0
>
> All default settings other than manual edit of LPT base address and
> changed   setp encoder.0.position-scale 4000.00Default is like
> 100 vs 4000
>
> Any ideas what causes this error?
>
> https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.ini
>
> https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.hal
>
> The only mention of a similar error:
> forum.linuxcnc.org/24-hal-components/358...hercat-lcec?start=10
>
>
>
> ___
> 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] rtapi_app: caught signal 8 - dumping core

2022-09-01 Thread Sam Sokolik
I can get it to do it in a freshly built 2.9.0~pre0 - doesn't seem to do it
in 2.8.2

rtapi_app: caught signal 8 - dumping core

exiting linuxcnc gets you
Shutting down and cleaning up LinuxCNC...
task: 2145 cycles, min=0.07, max=0.013650, avg=0.009993, 0 latency
excursions (> 10x expected cycle time of 0.01s)
USRMOT: ERROR: command timeout
Waited 3 seconds for master.  giving up.
Note: Using POSIX realtime
pwmgen: not loaded
:0: exit value: 255
:0: rmmod failed, returned -1
Note: Using POSIX realtime
lowpass: not loaded
:0: exit value: 255
:0: rmmod failed, returned -1
Note: Using POSIX realtime
scale: not loaded
:0: exit value: 255
:0: rmmod failed, returned -1
Note: Using POSIX realtime
abs: not loaded
:0: exit value: 255
:0: rmmod failed, returned -1
Note: Using POSIX realtime
encoder: not loaded
:0: exit value: 255
:0: rmmod failed, returned -1
Note: Using POSIX realtime
stepgen: not loaded
:0: exit value: 255
:0: rmmod failed, returned -1
Note: Using POSIX realtime
hal_parport: not loaded
:0: exit value: 255
:0: rmmod failed, returned -1
Note: Using POSIX realtime
motmod: not loaded
:0: exit value: 255
:0: rmmod failed, returned -1
Note: Using POSIX realtime
trivkins: not loaded
:0: exit value: 255
:0: rmmod failed, returned -1
Note: Using POSIX realtime
homemod: not loaded
:0: exit value: 255
:0: rmmod failed, returned -1
Note: Using POSIX realtime
tpmod: not loaded
:0: exit value: 255
:0: rmmod failed, returned -1
:0: unloadrt failed
Note: Using POSIX realtime



On Thu, Sep 1, 2022 at 10:42 PM Sam Sokolik  wrote:

> Bary - Could we get all the files?
> custompanel.xml
> postgui_call_list.hal
> custom.hal
>
> I just built RIP on buster and ran the config (remarking out the missing
> files)
> I have an encoder in pin 10 and 11 and it seems to work with no crash.
>
> sam
>
>
> On Thu, Sep 1, 2022 at 9:45 PM Bari  wrote:
>
>> Brand new setup using stepconf.   if I spin the spindle encoder quickly
>> by hand I get: rtapi_app: caught signal 8 - dumping core
>>
>> Even if the machine is still in e-stop.   Simple config using stepconf
>> LINUXCNC - 2.9.0~pre0
>>
>> All default settings other than manual edit of LPT base address and
>> changed   setp encoder.0.position-scale 4000.00Default is like
>> 100 vs 4000
>>
>> Any ideas what causes this error?
>>
>> https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.ini
>>
>> https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.hal
>>
>> The only mention of a similar error:
>> forum.linuxcnc.org/24-hal-components/358...hercat-lcec?start=10
>>
>>
>>
>> ___
>> 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] rtapi_app: caught signal 8 - dumping core

2022-09-01 Thread Sam Sokolik
oh - I think we are both running buster too...  (it happens with just those
to files (ini and hal)  when spinning an encoder hooked to pin 10 and 11 of
the printer port.  (happens pretty quick)

sam

On Thu, Sep 1, 2022 at 11:25 PM Sam Sokolik  wrote:

> I can get it to do it in a freshly built 2.9.0~pre0 - doesn't seem to do
> it in 2.8.2
>
> rtapi_app: caught signal 8 - dumping core
>
> exiting linuxcnc gets you
> Shutting down and cleaning up LinuxCNC...
> task: 2145 cycles, min=0.07, max=0.013650, avg=0.009993, 0 latency
> excursions (> 10x expected cycle time of 0.01s)
> USRMOT: ERROR: command timeout
> Waited 3 seconds for master.  giving up.
> Note: Using POSIX realtime
> pwmgen: not loaded
> :0: exit value: 255
> :0: rmmod failed, returned -1
> Note: Using POSIX realtime
> lowpass: not loaded
> :0: exit value: 255
> :0: rmmod failed, returned -1
> Note: Using POSIX realtime
> scale: not loaded
> :0: exit value: 255
> :0: rmmod failed, returned -1
> Note: Using POSIX realtime
> abs: not loaded
> :0: exit value: 255
> :0: rmmod failed, returned -1
> Note: Using POSIX realtime
> encoder: not loaded
> :0: exit value: 255
> :0: rmmod failed, returned -1
> Note: Using POSIX realtime
> stepgen: not loaded
> :0: exit value: 255
> :0: rmmod failed, returned -1
> Note: Using POSIX realtime
> hal_parport: not loaded
> :0: exit value: 255
> :0: rmmod failed, returned -1
> Note: Using POSIX realtime
> motmod: not loaded
> :0: exit value: 255
> :0: rmmod failed, returned -1
> Note: Using POSIX realtime
> trivkins: not loaded
> :0: exit value: 255
> :0: rmmod failed, returned -1
> Note: Using POSIX realtime
> homemod: not loaded
> :0: exit value: 255
> :0: rmmod failed, returned -1
> Note: Using POSIX realtime
> tpmod: not loaded
> :0: exit value: 255
> :0: rmmod failed, returned -1
> :0: unloadrt failed
> Note: Using POSIX realtime
>
>
>
> On Thu, Sep 1, 2022 at 10:42 PM Sam Sokolik  wrote:
>
>> Bary - Could we get all the files?
>> custompanel.xml
>> postgui_call_list.hal
>> custom.hal
>>
>> I just built RIP on buster and ran the config (remarking out the missing
>> files)
>> I have an encoder in pin 10 and 11 and it seems to work with no crash.
>>
>> sam
>>
>>
>> On Thu, Sep 1, 2022 at 9:45 PM Bari  wrote:
>>
>>> Brand new setup using stepconf.   if I spin the spindle encoder quickly
>>> by hand I get: rtapi_app: caught signal 8 - dumping core
>>>
>>> Even if the machine is still in e-stop.   Simple config using stepconf
>>> LINUXCNC - 2.9.0~pre0
>>>
>>> All default settings other than manual edit of LPT base address and
>>> changed   setp encoder.0.position-scale 4000.00Default is like
>>> 100 vs 4000
>>>
>>> Any ideas what causes this error?
>>>
>>> https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.ini
>>>
>>> https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.hal
>>>
>>> The only mention of a similar error:
>>> forum.linuxcnc.org/24-hal-components/358...hercat-lcec?start=10
>>>
>>>
>>>
>>> ___
>>> 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] rtapi_app: caught signal 8 - dumping core

2022-09-01 Thread Bari

https://forum.linuxcnc.org/49-basic-configuration/46796-rtapi-app-caught-signal-8-dumping-core

All the files are here.  ^^

On 9/1/22 22:42, Sam Sokolik wrote:

Bary - Could we get all the files?
custompanel.xml
postgui_call_list.hal
custom.hal

I just built RIP on buster and ran the config (remarking out the missing
files)
I have an encoder in pin 10 and 11 and it seems to work with no crash.

sam


On Thu, Sep 1, 2022 at 9:45 PM Bari  wrote:


Brand new setup using stepconf.   if I spin the spindle encoder quickly
by hand I get: rtapi_app: caught signal 8 - dumping core

Even if the machine is still in e-stop.   Simple config using stepconf
LINUXCNC - 2.9.0~pre0

All default settings other than manual edit of LPT base address and
changed   setp encoder.0.position-scale 4000.00Default is like
100 vs 4000

Any ideas what causes this error?

https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.ini

https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.hal

The only mention of a similar error:
forum.linuxcnc.org/24-hal-components/358...hercat-lcec?start=10



___
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] rtapi_app: caught signal 8 - dumping core

2022-09-01 Thread Sam Sokolik
If I can remember how to do a git bisect - I will try to figure out when it
happened..   Probably won't happen till the weekend.

On Thu, Sep 1, 2022, 11:48 PM Bari  wrote:

>
> https://forum.linuxcnc.org/49-basic-configuration/46796-rtapi-app-caught-signal-8-dumping-core
>
> All the files are here.  ^^
>
> On 9/1/22 22:42, Sam Sokolik wrote:
> > Bary - Could we get all the files?
> > custompanel.xml
> > postgui_call_list.hal
> > custom.hal
> >
> > I just built RIP on buster and ran the config (remarking out the missing
> > files)
> > I have an encoder in pin 10 and 11 and it seems to work with no crash.
> >
> > sam
> >
> >
> > On Thu, Sep 1, 2022 at 9:45 PM Bari  wrote:
> >
> >> Brand new setup using stepconf.   if I spin the spindle encoder quickly
> >> by hand I get: rtapi_app: caught signal 8 - dumping core
> >>
> >> Even if the machine is still in e-stop.   Simple config using stepconf
> >> LINUXCNC - 2.9.0~pre0
> >>
> >> All default settings other than manual edit of LPT base address and
> >> changed   setp encoder.0.position-scale 4000.00Default is like
> >> 100 vs 4000
> >>
> >> Any ideas what causes this error?
> >>
> >> https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.ini
> >>
> >> https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.hal
> >>
> >> The only mention of a similar error:
> >> forum.linuxcnc.org/24-hal-components/358...hercat-lcec?start=10
> >>
> >>
> >>
> >> ___
> >> 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
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] rtapi_app: caught signal 8 - dumping core

2022-09-01 Thread Bari

Don't worry about it. I'll be on it in a few hours.

Thanks again for the time savings and test on 2.8.

On 9/1/22 23:58, Sam Sokolik wrote:

If I can remember how to do a git bisect - I will try to figure out when it
happened..   Probably won't happen till the weekend.

On Thu, Sep 1, 2022, 11:48 PM Bari  wrote:


https://forum.linuxcnc.org/49-basic-configuration/46796-rtapi-app-caught-signal-8-dumping-core

All the files are here.  ^^

On 9/1/22 22:42, Sam Sokolik wrote:

Bary - Could we get all the files?
custompanel.xml
postgui_call_list.hal
custom.hal

I just built RIP on buster and ran the config (remarking out the missing
files)
I have an encoder in pin 10 and 11 and it seems to work with no crash.

sam


On Thu, Sep 1, 2022 at 9:45 PM Bari  wrote:


Brand new setup using stepconf.   if I spin the spindle encoder quickly
by hand I get: rtapi_app: caught signal 8 - dumping core

Even if the machine is still in e-stop.   Simple config using stepconf
LINUXCNC - 2.9.0~pre0

All default settings other than manual edit of LPT base address and
changed   setp encoder.0.position-scale 4000.00Default is like
100 vs 4000

Any ideas what causes this error?

https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.ini

https://forum.linuxcnc.org/media/kunena/attachments/1324/simple.hal

The only mention of a similar error:
forum.linuxcnc.org/24-hal-components/358...hercat-lcec?start=10



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