Re: [Emc-users] triggering the mesa card encoder index pulse

2022-11-08 Thread andrew beck
Ok guys toolchanger works mint now.

I'm looking for a 4th axis config now.

Anyone got any I need to set up my 4th axis for a job

On Wed, 9 Nov 2022, 09:38 andrew beck,  wrote:

> Yeah that's a pain
>
> I currently use the tool prepared pin to make sure it's prepared lol and
> stop a toolchange if the correct tool is not in spindle
>
> On Wed, 9 Nov 2022, 08:55 andy pugh,  wrote:
>
>> On Tue, 8 Nov 2022 at 19:10, andrew beck 
>> wrote:
>>
>> > but its not preloading tool
>> >
>> > it sits there and waits for the tool to load instead of doing it while
>> the
>> > program is running
>> >
>>
>> You (may) need to assert tool-prepared straight away, and then get on with
>> the actual prep. Though that isn't how Ithought it worked,
>>
>> --
>> 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] my camera works this morning

2022-11-08 Thread gene heskett

On 11/8/22 12:38, Andy Pugh wrote:



On 8 Nov 2022, at 16:31, gene heskett  wrote:

The pix looks usable
with one very small target circle at the cross hairs junction.

If you have a scroll button mouse try scrolling
Also try scrolling whilst pressing each button

.

I figured it was too good to last.  I updated from master and rebooted it,
screen, crosshairs ok, but no camera. There was a very faint white on white
error msg, very hard to read but something about video0 behind the 
crosshairs.


So I unplugged the camera and plugged it back in to an adjacent usb 
port, then

consulted dmesg:
[1233626.080150] usb 2-1: USB disconnect, device number 2
[1233626.080858] uvcvideo: Failed to resubmit video URB (-19).
[1233626.084857] uvcvideo: Failed to resubmit video URB (-19).
[1233626.088857] uvcvideo: Failed to resubmit video URB (-19).
[1233626.092856] uvcvideo: Failed to resubmit video URB (-19).
[1233626.096856] uvcvideo: Failed to resubmit video URB (-19).
[1233628.329317] usb 1-1.3: new high-speed USB device number 4 using 
ehci-pci
[1233628.554053] usb 1-1.3: New USB device found, idVendor=058f, 
idProduct=5608, bcdDevice= 0.03
[1233628.554055] usb 1-1.3: New USB device strings: Mfr=3, Product=1, 
SerialNumber=0

[1233628.554056] usb 1-1.3: Product: USB 2.0 PC Camera
[1233628.554056] usb 1-1.3: Manufacturer: Alcor Micro, Corp.
[1233628.564811] uvcvideo: Found UVC 1.00 device USB 2.0 PC Camera 
(058f:5608)
[1233628.571318] input: USB 2.0 PC Camera: USB 2.0 PC C as 
/devices/pci:00/:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input28


And now there is no /dev/video0
So I rebooted it again, getting a /dev/video0 this time.

But now the 3rd screen is its usual blank white. I don't have any 
instant projects

for it, so it can sit while you ask for more info.

Thanks Andy.


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
Genes Web page 



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


Re: [Emc-users] my camera works this morning

2022-11-08 Thread gene heskett

On 11/8/22 12:38, Andy Pugh wrote:



On 8 Nov 2022, at 16:31, gene heskett  wrote:

The pix looks usable
with one very small target circle at the cross hairs junction.

If you have a scroll button mouse try scrolling
Also try scrolling whilst pressing each button

.

Thank you, a pleasant surprise, cross-hair rotation, target circle size,
and image zoom. I'll have to get used to that. There is still a bit of
lag between camera move and display but it seems less by far
than before.

This mouse's scroll wheel is also a 3rd button, but I got nothing 
noticeable

when held down and scrolled, was I supposed to? Or is that dependent
on some .hal editing magic?

Thank you Andy.

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
Genes Web page 



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


Re: [Emc-users] Fusion 360

2022-11-08 Thread Brian Bland
I would like to try it out.

Brian Bland

On Tue, Nov 8, 2022 at 12:15 PM Les Newell 
wrote:

> SheetCam now has a lathe plugin. It's still in beta but you are welcome
> to try it. If you don't have a SheetCam license I can give you a free 30
> day license so you can have a play with it.
>
> Les
>
>

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


Re: [Emc-users] triggering the mesa card encoder index pulse

2022-11-08 Thread John Dammeyer
I did a quick shaky video with my cell phone.

https://youtu.be/NOfAEI5TMxY

John


> -Original Message-
> From: andrew beck [mailto:andrewbeck0...@gmail.com]
> Sent: November-08-22 3:03 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] triggering the mesa card encoder index pulse
> 
> Hey guys it got us sussed!  Working perfectly.
> 
> I'll upload a video and hope to make a guide on the forums for the next guy
> 
> On Wed, 9 Nov 2022, 12:02 John Dammeyer,  wrote:
> 
> > Looking at:
> >
> > https://linuxcnc.org/docs/html/gcode/m-code.html#mcode:m66
> >
> > Should there not be a Q in front of the 10 in your line below for a
> > timeout of 10 seconds?
> > M66 P0 L2 10
> >
> > If I were to do this then I have this in my hal filev which shows which
> > pin is encoder index:
> > #IO Connections for P1
> > #DBn.m_PMDX_Jn.m  I/O   Pri. func  Sec. func   Chan  Pin func
> >   Pin Dir
> > # P2.13_J11.7   33  IOPort QCount   1Quad-IDX
> >   (In)   Encoder-Index
> >
> > Then in the hal file I add:
> > net spindle-index-in  motion.digital-in-00  <= hm2_7i92.0.gpio.033.in
> >
> > Finally the G-Code would look like this?
> > S10 M3
> > M66 P0 L2 Q10
> > M5
> > T__  tool change...
> >
> > Or have I missed something?
> > Thanks
> > John
> >
> > > -Original Message-
> > > From: andrew beck [mailto:andrewbeck0...@gmail.com]
> > > Sent: November-08-22 2:20 AM
> > > To: Enhanced Machine Controller (EMC)
> > > Subject: Re: [Emc-users] triggering the mesa card encoder index pulse
> > >
> > > Hey andy.
> > >
> > >  I was just having a play and I can actually just sense the input-index
> > pin
> > > directly.  With
> > > M66 P0 L2 10
> > > I rotate spindle at 5rpm and wait until sensor changes state
> > >
> > > Then stop.
> > >
> > >
> > > In my case this is a proxy switch.  Not a encoder so I don't have to
> > worry
> > > about missing it.
> > >
> > > Anyway I tried that and it's orientating fine at the moment.
> > >
> > > And very simple compared to m19 stuff.
> > >
> > > I'll finish it tomorrow and might make a video to show you guys.
> > >
> > > On Tue, 8 Nov 2022, 23:15 andy pugh,  wrote:
> > >
> > > > On Tue, 8 Nov 2022 at 04:50, andrew beck 
> > wrote:
> > > >
> > > > >
> > > > > i am using the tristate bit but getting a bit confused on how it
> > works
> > > > >
> > > >
> > > > It only drives the output to the input when enable is true.
> > > >
> > > > You want to set the indes-enable pin high, and then stop writing to it
> > so
> > > > that the rest of the system can do its thing.
> > > >
> > > > So set input permanently high.
> > > > Then toggle enable on and off.
> > > > Then rotate the spindle until index-enable is driven false.
> > > >
> > > > --
> > > > 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
> >
> 
> ___
> 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] triggering the mesa card encoder index pulse

2022-11-08 Thread andrew beck
Hey guys it got us sussed!  Working perfectly.

I'll upload a video and hope to make a guide on the forums for the next guy

On Wed, 9 Nov 2022, 12:02 John Dammeyer,  wrote:

> Looking at:
>
> https://linuxcnc.org/docs/html/gcode/m-code.html#mcode:m66
>
> Should there not be a Q in front of the 10 in your line below for a
> timeout of 10 seconds?
> M66 P0 L2 10
>
> If I were to do this then I have this in my hal filev which shows which
> pin is encoder index:
> #IO Connections for P1
> #DBn.m_PMDX_Jn.m  I/O   Pri. func  Sec. func   Chan  Pin func
>   Pin Dir
> # P2.13_J11.7   33  IOPort QCount   1Quad-IDX
>   (In)   Encoder-Index
>
> Then in the hal file I add:
> net spindle-index-in  motion.digital-in-00  <= hm2_7i92.0.gpio.033.in
>
> Finally the G-Code would look like this?
> S10 M3
> M66 P0 L2 Q10
> M5
> T__  tool change...
>
> Or have I missed something?
> Thanks
> John
>
> > -Original Message-
> > From: andrew beck [mailto:andrewbeck0...@gmail.com]
> > Sent: November-08-22 2:20 AM
> > To: Enhanced Machine Controller (EMC)
> > Subject: Re: [Emc-users] triggering the mesa card encoder index pulse
> >
> > Hey andy.
> >
> >  I was just having a play and I can actually just sense the input-index
> pin
> > directly.  With
> > M66 P0 L2 10
> > I rotate spindle at 5rpm and wait until sensor changes state
> >
> > Then stop.
> >
> >
> > In my case this is a proxy switch.  Not a encoder so I don't have to
> worry
> > about missing it.
> >
> > Anyway I tried that and it's orientating fine at the moment.
> >
> > And very simple compared to m19 stuff.
> >
> > I'll finish it tomorrow and might make a video to show you guys.
> >
> > On Tue, 8 Nov 2022, 23:15 andy pugh,  wrote:
> >
> > > On Tue, 8 Nov 2022 at 04:50, andrew beck 
> wrote:
> > >
> > > >
> > > > i am using the tristate bit but getting a bit confused on how it
> works
> > > >
> > >
> > > It only drives the output to the input when enable is true.
> > >
> > > You want to set the indes-enable pin high, and then stop writing to it
> so
> > > that the rest of the system can do its thing.
> > >
> > > So set input permanently high.
> > > Then toggle enable on and off.
> > > Then rotate the spindle until index-enable is driven false.
> > >
> > > --
> > > 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
>

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


Re: [Emc-users] triggering the mesa card encoder index pulse

2022-11-08 Thread John Dammeyer
Looking at:

https://linuxcnc.org/docs/html/gcode/m-code.html#mcode:m66

Should there not be a Q in front of the 10 in your line below for a timeout of 
10 seconds?
M66 P0 L2 10

If I were to do this then I have this in my hal filev which shows which pin is 
encoder index:
#IO Connections for P1
#DBn.m_PMDX_Jn.m  I/O   Pri. func  Sec. func   Chan  Pin func
Pin Dir
# P2.13_J11.7   33  IOPort QCount   1Quad-IDX
(In)   Encoder-Index

Then in the hal file I add:
net spindle-index-in  motion.digital-in-00  <= hm2_7i92.0.gpio.033.in

Finally the G-Code would look like this?
S10 M3
M66 P0 L2 Q10
M5
T__  tool change...

Or have I missed something?
Thanks
John

> -Original Message-
> From: andrew beck [mailto:andrewbeck0...@gmail.com]
> Sent: November-08-22 2:20 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] triggering the mesa card encoder index pulse
> 
> Hey andy.
> 
>  I was just having a play and I can actually just sense the input-index pin
> directly.  With
> M66 P0 L2 10
> I rotate spindle at 5rpm and wait until sensor changes state
> 
> Then stop.
> 
> 
> In my case this is a proxy switch.  Not a encoder so I don't have to worry
> about missing it.
> 
> Anyway I tried that and it's orientating fine at the moment.
> 
> And very simple compared to m19 stuff.
> 
> I'll finish it tomorrow and might make a video to show you guys.
> 
> On Tue, 8 Nov 2022, 23:15 andy pugh,  wrote:
> 
> > On Tue, 8 Nov 2022 at 04:50, andrew beck  wrote:
> >
> > >
> > > i am using the tristate bit but getting a bit confused on how it works
> > >
> >
> > It only drives the output to the input when enable is true.
> >
> > You want to set the indes-enable pin high, and then stop writing to it so
> > that the rest of the system can do its thing.
> >
> > So set input permanently high.
> > Then toggle enable on and off.
> > Then rotate the spindle until index-enable is driven false.
> >
> > --
> > 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] triggering the mesa card encoder index pulse

2022-11-08 Thread andrew beck
Yeah that's a pain

I currently use the tool prepared pin to make sure it's prepared lol and
stop a toolchange if the correct tool is not in spindle

On Wed, 9 Nov 2022, 08:55 andy pugh,  wrote:

> On Tue, 8 Nov 2022 at 19:10, andrew beck  wrote:
>
> > but its not preloading tool
> >
> > it sits there and waits for the tool to load instead of doing it while
> the
> > program is running
> >
>
> You (may) need to assert tool-prepared straight away, and then get on with
> the actual prep. Though that isn't how Ithought it worked,
>
> --
> 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] triggering the mesa card encoder index pulse

2022-11-08 Thread andy pugh
On Tue, 8 Nov 2022 at 19:10, andrew beck  wrote:

> but its not preloading tool
>
> it sits there and waits for the tool to load instead of doing it while the
> program is running
>

You (may) need to assert tool-prepared straight away, and then get on with
the actual prep. Though that isn't how Ithought it worked,

-- 
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] triggering the mesa card encoder index pulse

2022-11-08 Thread andrew beck
well i have a working spindle orientation!

once you have a vfd that allows a low speed 15 rpm accurate motor rotation
its not too hard

just rotate until the input-index pin changes state with a m66 code

then stop spindle

it overshoots the sensor by about 10 degrees but its repeatable

so just change the location of the sensor (aka index pulse and we are away)

next bit of progress i am just trying to get done is to preload my tool

i have a random position tool changer and have selected that option in
linuxcnc ini file

but its not preloading tool

it sits there and waits for the tool to load instead of doing it while the
program is running

when i type t1m6 the  IOcontrol tool prepare pin goes high

then once tool is selected the IOcontrol tool prepared pin goes high and
then the tool actually gets changed with the m6 command


anyway do you guys have any ideas


regards

Andrew

On Tue, Nov 8, 2022 at 11:20 PM andrew beck 
wrote:

> Hey andy.
>
>  I was just having a play and I can actually just sense the input-index
> pin directly.  With
> M66 P0 L2 10
> I rotate spindle at 5rpm and wait until sensor changes state
>
> Then stop.
>
>
> In my case this is a proxy switch.  Not a encoder so I don't have to worry
> about missing it.
>
> Anyway I tried that and it's orientating fine at the moment.
>
> And very simple compared to m19 stuff.
>
> I'll finish it tomorrow and might make a video to show you guys.
>
> On Tue, 8 Nov 2022, 23:15 andy pugh,  wrote:
>
>> On Tue, 8 Nov 2022 at 04:50, andrew beck 
>> wrote:
>>
>> >
>> > i am using the tristate bit but getting a bit confused on how it works
>> >
>>
>> It only drives the output to the input when enable is true.
>>
>> You want to set the indes-enable pin high, and then stop writing to it so
>> that the rest of the system can do its thing.
>>
>> So set input permanently high.
>> Then toggle enable on and off.
>> Then rotate the spindle until index-enable is driven false.
>>
>> --
>> 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] Clausing NC Progress and Tool Changer.

2022-11-08 Thread andy pugh
On Mon, 7 Nov 2022 at 20:05, John Figie  wrote:

> A solenoid controlled valve actuates a piston that

> raises the tool post. Once in the raised position a geneva drive and motor
> rotates the post in 1/8 turn increments by pulsing power to the motor. So 2
> pulsed are needed to move the post one tool position.
>

What happens if the power to the motor is not pulsed but is left on until
in position?
If that works then "carousel" will work (though you would need a sequencer
too, probably a G-code subroutine, as used in the
sim/axis/vismach/vmc_toolchange example config.

If you actually need to pulse, then it could still work, by setting the
motor control output bits to enable a pulse generator component (siggen,
for example)

-- 
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] Fusion 360

2022-11-08 Thread Les Newell
SheetCam now has a lathe plugin. It's still in beta but you are welcome 
to try it. If you don't have a SheetCam license I can give you a free 30 
day license so you can have a play with it.


Les


I've tried F360 for code on a small lathe and find it quite painful to get
the toolpath usable. It often wants to part off before completing the turn,
or just doesn't machine optimally.
Possibly because I mostly machine with a grooving tool, so you don't need a
tool-change.

I have to mess with the stock parameters etc. until it's a semblance of
usable, then re-arrange snippets of code to get the code usable.
What's really painful on Fusion is that you have to enter, and exit
'simulation', so you can never just make a small adjustment and see the
effect on toolpath.

Maybe I'm doing it wrong, and can't find a decent video on F360 lathe
turning. Have you come across one?

Roland





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


Re: [Emc-users] my camera works this morning

2022-11-08 Thread Andy Pugh



> On 8 Nov 2022, at 16:31, gene heskett  wrote:
> 
> The pix looks usable
> with one very small target circle at the cross hairs junction.

If you have a scroll button mouse try scrolling 
Also try scrolling whilst pressing each button 



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


[Emc-users] my camera works this morning

2022-11-08 Thread gene heskett

Hi all;

To whoever waved their magic wand and cast the spell, thank you very much.

There are no camera controls at the bottom of the preview window, there 
used to be a
quite full set as its not a cheap one but designed for endoscopy. The 
pix looks usable

with one very small target circle at the cross hairs junction.

But pursuant to the msg indicating master was now 2.10, linuxcnc
is still claiming to be a 2.9pre0-8168-gffb6bda92 version.

For others curiosity, the display invocation looks like this:
EMBED_TAB_NAME  = CamAlign
EMBED_TAB_LOCATION  = ntb_preview
EMBED_TAB_COMMAND   = halcmd loadusr -Wn qtvcp_embed qtvcp 
-d -c qtvcp_embed -x {XID} cam_align



There is quite a long delay in the startup, and a huge amount of 
debugging info is

output to the ssh shell that started it:

Waiting for component 'qtvcp_embed' to become 
ready...[QTvcp][INFO]  Logging to: 
/home/gene/qtvcp.log (logger.py:67)

[QTvcp][INFO]  Base log level set to: 10 (logger.py:68)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  BASEPATH cam_align (qt_pstat.py:86)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for handler file in: 
/home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align_handler.py 
(qt_pstat.py:96)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for default handler file in: 
/usr/share/qtvcp/panels/cam_align/cam_align_handler.py (qt_pstat.py:102)
[QTvcp.QTVCP.QT_PSTAT][INFO]  Using DEFAULT handler file path: 
/usr/share/qtvcp/panels/cam_align/cam_align_handler.py (qt_pstat.py:105)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .ui in: 
/home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.ui (qt_pstat.py:123)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .ui in: 
/usr/share/qtvcp/panels/cam_align/cam_align.ui (qt_pstat.py:128)
[QTvcp.QTVCP.QT_PSTAT][INFO]  Using DEFAULT ui file from: 
/usr/share/qtvcp/panels/cam_align/cam_align.ui (qt_pstat.py:130)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qss in: 
/home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.qss (qt_pstat.py:160)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qss in: 
/usr/share/qtvcp/panels/cam_align/cam_align.qss (qt_pstat.py:165)

[QTvcp.QTVCP.QT_PSTAT][INFO]  No qss file found. (qt_pstat.py:171)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qrc in: 
/home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.qrc (qt_pstat.py:182)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qrc in: 
/usr/share/qtvcp/panels/cam_align/cam_align.qrc (qt_pstat.py:188)

[QTvcp.QTVCP.QT_PSTAT][INFO]  No qrc file found. (qt_pstat.py:195)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for resources.py in: 
/home/gene/linuxcnc/configs/GO704-5i25-7i76/qtvcp/panels/resources.py 
(qt_pstat.py:205)
[QTvcp.QTVCP.QT_PSTAT][INFO]  No resources.py file found, no QRC file to 
compile one from. (qt_pstat.py:216)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for translation file in: 
/home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align/languages/cam_align_en.qm 
(qt_pstat.py:223)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for translation file in: 
/usr/share/qtvcp/screens/cam_align/languages/cam_align_en.qm 
(qt_pstat.py:228)
[QTvcp.QTVCP.QT_PSTAT][INFO]  Using no translations, default system 
locale is: en (qt_pstat.py:233)

[QTvcp][INFO]  Building A VCP Panel with: Python 3 (qtvcp:215)
[QTvcp][INFO]  No handler file specified - using: 
/usr/share/qtvcp/panels/cam_align/cam_align_handler.py (qtvcp:218)
[QTvcp.QTVCP.QT_MAKEGUI][INFO]  Qsettings file path: 
/home/gene/.config/QtVcp/cam_align.conf (qt_makegui.py:97)

[QTvcp][DEBUG]  Loading the handler file. (qtvcp:276)
[QTvcp.QTVCP.QT_MAKEGUI][DEBUG]  Adding import dir: 
/usr/share/qtvcp/panels/cam_align (qt_makegui.py:290)
[QTvcp.QTVCP.QT_MAKEGUI][DEBUG]  Module 'cam_align_handler' imported OK 
(qt_makegui.py:301)
[QTvcp.QTVCP.QT_MAKEGUI][DEBUG]  Module 'cam_align_handler' : 
'get_handlers' function found. (qt_makegui.py:307)
[QTvcp.QTVCP.QT_MAKEGUI][DEBUG]  Registering handlers in module 
cam_align_handler object 0x7fbe7e8006a0> (qt_makegui.py:317)
[QTvcp.QTVCP.QT_MAKEGUI][DEBUG]  Register callback 'call_user_command_' 
(qt_makegui.py:326)
[QTvcp.QTVCP.QT_MAKEGUI][DEBUG]  Register callback 'initialized__' 
(qt_makegui.py:326)

[QTvcp][DEBUG]  Adding the key events filter. (qtvcp:286)
[QTvcp.QTVCP.QT_MAKEGUI][INFO]  No resource file to load: None 
(qt_makegui.py:192)
[QTvcp.QTVCP.QT_MAKEPINS][DEBUG] 
QTVCP: Parsing for HAL widgets. (qt_makepins.py:114)
[QTvcp][DEBUG]  Calling the handler file's initialized__ function 
(qtvcp:309)
[QTvcp.QTVCP.QT_MAKEGUI][INFO]  No Handler Override file at: 
/home/gene/linuxcnc/configs/GO704-5i25-7i76/.cam_alignrc (qt_makegui.py:358)

[QTvcp][DEBUG]  Set HAL ready. (qtvcp:334)

[QTvcp][CRITICAL]  Forwarding events to AXIS is not well tested yet. 
(qtvcp:343)

[QTvcp][DEBUG]  Show window. (qtvcp:391)
[QTvcp.QTVCP.QT_MAKEPINS][INFO]  No preference file - cannot set 
preference geometry. (qt_makepins.py:160)

[QTvcp][INFO]  Preference path: None 

Re: [Emc-users] Fusion 360

2022-11-08 Thread stjohn gold
Hi Roland,
fusion360 lathe is very easy. It runs the operations in order so you must
be doing something incorrectly. You control the toolpaths mostly. Perfectly
optimal is not always possible with any software.

Mostly machining with a grooving tool? Good luck!

Of course you have to set stock parameters.

What other cam software have you used? You always have to enter and exit
simulation..

There are hundreds if not thousands of fusion360 lathe videos on youtube
plus a huge fusion360 online community. I don't know what your expectations
are but expect to spend at least hundreds of hours playing with this stuff.
It is not hard but does require some effort!

best regards,
St.john



On Mon, 7 Nov 2022 at 11:06, Roland Jollivet 
wrote:

> I've tried F360 for code on a small lathe and find it quite painful to get
> the toolpath usable. It often wants to part off before completing the turn,
> or just doesn't machine optimally.
> Possibly because I mostly machine with a grooving tool, so you don't need a
> tool-change.
>
> I have to mess with the stock parameters etc. until it's a semblance of
> usable, then re-arrange snippets of code to get the code usable.
> What's really painful on Fusion is that you have to enter, and exit
> 'simulation', so you can never just make a small adjustment and see the
> effect on toolpath.
>
> Maybe I'm doing it wrong, and can't find a decent video on F360 lathe
> turning. Have you come across one?
>
> Roland
>
>
>
> On Wed, 2 Nov 2022 at 11:47, stjohn gold  wrote:
>
> > Fusion360 is great for cnc lathe work and post processor modification is
> > perfectly possible. I always use a space mouse and a normal mouse for
> > cad/cam work. I tried with a few different cad/cam systems running in a
> vm
> > etc and gave up. You will always get best results to my knowledge running
> > in windows ie what OS the said system is most used in, tested, developed
> > and supported in by the company that makes it. Community support for
> > fusion360 is reasonable for most stuff. I bought a license specifically
> for
> > the lathe cam. So far I am fairly happy. It solved a problem for me.
> >
> > cheers!
> > st.john
> >
> > On Mon, 24 Oct 2022 at 11:13, Viesturs Lācis 
> > wrote:
> >
> > > sestd., 2022. g. 22. okt., plkst. 12:59 — lietotājs andy pugh
> > > () rakstīja:
> > > >
> > > > I also have, and strongly recommend, a Space Mouse:
> > > >
> > >
> > > Awww yisss, +1 on this one! I have the very first gen SpacePilot, got
> > > it almost for free (it is not officially supported any more, it is
> > > trickery to get it recognized and everything installed  when I change
> > > PC, but the device itself works like a charm) and it makes
> > > pan/zoom/rotate so much easier! Especially in assemblies when placing
> > > mates and the model has to be moved and rotated constantly to select
> > > proper faces/edges etc.
> > >
> > > Viesturs
> > >
> > >
> > > ___
> > > 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] triggering the mesa card encoder index pulse

2022-11-08 Thread andrew beck
Hey andy.

 I was just having a play and I can actually just sense the input-index pin
directly.  With
M66 P0 L2 10
I rotate spindle at 5rpm and wait until sensor changes state

Then stop.


In my case this is a proxy switch.  Not a encoder so I don't have to worry
about missing it.

Anyway I tried that and it's orientating fine at the moment.

And very simple compared to m19 stuff.

I'll finish it tomorrow and might make a video to show you guys.

On Tue, 8 Nov 2022, 23:15 andy pugh,  wrote:

> On Tue, 8 Nov 2022 at 04:50, andrew beck  wrote:
>
> >
> > i am using the tristate bit but getting a bit confused on how it works
> >
>
> It only drives the output to the input when enable is true.
>
> You want to set the indes-enable pin high, and then stop writing to it so
> that the rest of the system can do its thing.
>
> So set input permanently high.
> Then toggle enable on and off.
> Then rotate the spindle until index-enable is driven false.
>
> --
> 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] triggering the mesa card encoder index pulse

2022-11-08 Thread andy pugh
On Tue, 8 Nov 2022 at 04:50, andrew beck  wrote:

>
> i am using the tristate bit but getting a bit confused on how it works
>

It only drives the output to the input when enable is true.

You want to set the indes-enable pin high, and then stop writing to it so
that the rest of the system can do its thing.

So set input permanently high.
Then toggle enable on and off.
Then rotate the spindle until index-enable is driven false.

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