Re: [Emc-developers] State Tags and Hal_port pins

2020-05-16 Thread Rod Webster
Gene, thanks, I've played around with motion_type like that for various things too. Reinhard, I'm not interested in a UI running in user space here at all. State tags is in the real time code section of Linuxcnc but I don't see its available via any pins. The state tags structure is contained in

Re: [Emc-developers] State Tags and Hal_port pins

2020-05-16 Thread Gene Heskett
On Saturday 16 May 2020 03:47:20 Rod Webster wrote: > Gene, thanks, I've played around with motion_type like that for > various things too. > > Reinhard, > I'm not interested in a UI running in user space here at all. State > tags is in the real time code section of Linuxcnc but I don't see its

[Emc-developers] Measuring Arc Radius. Was: State Tags and Hal_port pins

2020-05-16 Thread andy pugh
New subject so as not to pollute the other interesting thread. On Sat, 16 May 2020 at 07:02, Rod Webster wrote: > I'm particularly interested in being able to retrieve the arc radius > when the current segment is an arc. You can get this within a few mS of motion type changing to an arc by calc

Re: [Emc-developers] State Tags and Hal_port pins

2020-05-16 Thread Rod Webster
Thanks for seeing the potential Gene. You are lucky its morning there. 7:30 pm here. I've been up since 4:00 cos I've been working with a US associate. I said good night to him about lunch time so its been a long day and my imagination is really worn out about now.! Rod Webster *1300 896 832* +6

Re: [Emc-developers] Measuring Arc Radius. Was: State Tags and Hal_port pins

2020-05-16 Thread Rod Webster
Andy thanks, I never did get a result there. I don't know how you can find threads like that. I can't and I raised the thread! I did spend a lot of time working through your second suggestion and coded it as well as validating my maths but still did not get a result. I found the maths was not trivi

Re: [Emc-developers] off-topic- State Tags and Hal_port pins

2020-05-16 Thread Gene Heskett
On Saturday 16 May 2020 05:40:26 Rod Webster wrote: > Thanks for seeing the potential Gene. > You are lucky its morning there. 7:30 pm here. I've been up since 4:00 > cos I've been working with a US associate. I said good night to him > about lunch time so its been a long day and my imagination

[Emc-developers] iocontrol.0.tool-prepare

2020-05-16 Thread Reinhard
Hi, playing around with hal I discovered the prepare-pins of iocontrol. So I wrote a gcode-file, that has a T-word after the M6 ... ... but the prepare-pin did not light. Inspecting hal from axis I can see, that prepare-pins are connected. I wonder, what is the role of these pins and when will t

Re: [Emc-developers] iocontrol.0.tool-prepare

2020-05-16 Thread Chris Morley
Try putting the T code well before the m6 T prepares the tool changer to change for a specific tool M6 changes it. machines with large tool chains use this to preselect the next tool. This loads tool 1 and immediately preselects tool2 T1 M6 T2 Most configs short cut the pins as you mentioned and

Re: [Emc-developers] spindle status

2020-05-16 Thread Gene Heskett
On Friday 15 May 2020 16:43:50 Gene Heskett wrote: > On Friday 15 May 2020 14:39:12 Nicklas Karlsson wrote: > > > On Thursday 14 May 2020 14:57:59 Chris Morley wrote: > > > > Well I dare say that a VFD counts as hardware. > > > > I use serial data from my VFD for spindle RPM display. > > > > > > >

Re: [Emc-developers] spindle status

2020-05-16 Thread andy pugh
On Sun, 17 May 2020 at 00:07, Gene Heskett wrote: > It, when free, also has half a degree of backlash. The adjuster screw > Andy told me about is locked by a screw thru the front face that can > only be accessed thru an index hole in the plate behind this dummy > faceplate, so... Doesn't it scre

Re: [Emc-developers] spindle status

2020-05-16 Thread Gene Heskett
On Saturday 16 May 2020 19:41:18 andy pugh wrote: > On Sun, 17 May 2020 at 00:07, Gene Heskett wrote: > > It, when free, also has half a degree of backlash. The adjuster > > screw Andy told me about is locked by a screw thru the front face > > that can only be accessed thru an index hole in the

Re: [Emc-developers] iocontrol.0.tool-prepare

2020-05-16 Thread Reinhard
Hi Chris, On Samstag, 16. Mai 2020, 20:32:28 CEST Chris Morley wrote: > Try putting the T code well before the m6 This is the sequence I tried: === snip === ( T4 : 12.0 HPC ) G40 G80 T4 M6 N10 G0 G90 G54 X50 Y70 S4750 M3 T23 G43 H4 Z2 M8 G1 Z-9 F300 G1 X40.134 Y61.694 F800 G1 X38.719 Y55.036 G3 X