Re: [Emc-users] Carving a spiral

2024-04-10 Thread Alan Condit via Emc-users
John,

Here us a subroutine I wrote to cut a scroll.
#<_xorigin>, and #<_yorigin> are the center of the scroll. Basically it changes 
the radius of the circle every ¼ turn.


(Subroutine to cut spiral in)
(o call [X] [Y] [Depth] [Stepover] [Radius])
o sub
(#1 is X center)
(#2 is Y center)
(#3 is Z plunge depth)
(#4 is the stepover amount )
(#5 is the ending radius )
(# is the amount to increment start of the next loop)
# = #1
# = #2
# = [0-#3]( Depth of cut )
# = #4 ( Size of stepover )
# = #5  ( Starting Radius )
#=[#/4] ( 1/4 of stepover )
# = #

G10 L2 P3 X[#<_xorigin>+#] Y[#<_yorigin>+#] Z#<_zorigin> ( Set the 
Current Coordinate for G56 )
# = #<_close_Z>( set Zcut to top of material )
G56  ( Select Coordinate system 3 )
G00 X0 Y[0-#] Z#<_close_Z>
G01 Z# F#<_xyfeed>
o WHILE [# GT 0]
  o IF [[# - #] GE #]
G03 X0 Y[[#-#]*[-1]] R[#-#]
  o ENDIF
  o IF [[# - [2*#]] GE #]
G03 X[#-[2*#]]Y0 R[#-[2*#]]
  o ENDIF
  o IF [[# - [3*#]] GE #]
G03 X0 Y[#-[3*#]]R[#-[3*#]]
  o ENDIF
  o IF [[# - #] GE #]
G03 X[[#-#]*[-1]]  Y0 R[#-#]
  o ENDIF
  # = [#-#] 
o ENDWHILE
G0 Z#<_close_Z>
G55
o endsub 


Alan
> From: "John Dammeyer" mailto:jo...@autoartisans.com>>
> Subject: [Emc-users] Carving a spiral
> Date: April 10, 2024 at 12:55:36 AM CDT
> To: "Enhanced Machine Controller \(EMC\)"  >
> 
> 
> A friend and I have been discussing exactly how to write the G-Code to
> create a spiral scroll. 
> 
> His rotary table 90:1 reduction with a 1600 micro-step motor could be set up
> to move N steps for each step of the X axis to create the spiral.  But that
> approach seems clumsy.
> 
> Say I wanted to cut a scroll with a 6mm pitch using a 3mm cutter.  
> 
> 
> 
> Without using G2 or G3 it's really just a triangle isn't it?  Move rotary
> table distance A and move X axis distance A'.  Do it in small enough
> increments and you get a spiral.  But I feel like I'm missing something
> really simple.
> 
> 
> 
> Suggestions?
> 
> Thanks
> 
> John





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


[Emc-users] Changing login name from cnc to "newname"

2024-01-11 Thread Alan Condit via Emc-users
Change User Name commands
sudo passwd root
restart and login as root
usermod -l newname cnc
usermod -u UID newname
usermod -m -d /home/newname newname

The above commands successfully change the username, usergroup, and user 
directory to "newname"
When I have done this in the past, that was all I had to do, then I could 
reboot and log back in
as "newname". On the new download of 
rpi-5-debian-bookworm-6.1.61-rt15-arm64-ext4-2023-11-17-1520.img.xz
I can't login as "newname" unless I first login as root and then change user to 
"newname".
When I go to logout from "newname" it says "logout from cnc"
So, I have clearly missed something, but I don't know what. Help!!!

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


Re: [Emc-users] Damaged an SSR

2024-01-01 Thread Alan Condit via Emc-users
Hi Gene,
I had already tested my Router (also a Hitachi mv12) in a different circuit and 
knew it was working. The SSR that went bye-bye was one that I bought several 
years ago (used on EBay). So, after your reply, I checked the signal from the 
7i76e to the SSR and (thank goodness) it was good. So I just went ahead and 
replaced the SSR with a new one. Now everything is working.
This SSR is just controlling a line outlet. I had been using the old one for 
sometime without any problems. I have never tripped a breaker. The line into 
the cabinet feeds an SE600-48v switcher, a small 5v supply, a small 24v supply 
and the SSR controlled line outlet.
Thanks,
Alan

> From: gene heskett 
> Subject: Re: [Emc-users] Damaged an SSR
> Date: December 31, 2023 at 1:42:07 PM CST
> To: emc-users@lists.sourceforge.net
> 
> 
> On 12/31/23 12:50, condit.alan--- via Emc-users wrote:
>> I was using an SSR to turn on the spindle on my PCBMill. By mistake I 
>> reached over and turned off the switch on the router while it was turned on. 
>> When I tried to turn it back on, it no longer worked. I am hoping that I 
>> just blew out the SSR and not the 7i76e. I have a spare SSR. Is there any 
>> precaution I should take for the future?
> The only scenario I can imagine is only valid if the router has a soft start 
> circuit like a hitachi mv12 has.  Turning it back on before it got stopped 
> might damage that circuit in the router.  Does it work from its own switch if 
> plugged straight into the line?
> 
> I use big HoymC or Crydom SSR's all over the place but I also trigger them 
> on-off in sequence from timers in my .hal files.  Usually in an attempt to 
> start motor supplies which if just slammed with a mechanical switch, will 
> instantly clear a 30 amp breaker from the turn on in-rush, so when I do an 
> on, they get power for the first 4 seconds thru a 50 ohm 200 watt resistor 
> that a second SSR shorts out 4 seconds later after the filters are pretty 
> well charged. With the motor itself limited to about 2x nameplate FLA, I can 
> run my cnc'd G0704 on a legal for 10 gauge wire, 20 amp breaker.  At turn off 
> I throw the big resistor back in series for a second then drop the other SSR 
> to turn it all off. Been doing that w/o any SSR failures I caused for about a 
> decade. Had a nearby lightning strike blow one of then to the permanently on 
> state, the only failure I've had.
> 
> Does it still work if plugged in direct?  And if the SSR is switching a 
> duplex does a test lamp work plugged in beside the router?
> 
>> Alan
>> Sent from my iPhone
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> .
> 
> Cheers, Gene Heskett.


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


Re: [Emc-users] LinuxCNC 2.9.0Pre not finding tool.tbl

2023-09-23 Thread Alan Condit via Emc-users
Sorry, stupid problem. I had a thumb drive in the machine and I was looking at 
the files on the thumb drive.
The files on the machine had been overwritten when I installed 2.9.0Pre. I 
copied the correct files over and
cured the problem.

> From: Nicklas SB Karlsson 
> Subject: Re: [Emc-users] LinuxCNC 2.9.0Pre not finding tool.tbl
> Date: September 23, 2023 at 11:38:43 AM CDT
> To: Alan Condit via Emc-users 
> 
> 
> Also had some problem. If I remember correct space in folder name was the 
> problem. It happened in newer version but not older.
> 
> Nicklas Karlsson
> 
> 
> Den 2023-09-23 kl. 17:10, skrev Alan Condit via Emc-users:
>> When I edited the tool table under 2.8 it was working fine but now it 
>> doesn’t work when I try to change tools and surprise, surprise,
>> the tool table is blank when I try to edit it. It loads the blank table. I 
>> have my tool table “tool.tbl” in "~/linuxcnc/configs/" and a copy of my tool 
>> table “tool.tbl” in the folder with my ini file 
>> “~/linuxcnc/configs/myCNCLathe/”. It has 9 tools in it and when I compared 
>> it to a backup and it appears identical.
>> My .ini file has
>> [EMCIO]
>> EMCIO = io
>> CYCLE_TIME = 0.100
>> TOOL_TABLE = tool.tbl
>> 
>>  Any ideas what is going on? Where is it looking for the tool.tbl?
>> 
>> Thanks,
>> Alan
>> 
>> ___
>> 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] LinuxCNC 2.9.0Pre not finding tool.tbl

2023-09-23 Thread Alan Condit via Emc-users
When I edited the tool table under 2.8 it was working fine but now it doesn’t 
work when I try to change tools and surprise, surprise,
the tool table is blank when I try to edit it. It loads the blank table. I have 
my tool table “tool.tbl” in "~/linuxcnc/configs/" and a copy of my tool table 
“tool.tbl” in the folder with my ini file “~/linuxcnc/configs/myCNCLathe/”. It 
has 9 tools in it and when I compared it to a backup and it appears identical.
My .ini file has
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

 Any ideas what is going on? Where is it looking for the tool.tbl?

Thanks,
Alan

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


[Emc-users] Wiring Step Dir on KM5056E

2023-07-03 Thread Alan Condit via Emc-users
I am in the process of wiring up a new controller for RPi4 using 7c81 and 7i76. 
In the process of doing so, I discovered that I had wired my controller for my 
PCBMill with a 7i76E Step+ to KM5056E Pulse-, Step- to KM5056E Pulse+, Dir+ to 
KM5056E Dir-, and Dir- to KM5056 Dir+.
It seems to run fine but, if I correct the connections Step+ to Pulse+, Step- 
to Pulse-, Dir+ to Dir+ and Dir- to Dir- what will happen. I don’t really want 
to break something that works.

Thanks in Advance,
Alan

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


Re: [Emc-users] Drilling holes in the back of a stepper motor

2023-06-25 Thread Alan Condit via Emc-users
John,

I have used JB-weld to rebuild plastic parts (commercially manufactured) so 
that I could drill and tap where a threaded support had pulled out. I just used 
clay to build a dam around the area that I wanted to fill with epoxy. Then 
after setting I drilled and tapped the new support. It was much stronger than 
the original part.

Alan

> From: "John Dammeyer" 
> Subject: Re: [Emc-users] Drilling holes in the back of a stepper motor
> Date: June 25, 2023 at 1:19:01 AM CDT
> To: "'Enhanced Machine Controller \(EMC\)'" 
> 
> 
> Some of the stepper motors available from SteppersOnline show two pairs of
> screw holes near the edges.  And you are correct.  Youtube videos of stepper
> dismantling show that it's pretty thin near the edges and the windings are
> really close.
> However, I've read that once you dismantle a stepper motor it loses some of
> the magnetism.   That they are magnetised with much higher pulses of current
> when the motor is assembled.  But that might also be an urban legend.
> Anyway, the back end also has the motor leads coming out so pulling it apart
> may also damage it.  Or not.  Easier to just order a new motor perhaps.
> John


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


[Emc-users] LinuxCNC on RaspberryPi4

2023-01-31 Thread Alan Condit
I installed 2.9pre on two of my Raspberry Pi4s from debs that I had
compiled earlier. However, I can’t find my write up on how to cross-compile
LinuxCNC for the RPi4 on my X86-64. Also, I found that the compile on the
RaspberryPi4 with a 240gb SSD runs almost as fast, or maybe a little
faster, as on the Intel with a hard-drive.
The problem that I am currently having is that the installation of the
required packages reports a problem with locale setup.  LC_CTYPE, LANG, etc.

Has anybody else seen this? Have a fix?

I have got a pretty good script(manual) for creating a new SSD for a RPi4.
It involves using a Debian install image (minimal) and installing the
packages that I need. Maybe I will post it on the forum.

Alan

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


[Emc-users] Fwd: Linuxcnc debs for RPi4

2023-01-23 Thread Alan Condit
Thanks, Ernesto

-- Forwarded message -
From: Alan Condit 
Date: Mon, Jan 23, 2023 at 10:52 AM
Subject: Re: [Emc-users] Linuxcnc debs for RPi4
To: ERNESTO LO VALVO 


Thanks, I'll check them out. I had just found the arm64 Bullseye linuxcnc
dist.
I must have asked the question wrong :-).

I played hobb trying to get one of the PCs to compile LinuxCNC 2.9 but I
finally succeeded. So I was hoping that I could avoid having to compile 2.9
on my RPi4. Although I have done it several times including building a
preemptRT kernel.

I have three machines running Linuxcnc and two RPi4s running Linuxcnc and
two PCs running Linuxcnc. I have been trying to get them all running Debian
Bullseye so that it is less confusing to me when I switch from one to
another. I really didn’t want to run Bookworm at the moment. I am tired of
bleeding edge.

I think I damaged the parallel port on one of my PCs. I know I burnt out
the BOB but I replaced the BOB but it is still having issues. So I am
planning to replace it with the 2nd RPi4 with a 7C81. The other RPi4 is
running a 7i76E.

Thanks, Ernesto.

On Mon, Jan 23, 2023 at 9:18 AM ERNESTO LO VALVO 
wrote:

>
> For armhf
> http://linuxcnc.org/dists/bullseye/2.9-rtpreempt/binary-armhf/
>
> For arm64
> http://linuxcnc.org/dists/bullseye/2.9-rtpreempt/binary-arm64/
>
> ------
> *Da:* Alan Condit 
> *Inviato:* domenica 22 gennaio 2023 20:30
> *A:* Emc-users@lists.sourceforge.net 
> *Oggetto:* [Emc-users] Linuxcnc debs for RPi4
>
> Does any one have debs for installing linuxcnc for Raspberry Pi4 on Debian
> Bullseye?
> Alan
>
>

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


[Emc-users] Linuxcnc debs for RPi4

2023-01-22 Thread Alan Condit
Does any one have debs for installing linuxcnc for Raspberry Pi4 on Debian
Bullseye?
Alan

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


Re: [Emc-users] mesa card install issue

2023-01-13 Thread Alan Condit
Lloyd,

I am using a 5i20/7i76 combo. It won’t initialize properly unless I have the 
box containing the 7i76 powered up.

Alan

> From: lloyd wilson 
> Subject: [Emc-users] mesa card install issue
> Date: January 12, 2023 at 2:34:15 PM CST
> To: Emc mail list 
> 
> 
> I'm setting up a VMC machine, using a re-purposed Mesa 5i20 card (card is 
> about a decade old). When attempting to configure the card, I get the 
> following:
> 
> bport@bport:~$ halrun -I
> halcmd: loadrt hostmot2
> Note: Using POSIX realtime
> hm2: loading Mesa HostMot2 driver version 0.15
> halcmd: loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 
> num_pwmgens=5"
> hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
> hm2_pci: discovered 5i20 at :04:00.0
> hm2/hm2_5i20.0: Low Level init 0.15
> hm2/hm2_5i20.0: invalid cookie, got 0x, expected 0x55AACAFE
> hm2/hm2_5i20.0: FPGA failed to initialize, or unexpected firmware?
> hm2_5i20.0: board fails HM2 registration
> RTAPI_PCI: Unmapped 65536 bytes at 0x7f0c4396c000
> Driver probe function failed!
> hm2_pci: error registering PCI driver
> hm2_pci: rtapi_app_main: Operation not permitted (-1)
> :2: waitpid failed /usr/bin/rtapi_app hm2_pci
> :2: /usr/bin/rtapi_app exited without becoming ready
> :2: insmod for hm2_pci failed, returned -1
> halcmd:
> 
> (the same error occurs when attempting to load the supplied sample 
> configuration for a 5i20 system)
> 
> Any ideas what's happening? More importantly, is it fixable?
> 
> thanks
> 
> -ldw
> 


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


[Emc-users] Thanksgiving

2022-11-24 Thread Alan Condit
Greetings to all,

I know you may not all celebrate Thanksgiving at all or the same way, but I
just wanted to express my thanks for the many people in this group that
have helped me over the years. I started putzing with EMC back about 1997.
It has been a joyful experience to watch and learn as people shared their
experiences with EMC/EMC2/LinuxCNC.

I particularly want to thank Andy. For the last couple of years he has
borne the burden of RELEASE MANAGER. Through out that time in addition to
that duty he has continued to share individual help with many members of
the group.

So, thank you one and all for your participation in the group.

May the spirit of Peace be with you,
Alan

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


Re: [Emc-users] Conversion from Linuxcnc 2.8.2 to master - now have missing "dpll" pin

2022-10-26 Thread Alan Condit
If there isn’t firmware for the 5i25 that includes dpll, then pncconf
should know that it shouldn’t use dpll when it knows that the user is
running a 5i25/7176.

Alan

On Wed, 26 Oct 2022, Alan Condit wrote:

> Date: Wed, 26 Oct 2022 12:10:43 -0500
> From: Alan Condit 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: EMC-Users 
> Subject: Re: [Emc-users] Emc-users Digest, Vol 198, Issue 50
>
> Well, I kind of feel like an idiot now. I had installed Preempt_rt and 
> checked with ÿÿuname -aÿÿ to verify that I was running preempt_rt.
However, when I rebooted it didnÿÿt boot into the preempt_rt kernel.
So when I rebooted into the preempt_rt kernel linuxcnc would run
normally.

I used Synaptic to remove the non-preempt_rt kernels to avoid the
future problem.
Linux alans-optiplex 5.10.0-19-rt-amd64 #1 SMP PREEMPT_RT Debian
5.10.149-2 (2022-10-21) x86_64 GNU/Linux

I am running a 5i25 / 7i76 pair of boards. Should that have the dpll
in it? It doesn’t appear to have it.  Is there a new version of the
firmware that I could flash it with.

Alan

In general the PCI/PCIE cards do not have the DPLL included in their
firmware as the host jitter is much lower than the jitter on Ethernet
cards.

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


Re: [Emc-users] Emc-users Digest, Vol 198, Issue 50

2022-10-26 Thread Alan Condit
Well, I kind of feel like an idiot now. I had installed Preempt_rt and checked 
with “uname -a” to verify that I was running preempt_rt.
However, when I rebooted it didn’t boot into the preempt_rt kernel. So when I 
rebooted into the preempt_rt kernel linuxcnc would run normally.

I used Synaptic to remove the non-preempt_rt kernels to avoid the future 
problem.
Linux alans-optiplex 5.10.0-19-rt-amd64 #1 SMP PREEMPT_RT Debian 5.10.149-2 
(2022-10-21) x86_64 GNU/Linux

I am running a 5i25 / 7i76 pair of boards. Should that have the dpll in it? It 
doesn’t appear to have it.  Is there a new version of the firmware that I could 
flash it with.

Alan

> From: "Peter C. Wallace" 
> Subject: Re: [Emc-users] Conversion from Linuxcnc 2.8.2 to master - now have 
> missing "dpll" pin
> Date: October 25, 2022 at 10:37:09 PM CDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> On Tue, 25 Oct 2022, Alan Condit wrote:
> 
>> Date: Tue, 25 Oct 2022 21:27:54 -0500
>> From: Alan Condit 
>> Reply-To: "Enhanced Machine Controller (EMC)"
>>
>> To: EMC-Users 
>> Subject: Re: [Emc-users] Conversion from Linuxcnc 2.8.2 to master - now have
>>missing "dpll" pin
>> I commented out the two offending lines from the new configuration file. Now 
>> it doesn�t error out on the missing lines:
> #setp [HMOT](CARD0).dpll.01.timer-us -50
> #setp [HMOT](CARD0).stepgen.timer-number 1
>> However, the very first error is the �Watchdog has bitten�.
>> 
>> It seems like an error in pncconf if it inserts dpll.01.timer-us where mesa 
>> software has no dpll pins or am I misunderstanding this?
>> 
>> Alan
> 
> 
> pncconf doesnt know if the firmware has a DPLL or not
> (though all recent EThernet firmware does)
> 
> What hardware do you have?
> 
> A watchdog bite likely indicates a real time issue with the host or OS.
> 
> 
> 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


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


Re: [Emc-users] Conversion from Linuxcnc 2.8.2 to master - now have missing "dpll" pin

2022-10-25 Thread Alan Condit
I commented out the two offending lines from the new configuration file. Now it 
doesn’t error out on the missing lines:
#setp [HMOT](CARD0).dpll.01.timer-us -50
#setp [HMOT](CARD0).stepgen.timer-number 1
However, the very first error is the “Watchdog has bitten”.

It seems like an error in pncconf if it inserts  dpll.01.timer-us where mesa 
software has no dpll pins or am I misunderstanding this?

Alan


> From: "Peter C. Wallace" 
> Subject: Re: [Emc-users] Conversion from Linuxcnc 2.8.2 to master - now have 
> missing "dpll" pin
> Date: October 24, 2022 at 10:01:26 PM CDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> On Mon, 24 Oct 2022, Alan Condit wrote:
> 
>> Date: Mon, 24 Oct 2022 21:01:07 -0500
>> From: Alan Condit 
>> Reply-To: "Enhanced Machine Controller (EMC)"
>>
>> To: EMC-Users 
>> Subject: [Emc-users] Conversion from Linuxcnc 2.8.2 to master - now have
>>missing "dpll" pin
>> I am trying to get all of my machines running master on Debian Bullseye.
>> This evening I got Linuxcnc compiled on my lathe. It errors out reporting a 
>> missing pin �.dpll", which has a set -50. I had no errors before I ran 
>> pncconf on my existing .conf file. The line that has the error did not exist 
>> in my .hal file prior to converting it. Is this related to the watchdog 
>> timer?
>> 
>> Thanks,
>> Alan
> 
> There should not be any hal file changes needed between a 2.8 and 2.9
> so you should just use you original hal/ini files.
> 
> The DPLL error is likely because pncconf inserted a DPLL related statement 
> but your firmware has no DPLL. If you want to use the pncconf created hal 
> file, just delete any line mentioning a DPLL.
> 
> 
> 
> Peter Wallace


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


[Emc-users] Conversion from Linuxcnc 2.8.2 to master - now have missing "dpll" pin

2022-10-24 Thread Alan Condit
I am trying to get all of my machines running master on Debian Bullseye.
This evening I got Linuxcnc compiled on my lathe. It errors out reporting a 
missing pin “.dpll", which has a set -50.
I had no errors before I ran pncconf on my existing .conf file.
The line that has the error did not exist in my .hal file prior to converting 
it.
Is this related to the watchdog timer?

Thanks,
Alan

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


Re: [Emc-users] Linuxcnc configurations using Mesa

2022-10-01 Thread Alan Condit
Thank you Peter and John,

I changed the thread timing, and added the isolcpus=1,2,3. I haven’t added the  
force_turbo=1 in config.txt yet but already it is much improved. I haven’t run 
it long enough to get it hot, I suspect I need a fan on it when I add the 
force-turbo=1. It is in a Raspberry Pi4 case with no fan.

Alan

> From: "Peter C. Wallace" 
> Subject: Re: [Emc-users] Linuxcnc configurations using Mesa
> Date: September 30, 2022 at 3:33:34 PM CDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> On Fri, 30 Sep 2022, Alan Condit wrote:
> 
>> Date: Fri, 30 Sep 2022 15:12:57 -0500
>> From: Alan Condit 
>> Reply-To: "Enhanced Machine Controller (EMC)"
>>
>> To: EMC-Users 
>> Subject: [Emc-users] Linuxcnc configurations using Mesa
>> I have a D525MW that I was using to drive my PCBMill. It got some chips in 
>> the controller box and shorted out the BOB and apparently damaged the 
>> parallel port slightly. Other than the parallel port the D525MW seems to run 
>> fine. I replaced the BOB in the controller box but it still didn't seem to 
>> run correctly. I am not positive whether it is a drive or the parallel port 
>> that is damaged. I finished a new controller cabinet for my PCBMill with a 
>> Mesa 7i76e. On my PCBMill I am getting lots of read and write error messages 
>> with Linuxcnc on my Rpi4 with the 7i76e. On my CNCLathe, I have a Dell 
>> Optiplex 330 running a 5i25/7i76 pair. Is it feasible to replace the 
>> 5i25/7i76 pair with the 7i76e? I also have a 7c81 mesa card. On my PCBMill 
>> could I use the Rpi4 with the 7c81 to drive the 7i76? Do these changes make 
>> any sense? I don't want to screw up my CNCLathe, it runs fine right now. 
>> However, I would like to get my PCBMill running more reliably.
>> 
>> Alan
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
> 
> If you get read errors on a RPI4 and 7I76E, I would double the servo thread 
> period (the RPI4 is marginal at a 1 KHz servo thread period with some kernels)
> 
> 
> Peter Wallace
> Mesa Electronics
> 
> 2 ms or the equivalent  500 Hz
> 
> Also check tha you have isolcpus 1,2,3 on a RPI4
> 
> Peter Wallace
> Mesa Electronics

From: "Peter C. Wallace" mailto:p...@mesanet.com>>
Subject: Re: [Emc-users] Linuxcnc configurations using Mesa
Date: September 30, 2022 at 3:50:46 PM CDT
To: "Enhanced Machine Controller (EMC)" mailto:emc-users@lists.sourceforge.net>>


On Fri, 30 Sep 2022, John Dammeyer wrote:

> Date: Fri, 30 Sep 2022 13:40:57 -0700
> From: John Dammeyer mailto:jo...@autoartisans.com>>
> Reply-To: "Enhanced Machine Controller (EMC)"
>mailto:emc-users@lists.sourceforge.net>>
> To: "'Enhanced Machine Controller (EMC)'"  <mailto:emc-users@lists.sourceforge.net>>
> Subject: Re: [Emc-users] Linuxcnc configurations using Mesa
>>> ___
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net <mailto:Emc-users@lists.sourceforge.net>
>>> https://lists.sourceforge.net/lists/listinfo/emc-users 
>>> <https://lists.sourceforge.net/lists/listinfo/emc-users>
>>> 
>> 
>> If you get read errors on a RPI4 and 7I76E, I would double the servo
>> thread period (the RPI4 is marginal at a 1 KHz servo thread period with
>> some kernels)
>> 
>> 
>> Peter Wallace
>> Mesa Electronics
> 
> So you'd change it to 500Hz or 2kHz?
> 
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net <mailto:Emc-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/emc-users 
> <https://lists.sourceforge.net/lists/listinfo/emc-users>
> 


Also forgot to add, you need force_turbo=1 in config.txt

Peter Wallace
Mesa Electronics

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


[Emc-users] Linuxcnc configurations using Mesa

2022-09-30 Thread Alan Condit
I have a D525MW that I was using to drive my PCBMill. It got some chips in the 
controller box and shorted out the BOB and apparently damaged the parallel port 
slightly. Other than the parallel port the D525MW seems to run fine. I replaced 
the BOB in the controller box but it still didn't seem to run correctly. I am 
not positive whether it is a drive or the parallel port that is damaged.
I finished a new controller cabinet for my PCBMill with a Mesa 7i76e. On my 
PCBMill I am getting lots of read and write error messages with Linuxcnc on my 
Rpi4 with the 7i76e.
On my CNCLathe, I have a Dell Optiplex 330 running a 5i25/7i76 pair. Is it 
feasible to replace the 5i25/7i76 pair with the 7i76e?
I also have a 7c81 mesa card. On my PCBMill could I use the Rpi4 with the 7c81 
to drive the 7i76?
Do these changes make any sense? I don't want to screw up my CNCLathe, it runs 
fine right now. However, I would like to get my PCBMill running more reliably.

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


Re: [Emc-users] Emc-users Digest, Vol 197, Issue 57

2022-09-28 Thread Alan Condit

Chris,

I am able to get the USB-ethernet adapter to work. However, I have to turn off 
the wifi and then unplug the USB cable and plug it back in.

I suspect if I can disable the wifi (so it doesn’t boot with wifi enabled), it 
may actually but with the usb-ethernet adapter enabled.

Alan

> From: Chris Albertson 
> Subject: Re: [Emc-users] USB-C to Ethernet dongle for RPi-4
> Date: September 28, 2022 at 2:01:48 PM CDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> First step is to verify that it shows up as a USB device.  To list all USB
> devices, use the command "lsusb".   If you don't see the dongle there, your
> problem is with USB, not networking.
> 
> On Wed, Sep 28, 2022 at 11:52 AM Alan Condit  wrote:
> 
>> I am trying to figure out how to get my “Atolla” ethernet dongle to work
>> with my RPi4. It doesn’t show with ifconfig. Can anyone shed any light on
>> what I need to do to get it to work?
>> 
>> Alan
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
> 
> 
> -- 
> 
> Chris Albertson
> Redondo Beach, California
> 
> 
> 
> ___
> 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] USB-C to Ethernet dongle for RPi-4

2022-09-28 Thread Alan Condit
I am trying to figure out how to get my “Atolla” ethernet dongle to work with 
my RPi4. It doesn’t show with ifconfig. Can anyone shed any light on what I 
need to do to get it to work?

Alan

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


Re: [Emc-users] 7i76e with Rpi4

2022-09-28 Thread Alan Condit
Gene,

I am using a USB-c 240gb SSD drive. I am booting from the SSD drive.

I have the 7i76e connected to the onboard ethernet and it is the only thing 
connect to it.  I have the onboard wireless setup but I generally don’t use 
internet from the RPi4.  I have a USB3 to Ethernet dongle. Maybe I need to 
disconnect the wireless and figure out how to enable internet through the 
dongle?

Alan

> From: gene heskett 
> Subject: Re: [Emc-users] 7i76e with Rpi4
> Date: September 27, 2022 at 3:15:51 PM CDT
> To: emc-users@lists.sourceforge.net
> 
> 
> On 9/27/22 14:59, Alan Condit wrote:
>> I have finally made some progress on this project.
>> 
>> I rewired the X, Y and Z axis to use the 7i76e double ended connections to 
>> the Step/Dir on the KL5056. That fixed the no motion problem.  Somehow I had 
>> switched the connections between my probe and the Y-axis limit switch. I got 
>> that fixed.
>> 
>> Now I can fire up the controller and myPCBMill. I can home all 3 axis and 
>> all axis jog in the correct directions. Occasionally I get error messages 
>> but I haven’t got them consistently enough to tell what the problem is. So 
>> now I need to work with it to see if the timing for the threads are doable.
> I suspect those errors would vanish if you buy a usb3 to ethernet dongle, and 
> configure
> ALL the normal network stuff to use it instead of the onboard ethernet. I'd 
> assume the other
> stuff like apt or whatever, is stealing some of the bandwidth from the 
> onboard ethernet.
> 
> LCNC expects not to have to share time or address space of its hardware, with 
> anything else.
> So move "anything else" to the usb dongle.
>> I am running RPi4-4gb with Buster Arm64 with Linuxcnc 2.8.2 with 
>> 5.10.74-rt54-v8+ SMP PREEMPT_RT kernel. I guess I can build Linuxcnc-2.8.4 
>> for it.
> That will stress the u-sd some, so I'd get a startech usb to sata adaptor and 
> put an SSD on it to
> be used as workspace, That way the main traffic of a compile will not be 
> imposed on the u-sd,
> only the final install of the built debs with be imposed on the u-sd. It will 
> also be 15 to 30x faster
> than the u-sd.  I also have a 5 amp box supply on my rpi4b since I've two 
> SSD's on it.
> 
> I am assuming you are still booting from the u-sd, I've never made the boot 
> switch on mine, it
> simply doesn't work.
> 
> Take care and stay well, Alan.
>> Alan
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> Cheers, Gene Heskett.
> -- 
> 


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


Re: [Emc-users] 7i76e with Rpi4

2022-09-27 Thread Alan Condit
I have finally made some progress on this project. 

I rewired the X, Y and Z axis to use the 7i76e double ended connections to the 
Step/Dir on the KL5056. That fixed the no motion problem.  Somehow I had 
switched the connections between my probe and the Y-axis limit switch. I got 
that fixed.

Now I can fire up the controller and myPCBMill. I can home all 3 axis and all 
axis jog in the correct directions. Occasionally I get error messages but I 
haven’t got them consistently enough to tell what the problem is. So now I need 
to work with it to see if the timing for the threads are doable.

I am running RPi4-4gb with Buster Arm64 with Linuxcnc 2.8.2 with 
5.10.74-rt54-v8+ SMP PREEMPT_RT kernel. I guess I can build Linuxcnc-2.8.4 for 
it.

Alan

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


Re: [Emc-users] Emc-users Digest, Vol 197, Issue 50

2022-09-23 Thread Alan Condit
Thanks for any help,

I found out that the power supply is OK. I was just not getting a good 
connection between my multimeter probes and the PSupply.  I tested at the 
drives and the voltage was good.

I put a new copy of my .ini and .hal file on pastebin. 
myPCBMill.ini  <https://pastebin.com/1ReQZSUw <https://pastebin.com/1ReQZSUw>>
myPCBMill.hal <https://pastebin.com/ke8YBWJ9 <https://pastebin.com/ke8YBWJ9>>
I am having a horrible time getting this set up right. The 7i76e is an early 
one that Pete gave me to replace one that I burnt up plugging a 12v power 
supply into the 5V connector. Can somebody look at my .ini and .hal files and 
see if they spot anything obviously wrong.

When I run pncconf I can’t get the motors to move. Here is a picture of the 
pncconf screen for the stepper setup using the 7i76e and a picture of the 
pncconf setup for myCNCLathe using the 5i25/7i76 comb.
<https://photos.google.com/share/AF1QipPrjhcpGzZQxkSHlHvXpJcNfLrhuY4b7vEY2CSAjc5tByhbPCqwXFQwtX59IUJBEg?key=VF8xczh4ZGJ4akw0Y3p0TDc3U0g2M1BjR1FncWdB
 
<https://photos.google.com/share/AF1QipPrjhcpGzZQxkSHlHvXpJcNfLrhuY4b7vEY2CSAjc5tByhbPCqwXFQwtX59IUJBEg?key=VF8xczh4ZGJ4akw0Y3p0TDc3U0g2M1BjR1FncWdB>>

Any help appreciated.

Thanks Alan,

> From: Chris Albertson 
> Subject: Re: [Emc-users] 7i76e with Rpi4
> Date: September 22, 2022 at 11:51:14 AM CDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> On Thu, Sep 22, 2022 at 9:44 AM Alan Condit  wrote:
> 
>> I don’t seem to
>> have any output voltage from my Meanwell SE-600-48 power supply. The fan
>> was working so I assumed everything was fine, bad assumption on my end. Is
>> it worth trying to repair, or should I just replace it?
>> 
> 
> At the very least open it up and see if the internal fuse is blown.   Yu
> don't want to replace a power supply if am accidental short blew a fuse.
> 
> -- 
> 
> Chris Albertson
> Redondo Beach, California

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


Re: [Emc-users] 7i76e with Rpi4

2022-09-22 Thread Alan Condit
I think I have all of my connections correct now. I had the wires for my
probe switched with the X-axis limit switch. I took out the wiring for the
drive enable, since it defaults to enabled. I can put that back after I get
it running (if I want).

However, it appears that I have a more serious problem. I don’t seem to
have any output voltage from my Meanwell SE-600-48 power supply. The fan
was working so I assumed everything was fine, bad assumption on my end. Is
it worth trying to repair, or should I just replace it?

Alan

From: "Peter C. Wallace" 
> To: "Enhanced Machine Controller (EMC)" 
> Cc:
> Bcc:
> Date: Tue, 20 Sep 2022 10:24:32 -0700 (PDT)
> Subject: Re: [Emc-users] 7i76e with Rpi4
> On Tue, 20 Sep 2022, Alan Condit wrote:
>
> > Date: Tue, 20 Sep 2022 12:06:50 -0500
> > From: Alan Condit 
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > 
> > To: EMC-Users 
> > Subject: Re: [Emc-users] 7i76e with Rpi4
> >
> > I think I may be confused in Pncconf with the settings differences
> between the 5i25/7i76 and the 7i76e.
> > I am not getting any step/dir output on the TB2 connections. I chose
> Connector 1 in Pncconf. Is that the correct place to set the STEP/DIR stuff
> for TB2??
> >
>
>
> The Step/Dir connections on the 7I76 and 7I76E are identical
>
> Peter Wallace
> Mesa Electronics

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


Re: [Emc-users] 7i76e with Rpi4

2022-09-20 Thread Alan Condit
I think I may be confused in Pncconf with the settings differences between the 
5i25/7i76 and the 7i76e.
I am not getting any step/dir output on the TB2 connections. I chose Connector 
1 in Pncconf. Is that the correct place to set the STEP/DIR stuff for TB2??



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


Re: [Emc-users] 7i76e with Rpi4

2022-09-19 Thread Alan Condit
Well I haven’t got it fixed yet but I think I discovered what the problem is. I 
used G251 drivers on the lathe but on the PCBMill I switched to KL5056 drivers. 
I missed the connection of 5V to P1-2. P1-4, and P1-6 on the KL5056. I 
misinterpreted the connection schematic. I thought they were showing an 
internal pull-up to 5V rather than what I needed to supply.
Alan


> From: Alan Condit 
> Subject: Re: [Emc-users] 7i76e with Rpi4
> Date: September 18, 2022 at 7:00:08 PM CDT
> To: emc-users@lists.sourceforge.net
> 
> 
> Sam and Robin,
> 
> I found the immediate problem. The address should have been 10.10.10.10
> rather than 10.10.10.11.
> 
> I have a CNC’d Grizzly G4000 that is running a 5i25 with a 7i76. I tried
> wiring the 7i76e the same as 7i76. LinuxCNC fires up now but none of the
> motors spin. However, the motor all hold.
> 
> Thanks,
> Alan
> 


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


Re: [Emc-users] 7i76e with Rpi4

2022-09-18 Thread Alan Condit
Sam and Robin,

I found the immediate problem. The address should have been 10.10.10.10
rather than 10.10.10.11.

I have a CNC’d Grizzly G4000 that is running a 5i25 with a 7i76. I tried
wiring the 7i76e the same as 7i76. LinuxCNC fires up now but none of the
motors spin. However, the motor all hold.

Thanks,
Alan

>
> From: Sam Sokolik 
> can you ping 10.10.10.10?
>
> On Sun, Sep 18, 2022 at 10:13 AM Alan Condit 
> wrote:
>
> > I am trying to get my Raspberry Pi4 working with my 7i76e. I have the ip
> > address set to 10.10.10.11 and number W3 set up. I generated a report.
> > Maybe it is just not finding the 7i76e board. Can anyone give me a clue?
> >
> > Thanks,
> > Alan
> >
> > <https://pastebin.com/Vm88mMY5 <https://pastebin.com/Vm88mMY5>>
> > linuxcnc.report
> > <https://pastebin.com/ke8YBWJ9 <https://pastebin.com/ke8YBWJ9>>
> > myPCBMill.hal
> > <https://pastebin.com/1ReQZSUw <https://pastebin.com/1ReQZSUw>>
> > myPCBMill.ini
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
>
>
>
> -- Forwarded message --
> From: Robin Szemeti 
> To: "Enhanced Machine Controller (EMC)" 
> Cc:
> Bcc:
> Date: Sun, 18 Sep 2022 16:15:40 +0100
> Subject: Re: [Emc-users] 7i76e with Rpi4
> That's what I have ... I have it wired directly to the ethernet port on the
> Pi, I just used a normal cable,  Note that when LinuxEMC takes over control
> of the port, you can't use it for internet/IP  connectivity (or at least I
> can't) so you'll need some other interface in addition to that if you need
> to connect to a network.   I did try it through the usual router, but with
> no success, so I just wired it direct.

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


[Emc-users] 7i76e with Rpi4

2022-09-18 Thread Alan Condit
I am trying to get my Raspberry Pi4 working with my 7i76e. I have the ip 
address set to 10.10.10.11 and number W3 set up. I generated a report. Maybe it 
is just not finding the 7i76e board. Can anyone give me a clue?

Thanks,
Alan

> linuxcnc.report
> myPCBMill.hal
> myPCBMill.ini
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Emc-users Digest, Vol 193, Issue 15

2022-05-12 Thread Alan Condit
Andy and Seb,
I got a chance to reinstall Bullseye. I disabled the lockout on the screen
saver and it seems to be working.
I built the real-time kernel for 5.15.36-rt41 and it turns out that it
doesn’t include preempt-rt. So, I installed the 5.10 real-time kernel from
Debian.
Thanks,
Alan


> -- Forwarded message --
> From: Alan Condit 
> To: emc-users@lists.sourceforge.net
> Cc:
> Bcc:
> Date: Wed, 11 May 2022 13:14:22 -0500
> Subject: Re: [Emc-users] Linuxcnc development machine
> Andy and Seb,
>
> Well I guess I jumped the gun. I didn’t think anybody was going to have any
> suggestions, so, I installed Buster and LinuxCNC 2.8.2. I think your
> suggestions are worth trying so I may try reinstalling Bullseye and see
> what happens with those suggestions. However, I am tied up at the moment,
> so, it may take a couple days before I can get to it.
>
> Thanks,
> Alan
>
>
> > -- Forwarded message --
> > From: andy pugh 
> > To: "Enhanced Machine Controller (EMC)"  >
> > Cc:
> > Bcc:
> > Date: Wed, 11 May 2022 08:49:23 +0100
> > Subject: Re: [Emc-users] Linuxcnc development machine
> > On Mon, 9 May 2022 at 17:02, Alan Condit  wrote:
> >
> > > The only problem that I am having is that if I am not using it for a
> few
> > minutes it shuts down. Several other Bullseye users have reported similar
> > behavior. So, I’m wondering if I should go back to Buster?
> >
> > Complete shutdown or just display blanking?
> > Sometimes it can be hard to tell if the machine doesn't want to wake.
> >
> > Can you ssh in to it when it is "off"
> >
> > Have a look around the seb for disabling dpms as a starting point.
> >
> > --
> > 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
> >
> > -- Forwarded message --
> > From: Bari 
> > To: emc-users@lists.sourceforge.net
> > Cc:
> > Bcc:
> > Date: Wed, 11 May 2022 03:11:49 -0500
> > Subject: Re: [Emc-users] Linuxcnc development machine
> > On 5/9/22 10:57, Alan Condit wrote:
> > > I just rebuilt my late 2012 MacMini to be a Debian Bullseye machine. I
> > setup a development environment on it. I loaded it with the source for
> > Preempt-RT 5.15.41 and built a 64 bit kernel for my RaspberryPi 4.
> > >
> > > The only problem that I am having is that if I am not using it for a
> few
> > minutes it shuts down. Several other Bullseye users have reported similar
> > behavior. So, I’m wondering if I should go back to Buster?
> > >
> > > Thanks,
> > > Alan
> >
> >
> > I have been using Bullseye with LCNC 2.9 for over a month now 24/7 with
> > no shutdowns or blanking ever.
> >
> > Have you turned off the screensaver and turned off blanking in the power
> > management settings?
> >
> >
> > -Bari
>
>
>
>
> -- Forwarded message --
> From: gene heskett 
> To: emc-users@lists.sourceforge.net
> Cc:
> Bcc:
> Date: Wed, 11 May 2022 16:13:58 -0400
> Subject: [Emc-users] Do pnp prox switches need a pulldown load R?
> Greetings all;
>
> Peter in particular,
>
> This is my first try at utilizing a prox switch, and while the led on it
> responds just fine on 12 volts, I measure around 6 volts on the blue wire
> when its off, and only 7.1 volts when its fired. With +12.0 volts on the
> red wire.  These are "PNP" switches.
>
> So I'm assuming my 10 meg meter is not enough load to pull it down when
> its off. So what value of loading R to common is needed to make it
> properly register to a field input of a 7i76 useing a 12 volt field power
> src?
>
> Is that 7 volts enough to make a field input reliably see a logic one?
>
> Thanks all.
>
> 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
>
>
>
>
>
> ___
> 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] Linuxcnc development machine

2022-05-11 Thread Alan Condit
Andy and Seb,

Well I guess I jumped the gun. I didn’t think anybody was going to have any
suggestions, so, I installed Buster and LinuxCNC 2.8.2. I think your
suggestions are worth trying so I may try reinstalling Bullseye and see
what happens with those suggestions. However, I am tied up at the moment,
so, it may take a couple days before I can get to it.

Thanks,
Alan


> -- Forwarded message --
> From: andy pugh 
> To: "Enhanced Machine Controller (EMC)" 
> Cc:
> Bcc:
> Date: Wed, 11 May 2022 08:49:23 +0100
> Subject: Re: [Emc-users] Linuxcnc development machine
> On Mon, 9 May 2022 at 17:02, Alan Condit  wrote:
>
> > The only problem that I am having is that if I am not using it for a few
> minutes it shuts down. Several other Bullseye users have reported similar
> behavior. So, I’m wondering if I should go back to Buster?
>
> Complete shutdown or just display blanking?
> Sometimes it can be hard to tell if the machine doesn't want to wake.
>
> Can you ssh in to it when it is "off"
>
> Have a look around the seb for disabling dpms as a starting point.
>
> --
> 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
>
> -- Forwarded message --
> From: Bari 
> To: emc-users@lists.sourceforge.net
> Cc:
> Bcc:
> Date: Wed, 11 May 2022 03:11:49 -0500
> Subject: Re: [Emc-users] Linuxcnc development machine
> On 5/9/22 10:57, Alan Condit wrote:
> > I just rebuilt my late 2012 MacMini to be a Debian Bullseye machine. I
> setup a development environment on it. I loaded it with the source for
> Preempt-RT 5.15.41 and built a 64 bit kernel for my RaspberryPi 4.
> >
> > The only problem that I am having is that if I am not using it for a few
> minutes it shuts down. Several other Bullseye users have reported similar
> behavior. So, I’m wondering if I should go back to Buster?
> >
> > Thanks,
> > Alan
>
>
> I have been using Bullseye with LCNC 2.9 for over a month now 24/7 with
> no shutdowns or blanking ever.
>
> Have you turned off the screensaver and turned off blanking in the power
> management settings?
>
>
> -Bari

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


[Emc-users] Linuxcnc development machine

2022-05-09 Thread Alan Condit
I just rebuilt my late 2012 MacMini to be a Debian Bullseye machine. I setup a 
development environment on it. I loaded it with the source for Preempt-RT 
5.15.41 and built a 64 bit kernel for my RaspberryPi 4.

The only problem that I am having is that if I am not using it for a few 
minutes it shuts down. Several other Bullseye users have reported similar 
behavior. So, I’m wondering if I should go back to Buster?

Thanks,
Alan

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


Re: [Emc-users] Blown BOB and ???

2022-05-02 Thread Alan Condit
Andy, Chris, Dave and Jon,

Here is a link to the photo <https://photos.app.goo.gl/w3zq4RjfPTQCTU787>.
I guess it was too big to post directly.

Alan


On Mon, May 2, 2022 at 11:18 AM Alan Condit  wrote:

> Chris, Andy, and Dave,
>
> I guess I didn’t give enough info. I built this controller in 2005 for my
> lathe. I used it on my lathe until a couple of years ago when I added
> another drive and switched this controller over to my PCBmill and X2 Mini
> mill. I built a new controller for my lathe using a Mesa 5i25/7i76 pair so
> I could control spindle speed. The picture shows the two blown out parts.
> This controller worked for 15 years before letting the smoke out. I agree
> Andy, that it is difficult for a fault to continue to generate steps but
> that is what happened. It is possible that there was a design flaw but it
> worked for 15 years.
>  In the program where things went bad the X-axis should not have been
> moving but it was. I was cutting a bushing for a keyway broach. For quite
> awhile everything was going fine and then suddenly it began to cut into the
> X direction when it was traveling in the Y direction. Then I saw smoke
> coming out of the controller box.
> Jon Elson suggested that I may have blown out the parallel port which
> seems likely to me now that I think about the way it is behaving now.
>
> Alan
>
>
>
>> -- Forwarded message --
>> From: Alan Condit 
>> To: EMC-Users 
>> Cc:
>> Bcc:
>> Date: Sun, 1 May 2022 09:49:43 -0500
>> Subject: [Emc-users] Blown BOB and ???
>> Hi Guys,
>>
>> I was machining a part on my X2 Minimill. Suddenly it left the programmed
>> track (spoiled the part) and didn’t respond to Estop. I powered the system
>> off manually raised the Z axis and tried turning it on so I could home it,
>> smoke started coming from the controller. So I powered everything down and
>> started troubleshooting.
>> There were two chips on the CandCNC Mini-IO BOB that had let out the
>> magic smoke. I had a spare BOB that I built using the Gecko G540 schematic.
>> So I replaced the other BOB with it. The drives in the controller are
>> Superior Electric SS2000MD4 drives.
>>
>> When I got everything put back together and checked the wiring everything
>> looked good so I tried powering it up. When I tried homing it the traces
>> move in AXIS but there is no movement on the machine. The motors hold
>> position so the output of the drives is active. Is it likely that I blew
>> out the inputs on the drives?
>>
>> Thanks,
>> Alan
>>
>>
>>
>>
>> -- Forwarded message --
>> From: Chris Albertson 
>> To: "Enhanced Machine Controller (EMC)" 
>> Cc:
>> Bcc:
>> Date: Sun, 1 May 2022 08:59:53 -0700
>> Subject: Re: [Emc-users] Blown BOB and ???
>> There is a good chance there was a wiring error in you original setup.
>> The
>> fact the E-stop did not work tells me there was a design error.  E-Stop
>> should never fail, or rather if it does fail, the machine stops.  If the
>> inputs on the drivers are blown, that says the same thing.  Smaething was
>> wrong as that should never happen.
>>
>> Diagnosing a system that has a design fault is really hard because our
>> brain tends to think of how a correct machine would function or how the
>> machine we THOUGHT we built should function.
>>
>> The best plan is to ignore LCNC the BOB and all for now and see if you can
>> drive the motor drivers with a simple signal generator and no computer.
>>  If this does not work, you need to replace or repair the drivers before
>> you think about reconnecting a computer.   If you need to buy some test
>> equipment, now is the time.At least a cheap square wave signal
>> generator and a cheap $12 logic analyzer t go with your multimeter.
>>
>> Finally, you should draw a schematic of how you propose to connect the
>> computer and post it here for others to review.   They will check if
>> nothing else the e-stop design to see that it is failsafe and also check
>> that you have the power and computer parts properly isolated.   It seems
>> this may not have been the case in the past, and you don't want to simply
>> put it back the way it was.
>>
>> First step is to verify the motors and drivers work independently of
>> computer control.
>>
>>
>>
>> Chris Albertson
>> Redondo Beach, California
>>
>> -- Forwarded message --
>> From: andy pugh 
>> To: "Enhanced Machine Controller (EMC)" 
>> Cc:
>> Bcc:
>> Date: Sun, 1 May 202

Re: [Emc-users] Blown BOB and ???

2022-05-02 Thread Alan Condit
Chris, Andy, and Dave,

I guess I didn’t give enough info. I built this controller in 2005 for my 
lathe. I used it on my lathe until a couple of years ago when I added another 
drive and switched this controller over to my PCBmill and X2 Mini mill. I built 
a new controller for my lathe using a Mesa 5i25/7i76 pair so I could control 
spindle speed. The picture shows the two blown out parts. This controller 
worked for 15 years before letting the smoke out. I agree Andy, that it is 
difficult for a fault to continue to generate steps but that is what happened. 
It is possible that there was a design flaw but it worked for 15 years.
 In the program where things went bad the X-axis should not have been moving 
but it was. I was cutting a bushing for a keyway broach. For quite awhile 
everything was going fine and then suddenly it began to cut into the X 
direction when it was traveling in the Y direction. Then I saw smoke coming out 
of the controller box.
Jon Elson suggested that I may have blown out the parallel port which seems 
likely to me now that I think about the way it is behaving now.

Alan




-- Forwarded message --
From: Alan Condit mailto:condit.a...@gmail.com>>
To: EMC-Users mailto:Emc-users@lists.sourceforge.net>>
Cc: 
Bcc: 
Date: Sun, 1 May 2022 09:49:43 -0500
Subject: [Emc-users] Blown BOB and ???
Hi Guys,

I was machining a part on my X2 Minimill. Suddenly it left the programmed track 
(spoiled the part) and didn’t respond to Estop. I powered the system off 
manually raised the Z axis and tried turning it on so I could home it, smoke 
started coming from the controller. So I powered everything down and started 
troubleshooting.
There were two chips on the CandCNC Mini-IO BOB that had let out the magic 
smoke. I had a spare BOB that I built using the Gecko G540 schematic. So I 
replaced the other BOB with it. The drives in the controller are Superior 
Electric SS2000MD4 drives. 

When I got everything put back together and checked the wiring everything 
looked good so I tried powering it up. When I tried homing it the traces move 
in AXIS but there is no movement on the machine. The motors hold position so 
the output of the drives is active. Is it likely that I blew out the inputs on 
the drives?

Thanks,
Alan




-- Forwarded message --
From: Chris Albertson mailto:albertson.ch...@gmail.com>>
To: "Enhanced Machine Controller (EMC)" mailto:emc-users@lists.sourceforge.net>>
Cc: 
Bcc: 
Date: Sun, 1 May 2022 08:59:53 -0700
Subject: Re: [Emc-users] Blown BOB and ???
There is a good chance there was a wiring error in you original setup.  The
fact the E-stop did not work tells me there was a design error.  E-Stop
should never fail, or rather if it does fail, the machine stops.  If the
inputs on the drivers are blown, that says the same thing.  Smaething was
wrong as that should never happen.

Diagnosing a system that has a design fault is really hard because our
brain tends to think of how a correct machine would function or how the
machine we THOUGHT we built should function.

The best plan is to ignore LCNC the BOB and all for now and see if you can
drive the motor drivers with a simple signal generator and no computer.
 If this does not work, you need to replace or repair the drivers before
you think about reconnecting a computer.   If you need to buy some test
equipment, now is the time.At least a cheap square wave signal
generator and a cheap $12 logic analyzer t go with your multimeter.

Finally, you should draw a schematic of how you propose to connect the
computer and post it here for others to review.   They will check if
nothing else the e-stop design to see that it is failsafe and also check
that you have the power and computer parts properly isolated.   It seems
this may not have been the case in the past, and you don't want to simply
put it back the way it was.

First step is to verify the motors and drivers work independently of
computer control.



Chris Albertson
Redondo Beach, California

-- Forwarded message --
From: andy pugh mailto:bodge...@gmail.com>>
To: "Enhanced Machine Controller (EMC)" mailto:emc-users@lists.sourceforge.net>>
Cc: 
Bcc: 
Date: Sun, 1 May 2022 21:23:48 +0100
Subject: Re: [Emc-users] Blown BOB and ???
On Sun, 1 May 2022 at 15:53, Alan Condit mailto:condit.a...@gmail.com>> wrote:

> I was machining a part on my X2 Minimill. Suddenly it left the programmed 
> track (spoiled the part)

How? It is almost impossible for a fault to cause extra steps. Does it
appear that one axis simply stopped moving?

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





-- Forwarded message --
From: dave engvall mailto:dengv...@charter.net>>
To: emc-users@lists.sourceforge

[Emc-users] Blown BOB and ???

2022-05-01 Thread Alan Condit
Hi Guys,

I was machining a part on my X2 Minimill. Suddenly it left the programmed track 
(spoiled the part) and didn’t respond to Estop. I powered the system off 
manually raised the Z axis and tried turning it on so I could home it, smoke 
started coming from the controller. So I powered everything down and started 
troubleshooting.
There were two chips on the CandCNC Mini-IO BOB that had let out the magic 
smoke. I had a spare BOB that I built using the Gecko G540 schematic. So I 
replaced the other BOB with it. The drives in the controller are Superior 
Electric SS2000MD4 drives. 

When I got everything put back together and checked the wiring everything 
looked good so I tried powering it up. When I tried homing it the traces move 
in AXIS but there is no movement on the machine. The motors hold position so 
the output of the drives is active. Is it likely that I blew out the inputs on 
the drives?

Thanks,
Alan

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


Re: [Emc-users] 7i76 Field Power In

2022-03-13 Thread Alan Condit
Peter,

Well I don’t know what was going on, but I took loosened and reseated all of 
the wires in TB1 (Field Power Block). Now everything is working again.

Alan
> From: "Peter C. Wallace" 
> Subject: Re: [Emc-users] 7i76 Field Power In
> Date: March 12, 2022 at 6:47:16 PM CST
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> On Sat, 12 Mar 2022, Alan Condit wrote:
> 
>> Date: Sat, 12 Mar 2022 18:14:28 -0600
>> From: Alan Condit 
>> Reply-To: "Enhanced Machine Controller (EMC)"
>>
>> To: EMC-Users 
>> Subject: [Emc-users] 7i76 Field Power In
>> I am using a 7i76 daughter card with 24v Field Power. Is the +24v supposed 
>> to be connected to TB1-5?
>> 
> No, you would normally apply +field power to TB1 pin 1 (2,3,4)
> VIN is connected to +field power VIA W1 in its default left position
> so no connection to TB1 pin 5 is needed
> 
>> 
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
> 
> 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


[Emc-users] 7i76 Field Power In

2022-03-12 Thread Alan Condit
I am using a 7i76 daughter card with 24v Field Power. Is the +24v supposed to 
be connected to TB1-5?



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


[Emc-users] Joint 0 on Limit Switch error

2022-03-11 Thread Alan Condit
I have been adjusting the limit switches on my G4000 lathe. Suddenly I am 
getting Joint 0 on limit switch error and Joint 1 on limit switch error when I 
try to turn on the spindle. The spindle turns on and then immediately off with 
the error messages.

The X limit switch is set at 3.45" so that at 0.0" the tip of the tool is at 
X=0.000. The Z limit switch is set at 13.4806"so the tip of the tool at the end 
of the jaws on my 3 jaw chuck is Z=0.000". Until the last change this 
subroutine was working perfectly. At the point I get the error messages the X 
and Z axis are nowhere near the limits.

The last change I made was to flip A+ and A- on the x-axis so that I don’t have 
to go in and had edit X-Axis STEP_SCALE to change it to negative every time 
that I use pncconf.

Global variables are:
(==)
(=== Define Constants/Variables ===)
#<_xorigin>=[0.]  ( X axis offset for 
Coordinate sys 2 )
 ( to correct too small diameter add positive value equal to 1/2 error to 
#<_xorigin> )
 ( to correct too large diameter subtract positive value equal to 1/2 error 
from #<_xorigin> )
#<_zorigin>=[0.861]   ( Z axis offset for 
Coordinate sys 2 )
#<_toolnum>=2 ( Set Tool Number )
#<_tooldia>=0.000 ( Set the tool diameter )
#<_toolrad>=[#<_tooldia>/2]   ( Tool radius )
#<_cutoffwidth>=0.09375   ( Cutoff Tool Width )
#<_feedrate>=3.5  ( X Feed rate )
#<_plungerate>=1.2( Z Feed rate )
#<_finefeed>=1.0  ( Fine Feed rate )
#<_partoffrate>=0.2   ( Part off feed rate )
#<_spindlespeed>=500  ( Spindle Speed )
#<_X_dia>=0.9000  ( Starting Diameter of 
Material )
#<_X_rad>=[#<_X_dia>/2]   ( Starting Radius )
#<_Xfinish>=0.750 ( Edge of Material )
#<_X_depth>=[[#<_X_dia>-#<_Xfinish>]/2]   ( Final Diameter of Material )
#<_Xcut>=0.010( X cut depth )
#<_close_X>=0.050 ( Close to X surface )
#<_clear_X>=[#<_X_rad>+#<_close_X>]   ( distance to clear X axis at 
end )
#<_safe_X>=[#<_X_rad>+#<_close_X>]( distance to move X for safe 
z moves )
#<_Zcut>=0.010( Z Cut depth )
#<_Zthick>=0.603  ( Thickness of Material )
#<_ZFace>=0.000   ( Z surface )
#<_Zdepth>=[#<_ZFace>-#<_Zthick>] ( Depth to cut in Z direction 
)
#<_close_Z>=0.050 ( Close to top )
#<_safe_Z>=[#<_ZFace>+#<_close_Z>]( Z clear height )
#<_clear_Z>=1.000 ( Distance for final retract )
#<_sqcorner>=[[SQRT[2]-1]*[#<_toolrad>+0.0001]]   ( Offset of Tool radius to 
corner )
(#518=[2*[SIN[15]**2]])
(#518=[2*[SIN[15]^2]])
#<_referencetool>=#5063

The subroutine is:
( Turn Outer Surface )
o SUB ([1] [2] [3] [4])   ( #1=X Diameter, #2=ZStart, 
#3=Xsize, #4=ZLength )
# = [#1/2] ( starting radius )
#=[0.0-#2]
# = [#3/2]( depth to cut to )
#=[#-#4]
# = #<_feedrate>  ( variable feed rate )
o DO
   m0 (DEBUG, Turn Arbor Stub1 X = [#+#<_close_X>]; Zstart = 
[#+#<_close_Z>]; ZEnd = [#] ...  unpause[S] when ready)
   G0 X[#+#<_close_X>]   ( move X close to start position 
)
  Z[#+#<_close_Z>]   ( move Z close to start 
position )
   o IF [# LT [# - #<_Xcut>]]( set up X cutting position )
  # = [#-#<_Xcut>]
   o ELSE
  # = #
  # = #<_finefeed>( change feed rate for finish 
cut )
   o ENDIF
   m0 (DEBUG, Turn Arbor Stub2 X = [#]; ZEnd = [#] ...  unpause[S] 
when ready)
   G01 X# F#<_finefeed> ( Position for X cut )
   Z# F#( Make Z cut )
o WHILE [# LT # ]   ( Loop until we cut to depth )
G0 X[#+#<_close_X>] ( move X close to final cut 
position )
   Z[#+#<_close_Z>]  ( move Z close to start 
position )
G01 X# F#<_finefeed>( Position for X spring cut )
Z# F#( Make Z spring cut )
G0 X#<_clear_X>( Retract X to clear )
G0 Z#<_safe_Z> ( Retract Z to clear )
o ENDSUB

The calling sequence is:
   m0 (DEBUG, be sure Arbor Stub is sticking out from chuck ... unpause[S] when 
ready)
   m0 (DEBUG, Mount Turning Tool ...  unpause[S] when ready)
   T#<_toolnum> M6
   m0 (DEBUG, Turn on Spindle ...  unpause[S] 

Re: [Emc-users] Pi4 with LinuxCNC and MESA 7i92H

2022-03-06 Thread Alan Condit
Robin,

I have a USB3 to Ethernet adapter to use on my Pi4. I intend to use the
onboard Ethernet for my 7i76e and the USB/Ethernet for the internet.

Alan

From: Robin Szemeti 
> To: "Enhanced Machine Controller (EMC)" 
> Cc:
> Bcc:
> Date: Sun, 6 Mar 2022 11:35:56 +
> Subject: Re: [Emc-users] Pi4 with LinuxCNC and MESA 7i92H
> The Pi4 and a Mesa ethernet card seemed like a brilliant idea when I bought
> mine ... I now regret it.  The networking nightmare it has caused is
> painful.  There is no WiFi down in my shed, only wired ethernet, so I had
> to put in a WiFi to ethernet bridge, connectivity is odd, sometimes it
> appears on the network, sometimes it doesn't.
>
> Any bright ideas on how to add a second ethernet port to the Pi?

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


Re: [Emc-users] Spindle setup for 5i25/7i76

2021-11-19 Thread Alan Condit
Gene,

Sorry, this message got sent in error. I was working on my wife’s iPad and
some how a draft of an old message got sent rather than deleted.

Alan
From: Gene Heskett 

> To: emc-users@lists.sourceforge.net
> Cc:
> Bcc:
> Date: Thu, 18 Nov 2021 18:40:59 -0500
> Subject: Re: [Emc-users] Spindle setup for 5i25/7i76
> On Thursday 18 November 2021 17:57:19 Alan Condit wrote:
>
> > I built a new controller for my 9x20 lathe using a 5i25/7i76 combo. I
> > thought I had everything working but I still can’t get the spindle
> > working correctly. I have a 1.5hp PMDC treadmill motor that I am
> > controlling with a Cycletrol-150 DC controller. The am using the
> > analog out from the 7i76 to replace the potentiometer to control the
> > spindle speed. I have a 100 count encoder with index (homemade) on the
> > spindle. The spindle starts under LCNC control but I am not getting an
> > “at speed indication” at above 60rpm.
> >
> I might add that most of those treadmill controllers are far from linear
> controllers even with a large buildout resistor between the 7i76 card
> and their actual speed. The Pico Systems PWM-SERVO amp is the answer but
> be sure and tell Jon your are running a spindle motor with it which is a
> CCS load, it normally comes with an ICAS tuning for servo's which stop
> when they get there, spindles don't. The Pico will need a suitable
> analog DC power supply, whereas the Cycletrol probably runs from raw AC.
> I have used the treadmill controllers, a couple times, but never got good
> control so it was only till I built a better way.
>
> Now I use large amounts of P-Gain and the only indication of excess load
> is when Jons driver throttles the motor at about 18 amps, making the
> iron in the motor chirp quietly.  Thats right close to 2 hp from a 1hp
> rated motor but neither has even needed fresh brushes in years.
>
> > Sent from my iPad
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> 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 <http://geneslinuxbox.net:6309/gene>
>
>
> ___
> 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] Spindle setup for 5i25/7i76

2021-11-18 Thread Alan Condit

I built a new controller for my 9x20 lathe using a 5i25/7i76 combo. I thought I 
had everything working but I still can’t get the spindle working correctly.
I have a 1.5hp PMDC treadmill motor that I am controlling with a Cycletrol-150 
DC controller. The am using the analog out from the 7i76 to replace the 
potentiometer to control the spindle speed. I have a 100 count encoder with 
index (homemade) on the spindle.
The spindle starts under LCNC control but I am not getting an “at speed 
indication” at above 60rpm. 


Sent from my iPad

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


Re: [Emc-users] LinuxCNC 2.8.0 upgrade

2021-09-27 Thread Alan Condit
Andy,

In synaptic settings I have:
deb
http://linuxcnc.org 
buster 
2.8-rtpreempt base

and

debsrc
http://linuxcnc.org 
buster 
2.8-rtpreempt base

Seb replied direct to me and I did get updated with "sudo apt update" and "sudo 
apt upgrade”. However, I
generally prefer Synaptic, so thank you for helping with synaptic. I don’t see 
anything obviously wrong with
what I have and what is shown on the Updating-linuxcnc webpage.
Debian Buster - preempt

deb http://linuxcnc.org buster base 2.8-rtpreempt


I hadn’t updated in a long time. I had just been re-installing, so I may have 
forgotten a step.

Thanks,
Alan

> On Sep 27, 2021, at 7:18 AM, emc-users-requ...@lists.sourceforge.net wrote:
> 
> From: andy pugh 
> Subject: Re: [Emc-users] LinuxCNC 2.8.0 upgrade
> Date: September 27, 2021 at 6:56:27 AM CDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> On Sun, 26 Sept 2021 at 15:03, Alan Condit  wrote:
>> 
>> I tried to upgrade my LinuxCNC 2.8.0 on my lathe but Synaptic reported that 
>> 2.8.0 is the latest version.
>> The downloads page of the website shows 2.8.2 is the current version.
> 
> What do you have in  Synaptic Settings->Repositories?
> 
> 
> -- 
> atp


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


[Emc-users] LinuxCNC 2.8.0 upgrade

2021-09-26 Thread Alan Condit
I tried to upgrade my LinuxCNC 2.8.0 on my lathe but Synaptic reported that 
2.8.0 is the latest version. 
The downloads page of the website shows 2.8.2 is the current version.
What do I need to do to upgrade rather than just re-install?

Thanks,
Alan

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


Re: [Emc-users] Spindle setup for 5i25/7i76

2021-09-13 Thread Alan Condit
Update, I found some old photos of the motor’s id plate. I thought it was rated 
at 6000 rpm at 110 volts, but it was really only 3000rpm at 110volts. When I 
adjusted the maximum rpm in PNCConf, suddenly I was getting a solid “At Speed” 
indicator. 

John,
   I will still try measuring the analog voltage at various rpms and if I can 
get at it I will measure the DC voltage out.

Peter,
Thanks for the suggestion about the encoder phasing, I don’t think it was 
going to work without fixing that.

Gene,
 Could you go ahead and send me your configs. I can have a jackshaft driven 
by toothed belt with a 3 step pulley or a pair of three step pulleys on the 
motor and spindle. So six possible gearing combinations.


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


Re: [Emc-users] Spindle setup for 5i25/7i76

2021-09-13 Thread Alan Condit
John, Peter and Gene,

I have the Cycletrol-150 Manual. It says that you can replace the 5k ohm 
potentiometer with a 0-10v analog signal. The 7i76 manual says that you can use 
it to replace a 5k potentiometer control (0-10v). So that should work and 
indeed seems to be working. I have tried adjusting the detectors to 90°. I have 
an old Tectronix scope and they look pretty good there. It now has a solid “at 
speed indication” up to about 250rpm. So now I am suspecting that I don’t have 
the PNCConf configuration quite correct for the spindle. At the top of the 
range the Speed Indicator fluctuates from about 400 to 600 rpm while the motor 
sounds like it is holding dead steady.
One of my problems is that I don’t actually know what the rpm of the motor 
should be at 90volts. It is a Pacific Scientific motor rated 1.5hp at 110v DC.

Thanks,
Alan



> I built a new controller for my 9x20 lathe using a 5i25/7i76 combo. I thought 
> I had everything working but I still can’t get the spindle working correctly.
> I have a 1.5hp PMDC treadmill motor that I am controlling with a 
> Cycletrol-150 DC controller. The am using the analog out from the 7i76 to 
> replace the potentiometer to control the spindle speed. I have a 100 slot 
> encoder with index (homemade) on the spindle.
> 
> The spindle starts under LCNC control but I am not getting an “at speed 
> indication” at above about 100rpm. The motor sounds like is is running at a 
> steady speed but the Spindle Speed indicator fluctuates wildly. I am 
> suspicious of the spindle encoder. Before I was just running it as a 100 
> count counter with index and it worked fine. I can’t figure out in PNCConf 
> how to set up a spindle counter with index for the 7i76.
> 
>> From: "John Dammeyer" 
>> 
>> Hi Alan,
>> 
>> This is what I found for a Cycletrol DC motor controller.
>> http://www.grahammotorandcontrols.com/item_dc_motor_controller/176B6002/58
>> 
>> 
>> There is no guarantee that a PWM output will emulate a potentiometer.  
>> That's the first place to look
>> First put the pot back and measure the voltage between the wiper and ground 
>> as you control the speed from 0 to full RPM open loop.  And depending on how 
>> it's powered be careful that the pot inputs aren't indirectly connected to 
>> ground.
>> 
>> It's always possible the speed control won't work unless there is also 5K 
>> Ohm between pin 9 and 11.
>> 
>> It's also possible the pot changes the resistance (as a rheostat) in a 
>> feedback circuit so input PWM may or may not work.  
>> 
>> Also PWM is exactly that pulse width.  Unless you have a filter capacitor 
>> across that with a bleeder resistor to ground (Pin 11) the internal circuit 
>> many not integrate the PWM enough for it to work.  
>> 
>> For example I bought a small Chinese PWM to 0-10V module that has the rule 
>> that the PWM frequency can't be higher than 1kHz.  Try it with 10kHz and it 
>> won't create a lower voltage.  So PWM frequency is a parameter that must be 
>> correct.
>> 
>> I also, way back, bought a step/dir to 0-10V controller that produced 10V at 
>> 25kHz step rate.  The problem was my ELS was limited to 20kHz so I never 
>> could get 10V out of it.
>> 
>> I don't believe your 100 PPR encoder is the issue.  I'm running my spindle 
>> with 60 PPR and can do power tapping on the mill.  
>> 
>> It may still be possible to find these UHU or HP_UHU kits somewhere.  I 
>> ended up using them because the GECKO servo drives I bought were only good 
>> to 80V and my servo motors like more than 90V.  The HP_UHU kit was good to 
>> over 200VDC.
>> https://www.cnczone.com/forums/servo-motors-drives/342836-uhu-servo-controller-build.html
>> 
>> 
>> Similarly there are still some STMBL kits out there.  These can actually 
>> take the smart serial input from the MESA boards or step/dir.  I'm not sure 
>> that 0-10V was very implemented.
>> https://www.pcbway.com/project/shareproject/stmbl_servo_motor_drive.html
>> 
>> John
>> 
>> 
>> 
>> From: "Peter C. Wallace" 
>> 
>> I would first check the A/B phasing and symmetry by monitoring the A and B 
>> inputs with halscope when turning at a slow speed (say 100 RPM or less)
>> The pins to monitor would be:
>> 
>> hm2_5i25.0.encoder.00.input-a
>> hm2_5i25.0.encoder.00.input-b
>> 
>> Ideally both A and B should be square waves (50% duty cycle)
>> and have a 90 degree phase difference (A changes in the middle of B high and 
>> B low times and vice versa)
>> 
>> 
>> Peter Wallace
>> Mesa Electronics
>> 
&g

[Emc-users] Spindle setup for 5i25/7i76

2021-09-12 Thread Alan Condit

I built a new controller for my 9x20 lathe using a 5i25/7i76 combo. I thought I 
had everything working but I still can’t get the spindle working correctly.
I have a 1.5hp PMDC treadmill motor that I am controlling with a Cycletrol-150 
DC controller. The am using the analog out from the 7i76 to replace the 
potentiometer to control the spindle speed. I have a 100 slot encoder with 
index (homemade) on the spindle.

The spindle starts under LCNC control but I am not getting an “at speed 
indication” at above about 100rpm. The motor sounds like is is running at a 
steady speed but the Spindle Speed indicator fluctuates wildly. I am suspicious 
of the spindle encoder. Before I was just running it as a 100 count counter 
with index and it worked fine. I can’t figure out in PNCConf how to set up a 
spindle counter with index for the 7i76.

Questions: 
Is it likely that my encoder is the problem? 
I don’t know how to adjust the detectors to be out of cycle by 90°? Any helpful 
hints?
Should I just go back to the 100 slot counter?
Should I replace my whole homemade encoder with a real commercial spindle 
encoder?

Sent from my iPad

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


Re: [Emc-users] Meanwell SE600-48 Power Supply

2021-07-19 Thread Alan Condit
Well after playing with it for a couple of hours on the bench, the fan would 
start reliably on power on. I let it sit for a couple of hours and it still 
started on power on. So, I bolted it back in to the cabinet. When I powered it 
on silence except for that click now and then. Lightbulb on. Maybe tightening 
it into the cabinet is doing something. So, I loosened up the bolts holding it 
in place and voila it would spin up on power on. Making a long story even 
longer, it seems the bolts near the fan are just a hair too long and block the 
fan from turning. So, I need to find a couple shorter 3mm cap screws.

Thanks for everybody trying to help me solve the problem.

> From: Alan Condit 
> Subject: Re: [Emc-users] Meanwell SE600-48 Power Supply
> Date: July 19, 2021 at 8:47:00 AM CDT
> To: "Emc-users@lists.sourceforge.net" 
> 
> 
> Gene, Chris, Milosz and everybody who has tried to help,
> 
> I am reposting this because I screwed up earlier and failed to change the 
> Subject line.
> 
> I took the power supply out of the controller cabinet and set it up on the 
> bench. I used a small screw driver to turn the fan a few times, then I turned 
> it on and the fan ran. Like Milosz said it was loud. I turned it off and 
> turned it back on again and the fan ran, Great problem fixed (yeah, right). I 
> put it back in the cabinet and turned it on (silence). So I will take it back 
> out of the cabinet and see if I can get it to run and start reliably after a 
> period of rest. Otherwise it looks like replacing the fan is the answer.
> 
> Thanks all,
> Alan

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


Re: [Emc-users] Meanwell SE600-48 Power Supply

2021-07-19 Thread Alan Condit
Gene, Chris, Milosz and everybody who has tried to help,

I am reposting this because I screwed up earlier and failed to change the 
Subject line.

I took the power supply out of the controller cabinet and set it up on the 
bench. I used a small screw driver to turn the fan a few times, then I turned 
it on and the fan ran. Like Milosz said it was loud. I turned it off and turned 
it back on again and the fan ran, Great problem fixed (yeah, right). I put it 
back in the cabinet and turned it on (silence). So I will take it back out of 
the cabinet and see if I can get it to run and start reliably after a period of 
rest. Otherwise it looks like replacing the fan is the answer.

Thanks all,
Alan

> 
> From: Dave Cole 
> Subject: Re: [Emc-users] Meanwell SE600-48 Power Supply
> Date: July 15, 2021 at 6:33:23 PM CDT
> To: emc-users@lists.sourceforge.net
> 
> 
> You may have a bad power supply.  Do you have any output voltage?
> I'd attach a load and see if it holds voltage.   I cant think of anything 
> that should be clicking in there.   Arcing can sound like clicking.
> 
> The spec sheet says nothing about fan control and I would expect they would 
> flaunt that feature if they had it.
> https://www.meanwell.com/productPdf.aspx?i=469#1
> 
> On 7/15/2021 12:16 PM, Alan Condit wrote:
>> I am building a new controller cabinet. I installed a Meanwell SE600-48 
>> power supply. When I turn on the power supply the fan doesn’t turn on. If I 
>> leave the power supply on for a little while I hear an intermittent clicking 
>> (like a relay) but no fan. Does it have some kind of temperature control on 
>> the fan? Is it not turning on because I currently have virtually no load on 
>> the power supply?
>> 
>> Thanks,
>> Alan
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> 
> 
> 
> From: Nicklas SB Karlsson 
> Subject: Re: [Emc-users] Meanwell SE600-48 Power Supply
> Date: July 16, 2021 at 5:37:56 AM CDT
> To: "Enhanced Machine Controller \(EMC\)" 
> 
> 
>> I am building a new controller cabinet. I installed a Meanwell SE600-48 
>> power supply. When I turn on the power supply the fan doesn’t turn on. If I 
>> leave the power supply on for a little while I hear an intermittent clicking 
>> (like a relay) but no fan. Does it have some kind of temperature control on 
>> the fan? Is it not turning on because I currently have virtually no load on 
>> the power supply?
> 
> Short circuit? Or overloaded?
> 
> Some power supplys enter som kind of "power down" mode if overloaded.
> 
> 
> Nicklas Karlsson


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


Re: [Emc-users] Emc-users Digest, Vol 183, Issue 95

2021-07-18 Thread Alan Condit
Gene, Chris, Milosz and everybody who has tried to help,

I took the power supply out of the controller cabinet and set it up on the 
bench. I used a small screw driver to turn the fan a few times, then I turned 
it on and the fan ran. Like Milosz said it was loud. I turned it off and turned 
it back on again and the fan ran, Great problem fixed (yeah, right). I put it 
back in the cabinet and turned it on (silence). So I will take it back out of 
the cabinet and see if I can get it to run and start reliably after a period of 
rest. Otherwise it looks like replacing the fan is the answer.

Thanks all,
Alan

> On Jul 18, 2021, at 7:39 PM, emc-users-requ...@lists.sourceforge.net wrote:
> 
> Send Emc-users mailing list submissions to
>   emc-users@lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   https://lists.sourceforge.net/lists/listinfo/emc-users
> or, via email, send a message with subject or body 'help' to
>   emc-users-requ...@lists.sourceforge.net
> 
> You can reach the person managing the list at
>   emc-users-ow...@lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Emc-users digest..."
> Today's Topics:
> 
>   1. Re: Meanwell SE600-48 Power Supply (Gene Heskett)
>   2. Re: Power Draw Bar (Andy Pugh)
>   3. Re: Power Draw Bar (John Dammeyer)
> 
> From: Gene Heskett 
> Subject: Re: [Emc-users] Meanwell SE600-48 Power Supply
> Date: July 18, 2021 at 6:59:05 PM CDT
> To: emc-users@lists.sourceforge.net
> 
> 
> On Friday 16 July 2021 15:33:23 Alan Condit wrote:
> 
>> Chris,
>> 
>> The unit doesn’t seem to be warm.
>> I adjusted the voltage down to 42 volts, to provide some headroom. I
>> am using KL5056 stepper drivers and they say max 50 volts. There is
>> definitely power to the fan because if I try to turn it it snaps back
>> to the fixed position. The voltage is rock steady at 42 volts.
>> 
>> I wonder if it is just the fan or fan controller that is bad.
>> 
>> I bought the power supply a year or so ago but this is the first time
>> I have applied power to it. Maybe I will have to open it up and see if
>> I could replace the fan.
>> 
>> Alan
>> 
> That rather sounds like a good idea, Alan. From your description it 
> sounds like the motors own hal effect commutation circuit has died. That 
> is typically buried someplace in the motor, so if it has voltage, but is 
> not running, and the motor itself may be hot, its probably time for a 
> new fan.  Call it infant mortality.
> 
>>> From: Chris Albertson 
>>> Subject: Re: [Emc-users] Meanwell SE600-48 Power Supply
>>> Date: July 15, 2021 at 12:21:10 PM CDT
>>> To: "Enhanced Machine Controller (EMC)"
>>> 
>>> 
>>> 
>>> If you place your hand on the power supply and feel no heat, then
>>> I'd expect the fan to be off.
>>> 
>>> I some a good size power resistors mounted to a heat sink with a fan
>>> that I used for testing power supplies.  Testing with no dummy load
>>> is not very meaningful.   The load is set up so it can be quickly
>>> rewired with resistors in series or parallel in different ways using
>>> a terminal block.
>>> 
>>> On Thu, Jul 15, 2021 at 9:19 AM Alan Condit  
> wrote:
>>>> I am building a new controller cabinet. I installed a Meanwell
>>>> SE600-48 power supply. When I turn on the power supply the fan
>>>> doesn’t turn on. If I leave the power supply on for a little while
>>>> I hear an intermittent clicking (like a relay) but no fan. Does it
>>>> have some kind of temperature control on the fan? Is it not turning
>>>> on because I currently have virtually no load on the power supply?
>>>> 
>>>> Thanks,
>>>> Alan
>>>> 
>>>> ___
>>>> Emc-users mailing list
>>>> Emc-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>> 
>>> --
>>> 
>>> Chris Albertson
>>> Redondo Beach, California
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> 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

Re: [Emc-users] Meanwell SE600-48 Power Supply

2021-07-16 Thread Alan Condit

Chris,

The unit doesn’t seem to be warm. 
I adjusted the voltage down to 42 volts, to provide some headroom. I am using 
KL5056 stepper drivers and they say max 50 volts. There is definitely power to 
the fan because if I try to turn it it snaps back to the fixed position. The 
voltage is rock steady at 42 volts.

I wonder if it is just the fan or fan controller that is bad. 

I bought the power supply a year or so ago but this is the first time I have 
applied power to it. Maybe I will have to open it up and see if I could replace 
the fan.

Alan


> From: Chris Albertson 
> Subject: Re: [Emc-users] Meanwell SE600-48 Power Supply
> Date: July 15, 2021 at 12:21:10 PM CDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> If you place your hand on the power supply and feel no heat, then I'd
> expect the fan to be off.
> 
> I some a good size power resistors mounted to a heat sink with a fan that I
> used for testing power supplies.  Testing with no dummy load is not very
> meaningful.   The load is set up so it can be quickly rewired with
> resistors in series or parallel in different ways using a terminal block.
> 
> On Thu, Jul 15, 2021 at 9:19 AM Alan Condit  wrote:
> 
>> I am building a new controller cabinet. I installed a Meanwell SE600-48
>> power supply. When I turn on the power supply the fan doesn’t turn on. If I
>> leave the power supply on for a little while I hear an intermittent
>> clicking (like a relay) but no fan. Does it have some kind of temperature
>> control on the fan? Is it not turning on because I currently have virtually
>> no load on the power supply?
>> 
>> Thanks,
>> Alan
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
> 
> 
> -- 
> 
> Chris Albertson
> Redondo Beach, California
> 


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


[Emc-users] Meanwell SE600-48 Power Supply

2021-07-15 Thread Alan Condit
I am building a new controller cabinet. I installed a Meanwell SE600-48 power 
supply. When I turn on the power supply the fan doesn’t turn on. If I leave the 
power supply on for a little while I hear an intermittent clicking (like a 
relay) but no fan. Does it have some kind of temperature control on the fan? Is 
it not turning on because I currently have virtually no load on the power 
supply?

Thanks,
Alan

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


Re: [Emc-users] Trying to power up my little PCB mill (ken.stra...@gmail.com)

2021-03-19 Thread Alan Condit
Thanks Ken and Gene,

The X and Z cables were miswired. I was pretty sure the problem was not in
the controller box because it was working with the X2 mill.

Now I can work on the homing sequence.

Alan

From: 
> To: "'Enhanced Machine Controller (EMC)'"  >
> Cc:
> Bcc:
> Date: Fri, 19 Mar 2021 18:36:01 -0400
> Subject: Re: [Emc-users] Trying to power up my little PCB mill
> "Shuttering" is a frequent symptom of a mis-wired motor. Are all three
> motors wired identically? Check the cables!
>
> -Original Message-
> From: Alan Condit 
> Sent: March 19, 2021 6:21 PM
> To: Emc-users@lists.sourceforge.net
> Subject: [Emc-users] Trying to power up my little PCB mill
>
> I finally got my PCB mill all wired up and I started with the stepconf
> configuration that works with my X2 mill.
> Neither the X axis or the Z axis work. They just shudder. However, the Y
> axis works fine it will do 180 ipm. So I took the stepper off of the X axis
> to see if it would turn by itself and it would not. It just shuddered. So I
> took the motor off the Y axis and put it on the X to see if it would work
> and no joy. It just shuddered. So just to check things out I put the motor
> from the X axis on the Y axis and guess what it worked fine.
>
> All three axis are using 5 tpi ball screws and linear rails. When I turn
> the
> X axis screw by itself it seems to move freely enough. The stepper motors
> are from Automation Direct and are 425oz/in motors so they should have
> enough power. I am using new/old Superior stepper drivers but they drive
> the
> X2 mill just fine.
>
> Any suggestions in where to go from here?
>
> Thanks,
> Alan
>
> -- Forwarded message --
> From: Gene Heskett 
> To: emc-users@lists.sourceforge.net
> Cc:
> Bcc:
> Date: Fri, 19 Mar 2021 18:52:12 -0400
> Subject: Re: [Emc-users] Trying to power up my little PCB mill
> On Friday 19 March 2021 18:21:29 Alan Condit wrote:
>
> That, generally, is evidence of swapped step and direction signals.
>
> Double check your wiring from BoB to driver.
>
> 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 <http://geneslinuxbox.net:6309/gene>

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


[Emc-users] Trying to power up my little PCB mill

2021-03-19 Thread Alan Condit
I finally got my PCB mill all wired up and I started with the stepconf 
configuration that works with my X2 mill.
Neither the X axis or the Z axis work. They just shudder. However, the Y axis 
works fine it will do 180 ipm. So I took the stepper off of the X axis to see 
if it would turn by itself and it would not. It just shuddered. So I took the 
motor off the Y axis and put it on the X to see if it would work and no joy. It 
just shuddered. So just to check things out I put the motor from the X axis on 
the Y axis and guess what it worked fine.

All three axis are using 5 tpi ball screws and linear rails. When I turn the X 
axis screw by itself it seems to move freely enough. The stepper motors are 
from Automation Direct and are 425oz/in motors so they should have enough 
power. I am using new/old Superior stepper drivers but they drive the X2 mill 
just fine.

Any suggestions in where to go from here?

Thanks,
Alan

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


Re: [Emc-users] HTML Help

2021-03-05 Thread Alan Condit
Andy,

ASCII vs extended character sets. HTML will accept and use extended
character sets. We are probably only expecting ASCII.

Alan


> From: andy pugh 
> To: "Enhanced Machine Controller (EMC)" 
> Cc:
> Bcc:
> Date: Fri, 5 Mar 2021 16:00:03 +
> Subject: [Emc-users] HTML Help
> It has become evident that the online LinuxCNC docs in some cases (but
> not all) are displaying en-dashes in place of hyphens in HAL pin
> names.
>
> ie, what should be a 2D is an E2 88 92
>
> For example: http://linuxcnc.org/docs/2.8/html/man/man1/halui.1.html
>
> has: halui.tool.length−offset.a float out
> But should be: halui.tool.length-offset.a float out
>
> If I (and others) generate the HTML locally we get the correct output.
>
> Has anyone any idea what might be going on? It is more than just an
> æsthetic problem, it means that copy-pasted hal snippets don't work.
>
> --
> 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] 7i76 spindle speed control with Cyclotrol C150 Controller

2021-02-24 Thread Alan Condit
> From: "Peter C. Wallace" 
> Subject: Re: [Emc-users] 7i76 spindle speed control with Cyclotrol C150 
> Controller
> Date: February 23, 2021 at 11:01:44 AM CST
> To: Alan Condit 
> Cc: "Emc-users@lists.sourceforge.net" 
> 
> 
> On Tue, 23 Feb 2021, Alan Condit wrote:
> 
>> Date: Tue, 23 Feb 2021 10:53:26 -0600
>> From: Alan Condit 
>> To: "Emc-users@lists.sourceforge.net" ,
>>Wallace Peter C. 
>> Subject: 7i76 spindle speed control with Cyclotrol C150 Controller
>> 
>> PCW,
>> 
>> I am trying to use my 7i76 Mesa card�s spindle control to control the speed 
>> on my DanFoss Cyclotrol C150 controller. The manual says,
>> 
>>> "PROCESS CONTROL SIGNALS
>>> A 0-10v dc control signal input may be used by connecting process signal(+) 
>>> to SP2 and process(-) to SP3. With tachometer feedback, the motor speed 
>>> will track the process voltage to better than 1 % linearity. The input 
>>> impedance is approx. 50K ohms.
>>> Current process signals may be used with an additional resistor. A 1-5 mA 
>>> signal can be accommodated by shunting SP2 and SP3 with a 2.0K ohms, 1 /2 
>>> watt resistor; for 4-20 mA, use a 500 ohms , 1 /2 watt. Set the "P" switch 
>>> in the closed (up) position, to allow the Cycletrol 150 to operate with 
>>> current process signals.�
>> 
>>> OPEN SWITCHES (DOWN)
>>> "A�, �B�, �C�, �D"
>>> BASIC SPEED CONTROL
>>> Control RUNS/STOPS from a single input command.
>>> Closure on JOG puts Cycletrol into a RUN mode.
>>> Opening the JOG produces a STOP command.
>> 
>> 
>> 
>> 
>> I am not sure if SP1 should connect to Spindle+ or Spindle-. I am pretty 
>> sure SP2 should be SpindleOut. SP3 should connect to either Spindle- or 
>> Spindle+ which ever is left open after connecting SP1. Can anyone tell from 
>> the info I have furnished what the correct wiring should be. I am leaning 
>> towards Spindle- to SP3, SpindleOut to SP2 and Spindle+ to SP1. If I guess 
>> wrong will it damage the 7i76 board?
>> 
>> The full manual is at 
>> <https://www.grahammotorandcontrols.com/pdf/Cycletrol%20C150%20DC%20Instruction%20Manual.pdf
>>  
>> <https://www.grahammotorandcontrols.com/pdf/Cycletrol%20C150%20DC%20Instruction%20Manual.pdf>>
>> 
>> 
>> Thanks,
>> Alan
> 
> As long as the voltage at SP1 is less than 15V, (relative to SP3) you should 
> be OK with
> 
> SP1 --> SPIN+
> SP2 --> SPINOUT
> SP3 --> SPIN-
> 
> Peter Wallace
> Mesa Electronics
> 
> 
Peter,



I don’t know what was going on yesterday with the spindle brake. This morning  
I disconnected the SPINDLE ENA from the JOG and COM and reconnected the 
external switch in the original configuration and the spindle brake was working 
again. Then I reconnected the external switch in the same configuration as I 
had with the Mesa SPINDLE ENA pair and the spindle brake still worked. So I 
reconnected the SPINDLE ENA+ to JOG and the SPINDLE ENA- to COM(-) and the 
spindle brake continues to work. MYSTERY!

It seems to bring the spindle to a stop from 500rpm in about a quarter rotation 
of the spindle (the specs say a maximum of ¼ second delay).

So now I need to see if I can get a sample config from someone that monitors 
the spindle  rotation coming to 0 rpm before changing the spindle direction, 
before I install the relay to reverse the spindle direction.

Thanks,
Alan

> 
> ___
> 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] 7i76 spindle speed control with Cyclotrol C150 Controller

2021-02-23 Thread Alan Condit

PCW,

I am trying to use my 7i76 Mesa card’s spindle control to control the speed on 
my DanFoss Cyclotrol C150 controller. The manual says, 

> "PROCESS CONTROL SIGNALS
> A 0-10v dc control signal input may be used by connecting process signal(+) 
> to SP2 and process(-) to SP3. With tachometer feedback, the motor speed will 
> track the process voltage to better than 1 % linearity. The input impedance 
> is approx. 50K ohms.
> Current process signals may be used with an additional resistor. A 1-5 mA 
> signal can be accommodated by shunting SP2 and SP3 with a 2.0K ohms, 1 /2 
> watt resistor; for 4-20 mA, use a 500 ohms , 1 /2 watt. Set the "P" switch in 
> the closed (up) position, to allow the Cycletrol 150 to operate with current 
> process signals.” 

> OPEN SWITCHES (DOWN) 
> "A”, “B”, “C”, “D" 
> BASIC SPEED CONTROL 
> Control RUNS/STOPS from a single input command. 
> Closure on JOG puts Cycletrol into a RUN mode. 
> Opening the JOG produces a STOP command. 




I am not sure if SP1 should connect to Spindle+ or Spindle-. I am pretty sure 
SP2 should be SpindleOut. SP3 should connect to either Spindle- or Spindle+ 
which ever is left open after connecting SP1. Can anyone tell from the info I 
have furnished what the correct wiring should be. I am leaning towards Spindle- 
to SP3, SpindleOut to SP2 and Spindle+ to SP1. If I guess wrong will it damage 
the 7i76 board?

The full manual is at 
>


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


[Emc-users] PCB fabrication

2021-02-10 Thread Alan Condit
I am thinking about having a 2” x 4” PCB fabricated. I have used OSHPark in
the past but I seem to recall someone saying that there were cheaper
options available. I searched back through the emc-users threads but
couldn't find anything. Can anyone tell me what fabrication house they
would use?

Thanks,
Alan

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


Re: [Emc-users] Beaglebone and MachineKit

2020-12-12 Thread Alan Condit
Marcus,

Jon Elson (Pico-systems) sells the Cramps board designed by Charles
Steinkuehler that can run six Pololu stepper drives (like 35v 1 to 2 amps).
I designed a little PCB that can plug into three of the stepper driver
sockets to allow it to control 3 external drives. They are or were
available on OSHPark as CRAMPS-BOB3-a3.

Alan


> From: marcus.bow...@visible.eclipse.co.uk
> To: EnhancedController 
> Cc:
> Bcc:
> Date: Sat, 12 Dec 2020 19:38:12 +
> Subject: [Emc-users] Beaglebone and MachineKit
> John (or anyone else),
>
> Is there a 'cape' currently available to suit the Beaglebone Black
> running MachineKit or LinuxCNC?
> I know there used to be a cape specifically for that purpose, but it has
> been out of production for some time.
> I have a Beaglebone I would like to press into service running either
> LinuxCNC or MachineKit.
> Are images available for both?
>
> Marcus
>
>

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


[Emc-users] Probe with PCB piece

2020-11-16 Thread Alan Condit
Hi,

I want to set up to probe for workpiece height (tool length) with a piece of 
PCB  and a wire hooked to probe input and another piece of wire and an 
alligator clip wired to probe ground.  I would clip the alligator clamp to the 
tool and set the piece of PCB on top of the work surface. So, the circuit would 
close when the tool tip touched the PCB. However, when I read the instructions 
on G38.2 it talks about the switch opening. Can I invert the probe signal and 
use it for switch closing? 

Thanks,
Alan

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


[Emc-users] Limit switches for my lathe

2020-10-26 Thread Alan Condit
Hi all,

I am trying to wrap my head around limit switches for my Grizzly G4000 lathe 
that I have converted to CNC. 

The X limit switches are not a major problem. They always goes to the same 
spot. I have the X+ switch mounted. Figuring out where to mount the X- switch 
so it doesn’t interfere with anything else is a little tricky.

 I am having trouble figuring out the placement of the Z limit switch or 
switches. I can mount the Z+ limit switch on an adjustable mount on the ways 
down by the tailstock or even on the tailstock itself. But having a limit 
switch that is moveable seems problematic for configuration. The Z- limit 
switch could be attached to a moveable mount on the ways down by the head but 
it seems that it might be desirable to have the limit set to keep the 
cross-feed from running into whatever chuck is mounted. I have a 3” 4-jaw, a 4” 
3-jaw, a 5” 3-jaw and a 5” 4-jaw. So I might need a different config for every 
chuck. What do you guys think.

Alan

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


Re: [Emc-users] Emc-users Digest, Vol 174, Issue 64

2020-10-22 Thread Alan Condit
Andy,

Thank you very much. Because of the error message I was looking in the
wrong place. That fix got it to load successfully, and allowed me to debug
the problem and fix it.

Thanks again,
Alan


> From: andy pugh 
> To: "Enhanced Machine Controller (EMC)" 
> Cc:
> Bcc:
> Date: Thu, 22 Oct 2020 19:03:25 +0100
> Subject: Re: [Emc-users] Apparent changes in gcode in Linuxcnc 2.8.0
> On Wed, 21 Oct 2020 at 14:52, Alan Condit  wrote:
>
> > I have a bunch of wizards that I have written under 2.7 and under 2.8
> they won’t work. The biggest change is that you used to be able to write
> the subroutine declaration as O< CutBevel > SUB [1] [2] [3]  like a formal
> declaration of parameters. Now I have to go through and make all of them
> just comments like O SUB ([1] [2] [3]).
>
> Subroutines get parameters strictly by position, they just appear as #1,
> #2 etc. You can have a comment to document what they do, but I don't think
> anything has changed there
>
> The problem is actually line 76:
>
> G00 X0.0 Z[#Zcut]
>
> Should be
>
> G00 X0.0 Z[#]
>
> --
> atp
>
>

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


Re: [Emc-users] Apparent changes in gcode in Linuxcnc 2.8.0

2020-10-22 Thread Alan Condit
Andy,

I was looking more closely at the wizards. They date from around 2014. I have 
been using them up until about 2 years ago. I went through a bunch of them 
yesterday. The only change that I had to make to get them to work was get rid 
of the “formal declarations” and comments on the same line as the o. I 
don’t know strictly speaking if I had to change the comment. Then I took one of 
the working wizards and replaced the body of the subroutine with the code from 
my “bevel” wizard (plus a little editing to match variable names. I commented 
out the call to the subroutine and it would load. But when I uncommented the 
call to my subroutine it gave me the same error as before.

So the working wizard is LTurnEXT.ngc <https://pastebin.com/5Bds1Fwe>
The one that still won’t work is LBevelEXT.ngc <https://pastebin.com/cn2Zzh4E>
I am baffled as to what is wrong.

Alan

>> On Wed, 21 Oct 2020 at 14:52, Alan Condit  wrote:
>> 
>> I have a bunch of wizards that I have written under 2.7 and under 2.8 they 
>> won't work. The biggest change is that you used to be able to write the 
>> subroutine declaration as O SUB [1] [2] [3]
>> like a formal declaration of parameters. Now I have to go through and make 
>> all of them
>>  just comments like O SUB ([1] [2] [3]).
> 
> This doesn't sound right. As far as I know there has not been any
> change made in this regard.
> There hasn't been any change in the docs that describe how to call a sub.
> http://linuxcnc.org/docs/2.8/html/gcode/o-code.html#ocode:subroutines
> 
> atp


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


[Emc-users] Apparent changes in gcode in Linuxcnc 2.8.0

2020-10-21 Thread Alan Condit
I tried to send this earlier but it doesn’t appear to have gone through. So, 
here goes again.

I have a bunch of wizards that I have written under 2.7 and under 2.8 they 
won’t work. The biggest change is that you used to be able to write the 
subroutine declaration as O< CutBevel > SUB [1] [2] [3]  like a formal 
declaration of parameters. Now I have to go through and make all of them just 
comments like O SUB ([1] [2] [3]).

The following is a wizard I just modified that won’t load. It reports an 
unknown word where a unary operation could be at about line 99. Can anyone tell 
me what I did wrong?
Here is a link to CutBevel.ngc .

Alan


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


[Emc-users] 5i25/7i76 Power on sequence???

2020-10-15 Thread Alan Condit
Hello All,

I periodically try to start Linuxcnc without turning on my CNC controller. When 
I do I get the error message that indicates it is not finding the 7i76.  
However, when I turn on the controller before Linuxcnc is initialized my 
steppers growl until Linuxcnc is initialized. 

So, I have been thinking about putting a power relay in the controller that 
would not turn on the power to the stepper power transformer until after 
Linuxcnc initialized using some signal like “machine-is-on”. So I would turn on 
power to the controller box before starting Linuxcnc but that would only turn 
on the 24v field power. The 5v power to the 7i76 comes from the 5i25 board. 

The lathe spindle power is currently controlled by a relay activated by 
machine-is-on, but I would probably change that to spindle-enable.

Does this idea make any sense?

Alan

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


Re: [Emc-users] Error on loading 5i25/7i76

2020-10-11 Thread Alan Condit
Thanks all,

It wasn’t anything other than a senior brain fart. I had the parallel cable 
plugged into the pc’s parallel port instead of the 5i25. After I checked out 
the cable from the outside of the box to the 7i76 and found nothing wrong, I 
woke up in the middle of the night and realized what I had done wrong. Duh!!!

> From: andy pugh 
> Subject: Re: [Emc-users] Error on loading 5i25/7i76
> Date: October 9, 2020 at 5:02:32 PM CDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> On Fri, 9 Oct 2020 at 20:12, Alan Condit  wrote:
> 
>> I am trying to configure my 5i25/7i76 for my CNC Lathe.  I had a working 
>> configuration for 2.7.x but I may have lost it in our move from Oregon to 
>> Iowa. I took what I thought was the working configuration, I probably made a 
>> mistake. I upgraded to 2.8 without verifying the configuration.
>> 
>> I ran pcnconf on the configuration and now I am getting the following error 
>> when I try to start it up.
> 
> If you still have the old config files then they should still work.
> (LinuxCNC will make the required modifications to the INI and HAL
> automatically[1])
> 
> 
> [1] Has anyone heard any stories of that script not working? I was
> expecting a rash of failures and error reports.
> 
> -- 
> 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


Alan


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


Re: [Emc-users] Error on loading 5i25/7i76

2020-10-09 Thread Alan Condit
Here is a link to my hal file  and my ini file 
.
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Error on loading 5i25/7i76

2020-10-09 Thread Alan Condit
I am trying to configure my 5i25/7i76 for my CNC Lathe.  I had a working 
configuration for 2.7.x but I may have lost it in our move from Oregon to Iowa. 
I took what I thought was the working configuration, I probably made a mistake. 
I upgraded to 2.8 without verifying the configuration.

I ran pcnconf on the configuration and now I am getting the following error 
when I try to start it up.

Debug file information:
Note: Using POSIX realtime
./my_LinuxCNC_lathe.hal:38: Pin 'hm2_5i25.0.7i76.0.0.output-00' does not exist

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.8.0
Machine configuration directory is '/home/acondit/linuxcnc/configs/myCNCLathe'
Machine configuration file is 'myCNCLathe.ini'
INIFILE=/home/acondit/linuxcnc/configs/myCNCLathe/myCNCLathe.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XZ
KINEMATICS=trivkins coordinates=XZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./myCNCLathe.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at :03:02.0
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 006 (P3-04): IOPort
hm2/hm2_5i25.0: IO Pin 007 (P3-17): IOPort
hm2/hm2_5i25.0: IO Pin 008 (P3-05): IOPort
hm2/hm2_5i25.0: IO Pin 009 (P3-06): IOPort
hm2/hm2_5i25.0: IO Pin 010 (P3-07): IOPort
hm2/hm2_5i25.0: IO Pin 011 (P3-08): IOPort
hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0: IO Pin 014 (P3-11): Encoder #0, pin Index (Input)
hm2/hm2_5i25.0: IO Pin 015 (P3-12): Encoder #0, pin B (Input)
hm2/hm2_5i25.0: IO Pin 016 (P3-13): Encoder #0, pin A (Input)
hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at :03:02.0
hm2_5i25.0: dropping AnyIO board at :03:02.0
hm2/hm2_5i25.0: unregistered
hm2_pci: driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
./myCNCLathe.hal:38: Pin 'hm2_5i25.0.7i76.0.0.output-00' does not exist
3109
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7f75bc6b4000
Note: Using POSIX realtime

I tried to attach my pncconf file but it was too large.
Thanks,
Alan



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


Re: [Emc-users] cnc axis "Touch Off"

2020-09-11 Thread Alan Condit
Jon,

I wrote a bunch of wizards for my mill and my lathe. I use one coordinate 
system for the origin of the main part and a different origin for each each 
wizard as it is called so that the wizard works with respect to the/an origin. 
It makes the math in the wizard much simpler, especially when you are doing 
something like rotating a rectangle.

Alan

> From: Jon Elson 
> Subject: Re: [Emc-users] cnc axis "Touch Off"
> Date: September 10, 2020 at 9:04:23 PM CDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> On 09/10/2020 08:28 PM, R C wrote:
>> I figured out the "touch off", and that it 'works' the same as homing, 
>> functionally.
>> 
>> 
>> I wondered what all the different coordinate systems are for, their 
>> differnces.
>> 
>> (I know what a coordinat system is, mathematician here.)
> This allows you to set up an offset from a main coordinate system, for 
> instance if you have several identical features to be machined on a part, one 
> hunk of G-code could machine each part and then set up the offset to machine 
> the next instance.
> 
> It can also be used if you have several parts mounted in a fixture, one coord 
> system for each part.
> 
> Jon


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


Re: [Emc-users] LinuxCNC 2.8.0 is released

2020-09-10 Thread Alan Condit
Andy,
Thanks for all the hard work on the release of LinuxCNC 2.8.0. It seemed at 
times that it was never going to happen. So many other changes intervening: EOL 
for Wheezy, introduction of new linux versions, almost cessation of work on 
RTAI, introduction of RT Preempt, etc. I felt your frustration at times but you 
hung in there. Once again, thanks to you and all the others who worked on it.
Alan




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


Re: [Emc-users] Open source CNC architecture (Jon Elson)

2020-02-04 Thread Alan Condit
Jon,

How about run Mesa 7i76e?

Alan

> From: Jon Elson 
> Subject: Re: [Emc-users] Open source CNC architecture
> Date: February 4, 2020 at 8:11:41 AM PST
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> On 02/04/2020 09:17 AM, andy pugh wrote:
>> On Tue, 4 Feb 2020 at 15:20, Stuart Stevenson  wrote:
>> 
>>> Aside from the stress and consternation in the LinuxCNC world about the
>>> logo I like the new name a lot better.
>> Though it rather precludes a Mac port.
>> 
> Uhh, other than demo mode, I'm not sure what you could do on a Mac. The 
> outside world is
> reached through the USB, the only port on the darn thing, except WiFi, which 
> I'd be hesitant
> to use for machine tool control.
> 
> Jon


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


Re: [Emc-users] Real-time OS for machine controllers (Jon Elson)

2020-01-26 Thread Alan Condit
Jon,

Machinekit has done some very nice things. Where they fall down is they seem to 
have no stable release model. It seems that anybody can change anything and 
there is no fallback to a stable release.

I tried to build Machinekit for the RockPro64 and I ran into changes several 
months old that had broken the system but were undiscovered. The “developers” 
were running on their own systems that compiled and ran without testing the 
current branch. But, there was no way I could find for someone else to check 
out a system that compiled and ran.

Eventually I was able to fix the problems and compile, but, it left me 
wondering about the whole system.

Alan

> From: Jon Elson 
> Subject: Re: [Emc-users] Real-time OS for machine controllers
> Date: January 26, 2020 at 9:22:35 AM PST
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> On 01/26/2020 09:10 AM, andy pugh wrote:
>> On Sun, 26 Jan 2020 at 05:34, bari  wrote:
>> 
>>> I think NML is what turns off new developers.
>> Most will never need to touch it. I never have, and I have been pretty
>> deep inside LinuxCNC.
>> 
> NML has some inefficiencies, but does what is needed for single-node systems. 
>  The place it breaks down,
> and why the machinekit group worked to replace it, is that is becomes very 
> resource-intensive when
> you try to share the internal state of LinuxCNC across a network. This is 
> because the system state is
> a single unified chunk of memory.  The Machinekit folks used Zero MQ to make 
> it possible for remote
> processes to only receive the specific data structures they request, vastly 
> reducing network overhead.
> Their goal was to be able to make very complicated workcells with multiple 
> robots passing through shared
> 3D spaces without interference.
> 
> But, for a single 3-5 axis machine running ordinary G-code, NML still works 
> OK.
> 
> Jon


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


Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread Alan Condit
Chris,

I am just trying to figure out your idea? Who parses the gcode file? The $5
chip?
If you are running everything but the user interface on the $5 chip, it
sounds like headless lcnc to me.

If you are running 6 axis on the $5 chip then you have all the wiring
complexities that we have now. The $5 chip needs to connect to a breakout
board something
like that to protect the chip and it (the $5 chip) needs to be located
someplace where it is convenient to wire all the axises from. So other than
the difference in cost what does this $5 chip buy you?

Alan


> From: Chris Albertson 
> To: "Enhanced Machine Controller (EMC)" 
> Cc:
> Bcc:
> Date: Fri, 24 Jan 2020 21:56:18 -0800
> Subject: Re: [Emc-users] Real-time OS for machine controllers
> On Fri, Jan 24, 2020 at 8:29 PM Alan Condit  wrote:
>
> > Chris,
> >
> > If I send 1 steps to a smart X-axis controller, how does it stay in
> > sync with a smart
> > y-axis controller without someone controlling the synchronization between
> > the two?
> >
>
> As said, "steps" are the wrong thing to send.   What they do is send time,
> tagged points.  Each point has a time tag on it.It is not hard to
> synchronize clocks at the microsecond level.
>
> What they send is a list of target points.Assuming the machine works in
> (x, y, z) space each point, you have "time", (x, y, z) and (x', y', z') and
> (x'', y'', z'').   A machine might have more or fewer axis with different
> names, but same idea.   Each controller can handle up to some maximum
> number of axis and it wold not be until you are over that limit that you'd
> have to split things.  Doing six axis on one controller is reasonable.
>
> The controller tries its best to hit the target points.  It can happen that
> a target is impossible.  Also, some of ths data can be omitted.  Doing so
> wuld free the controller to do what it "wants".  I think you always want
> x,y,z but could maybe omit the prime (velocity) or double prime
> (acceleration)  This kind of path planning is what LinuxCNC already does,
> but today it is reasonable to push this down into a $5 chip.
>
> LinuxCNC is originally written used the exact oposite aproach and move all
> the "smarts" upstream into a PC.
>
> The non-real-time part has to read the g-code or the conversational
> interface or the hand pendant or video data and convert to a stream of
> target points.
>
> That said, "steps" could work if each one had a time tag.  But that pushes
> the planning upstream and I think the better plan is to move as much
> "smarts" as possible as close to the physical motor as possible.   So let
> the motor driver figure out what rate to drive each otor so the targets are
> reached.
>
>
>
> Alan
>
>

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


Re: [Emc-users] Real-time OS for machine controllers

2020-01-24 Thread Alan Condit
Chris,

If I send 1 steps to a smart X-axis controller, how does it stay in sync 
with a smart
y-axis controller without someone controlling the synchronization between the 
two?

Alan

> From: Chris Albertson 
> Subject: Re: [Emc-users] Real-time OS for machine controllers
> Date: January 24, 2020 at 9:48:27 AM PST
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> If you can tolerate latency, then your "hub" does not need what we call
> "hard" real-time capability.  It only needs to keep up with the average
> workload, averaged over whatever latency you can tolerate.  Video streaming
> works this way.They can't reliably send video and the 60 Hz frame rate
> so they buffer a few seconds of video on your phone and the real-time
> viewer lives on the phone  not the server.
> 
> g-code could be the same way.   The penalty is that when you press the "go"
> button the milling machine would take a few seconds the start working while
> the data buffers into the low-level motor controllers. Today a
> step/direction controller has no memory so it must be fed steps in real
> time.  But if it has a 10,000 step memory you could just transfer blocks
> ever half second and the controller would work down the queue."Steps"
> are the wrong kind of data for this but "states" are what is used.
> 
> You are correct in that some real-time ability is needed at every level.
> But we could design things so the requirements are VEY loose at the highest
> level for 0.5-second latencies being acceptable.   One you need only that,
> then even an iPhone is a good enough platform.
> 
> On Thu, Jan 23, 2020 at 11:32 AM Peter C. Wallace  wrote:
> 
>> On Thu, 23 Jan 2020, Chris Albertson wrote:
>> 
>>> Date: Thu, 23 Jan 2020 10:17:44 -0800
>>> From: Chris Albertson 
>>> Reply-To: "Enhanced Machine Controller (EMC)"
>>>
>>> To: "Enhanced Machine Controller (EMC)" >> 
>>> Subject: Re: [Emc-users] Real-time OS for machine controllers
>>> 
>>> The trouble with the Mesa FPGA design is that it depends on a computer
>> with
>>> good real-time performance.   It can generate steps but I don't thing you
>>> can run a position or velocity PID control loop on the FPGA.
>> 
>> LinuxCNCs design paradigm requires realtime, this is a design decision
>> that is
>> supported by our Hostmot2 real time firmware. We have other firmware that
>> implements motion in the FPGA but this is not suited to LinuxCNCs model.
>> 
>> 
>> You might argue that its an old fashioned model but many high performance
>> CNC
>> systems and Robotics controllers use LinuxCNCs model of a capable real
>> time host
>> (real OS with file I/O loadable modules, unlimited memory, massive
>> floating
>> point performance etc etc) Some of these use Linux and others use real
>> time
>> windows varients often with Ethercat Peripherals. This makes for a
>> powerful
>> extensible realtime toolkit (like LinuxCNCs HAL) and complex realtime
>> responsive coordinated motion. Basically for this type of system you still
>> need a very capable real time controller hub even if the motor controllers
>> implement torque, velocity, or position loops
>> 
>> 
>> Peter Wallace
>> Mesa Electronics
>> 
>> 
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
> 
> 
> -- 
> 
> Chris Albertson
> Redondo Beach, California


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


Re: [Emc-users] sorting an rpi4 for an rt kernel

2019-09-21 Thread Alan Condit
Gene,

What is wayland?

Alan


> From: Gene Heskett 
> To: emc-users@lists.sourceforge.net
> Cc:
> Bcc:
> Date: Sat, 21 Sep 2019 10:15:15 -0400
> Subject: Re: [Emc-users] sorting an rpi4 for an rt kernel
> On Friday 20 September 2019 19:45:35 Gene Heskett wrote:
>
> Looks like wayland has struck, this is:
> cat /etc/debian_version (new way of determining version)
> 10.1
>
> Thanks all.
>
> 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


Re: [Emc-users] sorting an rpi4 for an rt kernel

2019-09-20 Thread Alan Condit
Gene,

I found a kernel patched version 4.19.59-rt23-v7l+ for Raspberry Pi 4B at 
https://github.com/lemariva/RT-Tools-RPi/commit/59f477d637b8dfc3082a1163e76e09e72fd87379
 
.
 You could try it and maybe not even have to build the kernel.

Alan

> On Sep 20, 2019, at 2:54 PM, emc-users-requ...@lists.sourceforge.net wrote:
> 
> Send Emc-users mailing list submissions to
>   emc-users@lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   https://lists.sourceforge.net/lists/listinfo/emc-users
> or, via email, send a message with subject or body 'help' to
>   emc-users-requ...@lists.sourceforge.net
> 
> You can reach the person managing the list at
>   emc-users-ow...@lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Emc-users digest..."
> Today's Topics:
> 
>   1. Re: MESA 7i92H Power (John Dammeyer)
>   2. Re: MESA 7i92H Power (Peter C. Wallace)
>   3. sorting an rpi4 for an rt kernel (Gene Heskett)
>   4. Re: sorting an rpi4 for an rt kernel (Gene Heskett)
>   5. Re: MESA 7i92H Power (John Dammeyer)
> 
> From: "John Dammeyer" 
> Subject: Re: [Emc-users] MESA 7i92H Power
> Date: September 20, 2019 at 12:47:53 PM PDT
> To: "'Enhanced Machine Controller \(EMC\)'" 
> 
> 
>>> And Peter, you stated previously that it's more versatile to not use a pin
>>> file with the PWM DIR allocated.  So which is it?
>> 
>> It is better (because if you dont want the pin to be spindle
>> DIR you have no choice if you enable PWM but if its plain GPIO
>> it can funtion ad DIR or just a normal output)
>> but you do need PWM on the proper pin
>> 
>> What breakout do you have and where is its PWM pin?
>> 
>> (The PMDX126 has PWM on pin 16 not 14 )
> 
> Exactly.  As I've said a number of times now, I have a PMDX-126.  I've been 
> asking to have the PWM moved from pin 14 to pin 16 now for the last couple of 
> days.  You've said you have a pin/bin file for the PMDX-126.  I've asked if 
> it could be emailed to me.  Since that product is out there it seems to make 
> sense to me that it be included in the 7i92.zip file.
> 
> Thank you
> 
> John
> 
>> 
>>> 
>>> John
> 
> 
> 
> 
> 
> 
> From: "Peter C. Wallace" 
> Subject: Re: [Emc-users] MESA 7i92H Power
> Date: September 20, 2019 at 1:47:14 PM PDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> On Fri, 20 Sep 2019, John Dammeyer wrote:
> 
>> Date: Fri, 20 Sep 2019 12:47:53 -0700
>> From: John Dammeyer 
>> Reply-To: "Enhanced Machine Controller (EMC)"
>>
>> To: "'Enhanced Machine Controller (EMC)'" 
>> Subject: Re: [Emc-users] MESA 7i92H Power
 And Peter, you stated previously that it's more versatile to not use a pin
 file with the PWM DIR allocated.  So which is it?
>>> 
>>> It is better (because if you dont want the pin to be spindle
>>> DIR you have no choice if you enable PWM but if its plain GPIO
>>> it can funtion ad DIR or just a normal output)
>>> but you do need PWM on the proper pin
>>> 
>>> What breakout do you have and where is its PWM pin?
>>> 
>>> (The PMDX126 has PWM on pin 16 not 14 )
>> 
>> Exactly.  As I've said a number of times now, I have a PMDX-126.  I've been 
>> asking to have the PWM moved from pin 14 to pin 16 now for the last couple 
>> of days.  You've said you have a pin/bin file for the PMDX-126.  I've asked 
>> if it could be emailed to me.  Since that product is out there it seems to 
>> make sense to me that it be included in the 7i92.zip file.
>> 
>> Thank you
>> 
>> John
> 
> http://freeby.mesanet.com/7i92_pmdx126.zip
> 
> 
>> 
>>> 
 
 John
>> 
>> 
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
> 
> Peter Wallace
> Mesa Electronics
> 
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
> 
> 
> 
> 
> 
> 
> From: Gene Heskett 
> Subject: [Emc-users] sorting an rpi4 for an rt kernel
> Date: September 20, 2019 at 2:03:06 PM PDT
> To: "'Enhanced Machine Controller (EMC)'" 
> 
> 
> I have the mesa stuff running, as in full screen glxgears is >50 fps,
> I think I am ready to tackle the next step in making linuxcnc run on a 
> rpi4, which is building it a realtime kernel.
> 
> So, Following along with the kernel-building page from the raspian site:
> 
> #>sudo apt install bc bison flex libssl-dev
> No errors.
> modify the git command to git the latest kernel that uname says it is:
> #>sudo git clone --depth=1 https://github.com/raspberrypi/linux -b 
> rpi-4.19.y-rt
> #>sudo chown -R pi:pi linux
> #>cd linux
> #>make bcm2711_defconfig
> no errors
> skip to rpi-4 instructions; but do a make menuconfig first to check stuff
> Trouble, needs  ncurses-devel or libncurses-dev:
> * Unable to find the ncurses package.
> * Install ncurses 

Re: [Emc-users] Atomic pi

2019-06-10 Thread Alan Condit
I finally got Stretch 9 running on the atomic pi. I agree with Wallace that the 
 forum is pretty poor. The only help I got was from another Linuxcnc user. So, 
thank you Robert Murphy (I guess not of Murphy’s law fame).

I have Synaptic running on it on Stretch. I couldn’t get Synaptic to run on the 
Lubuntu that they ship on it. 

The 16gb emmc is too small to load the necessary files to compile and link 
linuxcnc. Maybe I loaded some unnecessary stuff???

It was a real battle to get Grub set up correctly to boot with multiple disks 
attached, but I finally used rEFInd and was able to get Grub to boot correctly 
with a 64gb uSD and a 240gb SSD. I then compiled linux-4.19.37-rt20 and 
linuxcnc, but I ended up installing linuxcnc master. 

I also dislike the fact that when you push the reset button it also resets the 
date and time on the rtc. It also resets it to search for PXE net boot. 

Whether I use the api or the RockPro64 is sort of a toss up at the moment. I am 
planning to run a 7i76e and the question is whether I can get the RockPro64 to 
support Real-Time ethernet.

Alan

> From: "Marshland Engineering" 
> Subject: Re: [Emc-users] Atomic pi
> Date: June 7, 2019 at 2:18:05 PM PDT
> To: emc-users@lists.sourceforge.net
> Reply-To: marshl...@marshland.co.nz
> 
> 
> I bought one and was really disappointed. Forum is poor, Synaptic Package
> manager does not work. Pop-Os was suggested but that too hiccuped. May just
> use it as an internal server if I can get anything to run on it. No one seems
> to have Windows running too well on it.  
> 
> Raspberry Pi is a much better bet. 
> 
> Cheers Wallace.

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


Re: [Emc-users] Atomic pi

2019-05-17 Thread Alan Condit
Well I received a fedex tracking number that says they shipped my AtomicPi 
order on the 15th. In 2 days it made it from San Jose, to Troutdale, OR, about 
35-40 miles from home. They say it should arrive home on Tuesday the 21st. So 2 
days to make it most of the way and 4 more days to cover the last 40 miles. :-)

The website now shows $45 for the AtomicPi and $119 for the “Full Developers 
Kit”. We’ll soon see if it is worth the shekels.

Alan

> On May 14, 2019, at 4:55 PM, Alan Condit  wrote:
> 
> Chris and Gene,
> 
> I just went to the dlidirect.com <http://dlidirect.com/> website and clicked 
> on the “Full Developer Kit” pull down, it showed out of stock when I looked 
> but while I was on the page looking I got a invitation to chat box. I asked 
> whether you could order the developers kit through the website or if you had 
> to buy it through Amazon. The chat person said give me a call and posted 
> their phone number. They said they had a limited number of developer kits in 
> stock but the price was now $119 plus $20 shipping. So, I placed an order and 
> was told that it will ship tomorrow.
> 
> Assuming that I didn’t get scammed, I should have it in a few days.
> 
> Alan
> 
>> From: Chris Albertson > <mailto:albertson.ch...@gmail.com>>
>> Subject: Re: [Emc-users] Atomic pi
>> Date: May 13, 2019 at 9:58:57 PM PDT
>> To: "Enhanced Machine Controller (EMC)" > <mailto:emc-users@lists.sourceforge.net>>
>> 
>> 
>> I looked at their web site.  About $108 for the full developer kit but you
>> get two units, the pwr supply, and a camera.   It's a fantastic deal but
>> they are sold out.  They say "restocking now" and to buy them on Amazon.
>> 
>> $108 for two is a great deal.
>> 
>> On Mon, May 13, 2019 at 9:21 PM Gene Heskett > <mailto:ghesk...@shentel.net>> wrote:
>> 
>>> On Monday 13 May 2019 11:43:56 pm jeremy youngs wrote:
>>> 
>>>> https://dlidirect.com/products/atomic-pi?fbclid=IwAR0k6hdGM6u1RJSVNLPn 
>>>> <https://dlidirect.com/products/atomic-pi?fbclid=IwAR0k6hdGM6u1RJSVNLPn>
>>>> kMxKnkg6CfnWs1szLEF9zhEj2YDZB0Z_PaWxVpQ
>>>> 
>>>> Any trying this ?
>>>> 
>>> Not yet, sure looks interesting though. What does the whole kit, bob and
>>> pdu shown cost?
>>> 
>>> Maybe it could be our next D525MW but with an spi interface to a 7i90HD?
>>> 
>>> 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)
>>> Genes Web page <http://geneslinuxbox.net:6309/gene 
>>> <http://geneslinuxbox.net:6309/gene>>


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


Re: [Emc-users] Atomic pi

2019-05-14 Thread Alan Condit
Chris and Gene,

I just went to the dlidirect.com  website and clicked on 
the “Full Developer Kit” pull down, it showed out of stock when I looked but 
while I was on the page looking I got a invitation to chat box. I asked whether 
you could order the developers kit through the website or if you had to buy it 
through Amazon. The chat person said give me a call and posted their phone 
number. They said they had a limited number of developer kits in stock but the 
price was now $119 plus $20 shipping. So, I placed an order and was told that 
it will ship tomorrow.

Assuming that I didn’t get scammed, I should have it in a few days.

Alan

> From: Chris Albertson 
> Subject: Re: [Emc-users] Atomic pi
> Date: May 13, 2019 at 9:58:57 PM PDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> I looked at their web site.  About $108 for the full developer kit but you
> get two units, the pwr supply, and a camera.   It's a fantastic deal but
> they are sold out.  They say "restocking now" and to buy them on Amazon.
> 
> $108 for two is a great deal.
> 
> On Mon, May 13, 2019 at 9:21 PM Gene Heskett  wrote:
> 
>> On Monday 13 May 2019 11:43:56 pm jeremy youngs wrote:
>> 
>>> https://dlidirect.com/products/atomic-pi?fbclid=IwAR0k6hdGM6u1RJSVNLPn
>>> kMxKnkg6CfnWs1szLEF9zhEj2YDZB0Z_PaWxVpQ
>>> 
>>> Any trying this ?
>>> 
>> Not yet, sure looks interesting though. What does the whole kit, bob and
>> pdu shown cost?
>> 
>> Maybe it could be our next D525MW but with an spi interface to a 7i90HD?
>> 
>> 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)
>> Genes Web page 

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


Re: [Emc-users] Rockpro64 arrived

2019-04-26 Thread Alan Condit
Hello Tom,

I downloaded the cyclictest suite and ran it several times. The average latency 
is 3 microseconds. Running it via ssh the max was 45 or 48 until I logged from 
a wireless keyboard and the HDMI video. I started X and LXQT during that 
startup, the max went to 58.

I just started it again with the -h option to produce a histogram, now the max 
is 62 and the average is 4.

Alan



> From: TJoseph Powderly 
> Subject: Re: [Emc-users] Rockpro64 arrived
> Date: April 25, 2019 at 9:07:16 PM PDT
> To: emc-users@lists.sourceforge.net
> 
> 
> Hello Alan
> 
> On 04/26/2019 11:02 AM, Alan Condit wrote:
>> I downloaded the Arabian Stretch nightly image 
>> Armbian_5.83.190424_Rockpro64_Debian_stretch_dev_5.0.0.7z 
>> <https://dl.armbian.com/rockpro64/nightly/Armbian_5.83.190424_Rockpro64_Debian_stretch_dev_5.0.0.7z>.
>>  It is running the 5.0.0 kernel (as patched by Armbian. When I ran 
>> menuconfig, I had to figure out how to select the full RT preempt. Then I 
>> built the linux-stable-rt-4.19.31-rt18 kernel and installed it. At the end 
>> of the install the Image link was still pointing to the 5.0.0 kernel but the 
>> Initrd link was pointing to the initrd-linux-stable-rt-4.19.31-rt18. So I 
>> tried booting it up and it booted the 5.0.0 image, then I went into /boot, 
>> deleted the Image link and created a new symbolic link to 4.19.31-rt kernel. 
>> Then I tried booting again and it worked. I typed uname -a and it reported 
>> the 4.19.31 kernel with full SMP Preempt RT. So, Gene, you could do the same 
>> thing for your Rock64 but you need to download the Armbian image for the 
>> Rock64 rather than the RockPro64. Don’t ask how I know!!! I compiled the 
>> kernel on the RockPro64. I started about 8:00p.m. and it finished sometime 
>> after 2:00a.m. and before 7:00a.m. Alan 
> please, latency test says what?
> tomp


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


Re: [Emc-users] Rockpro64 arrived

2019-04-25 Thread Alan Condit
I downloaded the Arabian Stretch nightly image 
Armbian_5.83.190424_Rockpro64_Debian_stretch_dev_5.0.0.7z 
<https://dl.armbian.com/rockpro64/nightly/Armbian_5.83.190424_Rockpro64_Debian_stretch_dev_5.0.0.7z>.
 It is running the 5.0.0 kernel (as patched by Armbian. When I ran menuconfig, 
I had to figure out how to select the full RT preempt. Then I built the 
linux-stable-rt-4.19.31-rt18 kernel and installed it. At the end of the install 
the Image link was still pointing to the 5.0.0 kernel but the Initrd link was 
pointing to the initrd-linux-stable-rt-4.19.31-rt18. So I tried booting it up 
and it booted the 5.0.0 image, then I went into /boot, deleted the Image link 
and created a new symbolic link to 4.19.31-rt kernel. Then I tried booting 
again and it worked. I typed uname -a and it reported the 4.19.31 kernel with 
full SMP Preempt RT.

So, Gene, you could do the same thing for your Rock64 but you need to download 
the Armbian image for the Rock64 rather than the RockPro64. Don’t ask how I 
know!!!

I compiled the kernel on the RockPro64. I started about 8:00p.m. and it 
finished sometime after 2:00a.m. and before 7:00a.m.

Alan

> From: Alan Condit 
> Subject: Re: [Emc-users] Rockpro64 arrived
> Date: April 16, 2019 at 8:15:44 AM PDT
> To: bari , "Emc-users@lists.sourceforge.net" 
> 
> 
> 
> Bari,
> 
> I looked at the link that you posted and discovered that they also had this 
> kernel
> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v4.19-rt
>  
> <https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v4.19-rt>
> so, I will try it.
> 
> Thanks,
> Alan
> 


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


Re: [Emc-users] Rockpro64 arrived

2019-04-16 Thread Alan Condit
Bari,

I looked at the link that you posted and discovered that they also had this 
kernel
https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v4.19-rt
 
<https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v4.19-rt>
so, I will try it.

Thanks,
Alan

> On Apr 15, 2019, at 8:02 PM, bari  wrote:
> 
> As mentioned on the dev list before does anyone even read
> this stuff?
> 
> I would just use this:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v4.14-rt
> 
> On 4/15/19 6:38 PM, Alan Condit wrote:
>> My RockPro64 from Pine64 arrived about a half-hour ago. I have burned a 
>> system for it and have it booting from  Stretch. 
>> 
>> Next step is to get the development software loaded and try to build a 
>> preempt-rt kernel. I have the sources both kernel sources and preempt_rt 
>> patches for both 4.19.31 and 5.0.7. Can anyone give me a hint as to which 
>> one to try first?
>> 
>> RockPro64 is now in the list of supported processors.  I wonder what that 
>> means in terms of getting it to run preempt_rt?
>> 
>> Alan
>> 
>> ___
>> 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] Rockpro64 arrived

2019-04-15 Thread Alan Condit
Bari,

The problem with 4.14 is that the RockPro64 was only added to the list of 
supported processors very recently. So I don’t think that 4.14 has support for 
many of the features of the RockPro64. 

One of the main developers on the Pine64 boards A64, Rock64 and RockPro64 
basically was still working on 4.4.174 until the last couple of weeks and has 
now jumped to 5.0.0. Armbian also went from 4.4 to 5.0.

Alan

> On Apr 15, 2019, at 8:02 PM, bari  wrote:
> 
> As mentioned on the dev list before does anyone even read
> this stuff?
> 
> I would just use this:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v4.14-rt
> 
> On 4/15/19 6:38 PM, Alan Condit wrote:
>> My RockPro64 from Pine64 arrived about a half-hour ago. I have burned a 
>> system for it and have it booting from  Stretch. 
>> 
>> Next step is to get the development software loaded and try to build a 
>> preempt-rt kernel. I have the sources both kernel sources and preempt_rt 
>> patches for both 4.19.31 and 5.0.7. Can anyone give me a hint as to which 
>> one to try first?
>> 
>> RockPro64 is now in the list of supported processors.  I wonder what that 
>> means in terms of getting it to run preempt_rt?
>> 
>> Alan
>> 
>> ___
>> 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] Rockpro64 arrived

2019-04-15 Thread Alan Condit
My RockPro64 from Pine64 arrived about a half-hour ago. I have burned a system 
for it and have it booting from  Stretch. 

Next step is to get the development software loaded and try to build a 
preempt-rt kernel. I have the sources both kernel sources and preempt_rt 
patches for both 4.19.31 and 5.0.7. Can anyone give me a hint as to which one 
to try first?

RockPro64 is now in the list of supported processors.  I wonder what that means 
in terms of getting it to run preempt_rt?

Alan

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


Re: [Emc-users] Posting order

2019-04-08 Thread Alan Condit
Thank you,

> From: Dave Cole 
> Subject: Re: [Emc-users] Posting order
> Date: April 8, 2019 at 6:23:20 AM PDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> I read through 4 or 5 email lists on almost  a daily basis.  And I read 
> through messages which are top posted, bottom posted, and sometimes even 
> MIDDLE POSTED (and replicated !  :-) ),   yet I still get by  and all 
> without going crazy, drinking excessively, etc.
> 
> So this is my take:Thanks to everyone who has been gracious enough to 
> respond to "anything" I write !!!:-)
> 
> You can top post, bottom post, middle post, split a middle post across 
> multiple parts, encode your reply in javascript I really don't care.
> 
> If you are willing to take the time to reply, I'm willing to read what you 
> write.  :-)

David Cole — thank you,

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


Re: [Emc-users] Rock64 pre-orders on Banggood.

2019-03-27 Thread Alan Condit
I pulled the trigger on a RockPro64 4gb this morning. The RockPro64 has the Mali
T860 gpu (supports OpenGL 3.2).

I have a Pine64 A64+ 2gb. Just a couple of days ago, I built a preempt_rt 
kernel 
for it running on armbian Stretch.

I cloned the raspberrypi/linux repository (it had the latest good arm sources).
I downloaded the source for 4.19.25, I downloaded the patches 4.19.25 from 
kernel.org . 
At that time the latest patches for 4.19.y was 4.19.27. and applied the 
corresponding 
preempt_rt patch for it. I used the make menuconfig option. 
Now just a few days later the latest patches are for 4.19.31. They are working 
very hard
to integrate preempt_rt into mainstream.

Pine64’s A64+, Rock64 and RockPro64 are hardware options in the menuconfig. So 
far,
I have had no problems that I can trace to the kernel.

When my RockPro64 arrives I will try to build the preempt_rt kernel for it.

Alan

> From: TJoseph Powderly 
> Subject: Re: [Emc-users] Rock64 pre-orders on Banggood.
> Date: March 27, 2019 at 5:00:55 AM PDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> for those interested because of 2nd ethernet
> 
> this maybe useful:
> 
> a pinout of the header used
> and small discussion of the needed isolation trafo 'magjack'
> 
> https://forum.pine64.org/showthread.php?tid=4898
> 
> 
> also, re rt-preempt 64 bit on it...
>  i see dev 'schooner' has done this
> " |root@pine64:~# uname -a
> 
> Linux pine64 4.9.6-rt4-p64-73261-g5fb7565 #2 SMP PREEMPT RT Wed Feb 8 
> 07:45:02 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux"
> 
> see end of thread at
> https://forum.pine64.org/showthread.php?tid=394=5|
> 
> hth
> tomp
> 
> i find it amusing that the header naming and advertising suggest this is pi5 
> compatible
> 
> 
> 
> ___
> 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] Rock64 pre-orders on Banggood.

2019-03-26 Thread Alan Condit
Erik,

Banggood is only one of the places selling the rock64. Look at Pine64’s
website and google “rock64 stretch”
There is an Armbian Stretch image available for download.

Ala

From: Erik Christiansen 
> To: emc-users@lists.sourceforge.net
> Cc:
> Bcc:
> Date: Tue, 26 Mar 2019 17:21:30 +1100
> Subject: Re: [Emc-users] Rock64 pre-orders on Banggood.
> On 26.03.19 02:08, andy pugh wrote:
> > Most of them seem to need a kernel specifically patched for the
> > hardware, though. So you need (for example) the Udoo-patched kernel
> > then need to apply Xenomia / RTAI / Preempt-RT on top of that.
> > And often the fit is not exact.
>
> Thought I'd order one, until seeing I'd have to run Android, as there's
> explicitly no support for GNU Linux. (My Udoo X86 has, after a rather
> short life, started checkerboarding the video after a few minutes
> running, then crashing. I wonder if it's due to cheap supply bypass
> caps, i.e. not low ESR?. That'd be fixable when I have time.)
>
> Looks like I'll have to keep looking for a cheap video streamer for
> viewing news clips and some old Sci-Fi episodes I have on a hard drive -
> still unviewed, sadly.
>
> > One kernel to suit every SBC? I don't think that is even possible
> without RT.
>
> When porting Linux to a new board, you're up for writing or borrowing
> drivers for the BSP (Board Support Package) (= HAL in other lingo). I've
> only started on that once, and never carried it through to completion.
>
> Erik
>
>

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


Re: [Emc-users] EDA Software (Was: ConFusion 360)

2019-03-23 Thread Alan Condit
Gregg,

This isn’t exactly what you were asking for, but it might work. CRAMPS-BOB3-a3 
 It is for the CRAMPS board. 
Instead of the step/dir/common pins going to a Polulu board, the are shipped 
over to the output connector on the CRAMPS board. So you can use the pin header 
to run on off board drive. If you are interested I can send you the schematic 
for the board. If the link above doesn’t work, here is the URL 


Alan

> From: Gregg Eshelman 
> Subject: Re: [Emc-users] EDA Software (Was: ConFusion 360)
> Date: March 23, 2019 at 4:32:59 PM PDT
> To: "Enhanced Machine Controller (EMC)" 
> 
> 
> What I've been wanting someone to make are screw terminal breakout boards for 
> Pololu or StepStick sockets so that Step, Dir, Enable etc connections can be 
> made to bigger external motor drivers from a CRAMPS, RAMPS and any other 
> small control board made for use with those little drivers.
>On Saturday, March 23, 2019, 3:39:54 PM MDT, andy pugh 
>  wrote:  
> 
> On Sat, 23 Mar 2019 at 21:32, Jon Elson  wrote:
> 
>> I inherited the CRAMPS board from Charles Steinkuehler,
>> which he designed in Kicad.  While Kicad is not quite up to
>> the level of Protel99, it definitely is getting close.
> 
> The STMBL project uses KiCAD. (Though they started with Eagle I think)
> As far as I know there haven't been any KiCAD-caused problems, but my
> involvement is fairly peripheral.
> 
> (f you don't know, STMBL is pretty much the perfect retrofit brushless
> servo drive, as it will accept nearly any type of motor feedback and
> can drive both brushless PM and induction motors. It talks Mesa
> smart-serial for an all-digital command and feedback loop, but can
> also work with step-dir, RS232 etc)  
> 


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


Re: [Emc-users] Mali Drivers are Open Source Now

2019-03-14 Thread Alan Condit
Gene,

I just completed building Linux-4.19.25-rt16 (PREEMPT_RT) for the Pine64 A64+. 
It was relatively speaking a piece of cake. They are now using the mainline 
kernel for the Pine64 A64+. So it was just download the mainline kernel sources 
for 4.19.25 and the Preempt_rt patches, apply them, make the oldconfig then 
make menuconfig. Setup preempt_rt and compile. The biggest problem was figuring 
out what commands to use with the Makefile and the install commands. The 
directories that others have used seem to have changed. So insuring that I 
created the appropriate symbolic links was a little worrisome.  But once I had 
it all set up, it booted correctly the very first time.  I ran cyclictest and 
it reported an average latency of about 8uS, with a worst case of about 63uS. 

I don’t have a Rock64 or a RockPro64 yet but my guess is that it wouldn’t be 
too difficult either. My understanding is that they now both use the mainline 
kernel. Once I can build a preempt_rt kernel for the RockPro64, I’ll let you 
know what is involved.

My understanding is that the Mali drivers are/were a work-in-progress. I don’t 
know where they are in terms of current usability.

Alan

> From: Gene Heskett 
> Subject: Re: [Emc-users] Mali Drivers are Open Source Now
> Date: March 9, 2019 at 4:05:07 PM PST
> To: emc-users@lists.sourceforge.net
> 
> 
> On Saturday 09 March 2019 15:45:57 bari wrote:
> 
>> http://linux-sunxi.org/Mali
>> 
>> This is good news if you want a totally open source system using many
>> of the Allwinner or Rockchop multicore ARM SOC's for Linuxcnc.
>> 
>> Needs no funny binary blob like the Rpi for boot ot GPU.
>> 
>> -Bari
>> 
> Typical, too little, too late. The rock64 is probably sold out 6 months 
> ago, and the rockchip-pro has replaced it. But haveing bought the 
> rochchip koolaid, I'll not waste any more $ until they are willing to 
> release some of the build tools.  But so far, those have been top secret 
> and apparently proprietary, questions ignored, so I've not been able to 
> do anything with what acts like a fine & 20x speedier rpi3, with 4GB of 
> ram for 10 bucks more than the rpi kit.  So now its me with the wait and 
> see attitude.
> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> 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)
> Genes Web page 


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


Re: [Emc-users] Emc-users Digest, Vol 155, Issue 37

2019-03-09 Thread Alan Condit
Gene,

Pine64 says Rock64 available LTS until 2022. So, the RockPro64 hasn’t replaced 
it, just supplemented it. Even
the A64+ that I bought is still available, although there is an upgraded A64+ 
LTS available for $3 more, so why would you buy it. I still like the feature 
set of the RockPro64, I am just not sure I can find a working preempt_rt kernel 
for it.

Alan

> From: Gene Heskett 
> Subject: Re: [Emc-users] Mali Drivers are Open Source Now
> Date: March 9, 2019 at 4:05:07 PM PST
> To: emc-users@lists.sourceforge.net
> 
> 
> On Saturday 09 March 2019 15:45:57 bari wrote:
> 
>> http://linux-sunxi.org/Mali
>> 
>> This is good news if you want a totally open source system using many
>> of the Allwinner or Rockchop multicore ARM SOC's for Linuxcnc.
>> 
>> Needs no funny binary blob like the Rpi for boot ot GPU.
>> 
>> -Bari
>> 
> Typical, too little, too late. The rock64 is probably sold out 6 months 
> ago, and the rockchip-pro has replaced it. But haveing bought the 
> rochchip koolaid, I'll not waste any more $ until they are willing to 
> release some of the build tools.  But so far, those have been top secret 
> and apparently proprietary, questions ignored, so I've not been able to 
> do anything with what acts like a fine & 20x speedier rpi3, with 4GB of 
> ram for 10 bucks more than the rpi kit.  So now its me with the wait and 
> see attitude.
> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> 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)
> Genes Web page 


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


[Emc-users] 5I25-7i76 encoder output

2018-10-27 Thread Alan Condit
I have a homemade encoder on my lathe spindle. I am feeding the encoder outputs 
into the encoder spindle inputs on the 7I76. The reported rpm seems to be 
fluctuating wildly. I want to look at the signals to see if the width of the 
signals is about the same for the index on time and for channel A and B on and 
off times. Is it possible to look at the encoder signals with hal scope? Or do 
I need to drag my oscilloscope out to the shop. I don’t see the pins in the hal 
file.

Am I even thinking about this correctly?

Alan

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


Re: [Emc-users] PPMC.ini, Help with my math

2013-02-24 Thread Alan Condit

On Feb 24, 2013, at 2:54 AM, emc-users-requ...@lists.sourceforge.net wrote:
 From: Roland Jollivet roland.jolli...@gmail.com
 Subject: [Emc-users] PPMC.ini, Help with my math
 Date: February 24, 2013 1:38:49 AM PST
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Reply-To: Enhanced Machine Controller \(EMC\) 
 emc-users@lists.sourceforge.net
 
 
 On 24 February 2013 01:40, Bruce Klawiter bmkl...@yahoo.com wrote:
 
 I have just switch my mill over from linear scales to rotary encoders and
 I can't get my input scale right. OUTPUT_SCALE is 1, Units-inch
 
 
 X axis has a 1250 CPR differential encoder, motor 14 tooth gear, screw 21
 tooth gear, .200 pitch screw. 1250 X 4 X 1.5 X 5 = INPUT_SCALE = 37500
 
 
 My arithmetic may be way off, but I don't understand any of the above.
 Where does 1.5 and 4 and 5 come into it?
 
 The way I see it, 1250 counts = 1 motor rev = 14/21 x 0.2 = 0.1333 in
 
 therefore, 1 count = 0.13 /1250 = 0.00010 in
 or,  1 inch = 9375 counts.
 
 You should in any case, be able to jog the motor for 10 inches linear
 travel and get a ballpark figure. Then /10 and you'll know 95% of what
 you're aiming for.
 
 Roland
Roland,

I think that the 4 comes from the fact that and A-B encoder counts rising and 
falling edges of each channel thus a 1250 count encoder results in 5000 counts 
per rotations (1250 * 4).
The 5 is a .200 pitch screw rotates 5 times per inch.
The 1.5 is because a 14 tooth gear on the motor must turn 1.5 times to cause a 
21 tooth gear on the screw to turn 1 time.

Alan
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Passing file names into a subroutine

2012-02-02 Thread Alan Condit
 On 2 February 2012 03:51, Kenneth Lerman kenneth.ler...@se-ltd.com wrote:
 
 BTW: That's another place where it would be nice to have variables with
 string values.
 
andy pugh bodge...@gmail.com wrote:
 Considering that C doesn't really do strings, adding them to G-code
 might be nontrivial.
 
 -- 
 atp

Gee, I bet that news would surprise Kernigan and Ritchie. I've been using 
strings in 'C' since 1977.

Alan
---

Alan Condit
1085 Tierra Ct.
Woodburn, OR 97071

Email -- acon...@ipns.com
Home-Office (503) 982-0906


--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] question on gcode parsing

2012-02-01 Thread Alan Condit
I have been working for sometime on a subset of RS274ngc parser. I have a 
program on my Mac which reads a dxf file and converts it to RS274ngc and allows 
you to invoke some wizards along with it. The purpose of my parser is to 
re-read the RS274ngc files I create an allow them to be edited and see the 
output on the screen in terms of generated 3d paths.

Long intro but the reason for this post is to say that writing a parser that 
will make sense of the current state of RS274ngc code that is acceptable to 
linuxcnc, is non-trivial. Even the subset that I am trying to handle is not so 
easy. A EBNF parser should reject code (or at least flag it as error) that is 
not legal for linuxcnc. As long as we allow people to define gcodes and or 
mcodes on the fly, it is much more difficult.

I am one of those people who doesn't like code written without any whitespace 
but I have no problem with the current linuxcnc parser/interpreter. My goal 
was/is to be able to generate code that I like, formatted like I want, and that 
is still acceptable to linuxcnc.

I see no benefit to an EBNF parser that is so loose that it will pass anything 
that sort of resembles gcode without flagging invalid code.

Alan
---

Alan Condit
1085 Tierra Ct.
Woodburn, OR 97071

Email -- acon...@ipns.com
Home-Office (503) 982-0906

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] question on gcode parsing

2012-01-23 Thread Alan Condit
On Jan 23, 2012, at 2:17 AM,  andy pugh bodge...@gmail.com wrote:

 Does anyone else indent their loops and subs in G-code?
me
---

Alan Condit
1085 Tierra Ct.
Woodburn, OR 97071

Email -- acon...@ipns.com
Home-Office (503) 982-0906

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC: The new name of the Enhanced Machine Controller

2012-01-19 Thread Alan Condit
I am not fond of the LinuxCNC name. I like Andy Pugh have had fond hopes of 
someday getting EMC2 to run on MacOS (unix instead of Linux). 

It seems to me unlikely that the trademark for EMC should have ever been 
granted absent a qualification based on font expression, color etc. 

However, coulda, shoulda, and woulda aside, Linux is free and runs on lots of 
hardware, MacOS is not free and runs on relatively expensive hardware. I have 
come to enjoy working with my Linux boxes and I definitely like the LinuxCNC 
software. Maybe we should get over the unfairness of the problem and drive on 
with making LinuxCNC the best CNC controller software on the planet (assuming 
that it isn't already that???).

I used to practice law and my general opinion is that lawsuits generally 
benefit no-one but the lawyers (win or lose). That is not the way that I would 
choose to spend my time.

Alan
---

Alan Condit
1085 Tierra Ct.
Woodburn, OR 97071

Email -- acon...@ipns.com
Home-Office (503) 982-0906


--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC: The new name of the Enhanced MachineController

2012-01-18 Thread Alan Condit
What about EMCNC?

Alan
---

Alan Condit
1085 Tierra Ct.
Woodburn, OR 97071

Email -- acon...@ipns.com
Home-Office (503) 982-0906


--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] First Run Video

2010-01-31 Thread Alan Condit
Andy,

I am working on a Mac EMC2 related software product also.
It started out as a simple effort to read DXF files and output gcode. Now it 
has a bunch of wizards for a mill or router and a few wizards for a lathe. 

I use VectorWorks for CAD as well as QCAD2.

Alan
---

Alan Condit
1085 Tierra Ct.
Woodburn, OR 97071

Email -- acon...@ipns.com
Home-Office (503) 982-0906

On Jan 31, 2010, at 9:16 AM, emc-users-requ...@lists.sourceforge.net wrote:

 From: Andy Pugh a...@andypugh.fsnet.co.uk
 Date: January 31, 2010 7:30:36 AM PST
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] First Run Video
 Reply-To: Enhanced Machine Controller \(EMC\) 
 emc-users@lists.sourceforge.net
 
 
 On 31 January 2010 10:59, Jeshua Lacock jes...@3dtopo.com wrote:
 
 Finally got my machine running!
 
 Excellent.
 Can I ask what software packages you are using? The Mac-EMC process is
 something I am messing about with at the moment (This weekend I have
 mainly been compiling HeeksCAD for OSX 10.6, with a lot of help from
 #CAM)
 
 -- 
 atp

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Max velocity suddenly limited to that of slowest axis EMC2-2.3.3

2009-10-09 Thread Alan Condit
  EMC2-2.3.3 (robert)
 From: robert rob...@innovative-rc.com
 Date: October 9, 2009 4:42:10 AM PDT
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net 
 
 Subject: Re: [Emc-users] Max velocity suddenly limited to that of  
 slowest axis EMC2-2.3.3
 Reply-To: Enhanced Machine Controller \(EMC\) 
 emc-users@lists.sourceforge.net 
 




 Does the max-velocity slider have any effect?

 as andy said
 i had this problem a while back slider set to 10m/min slider is a  
 overall max velocity of the overall combined join velocity  so  
 increase it and see what happens

 robert

OK, I did a little more checking. In Axis I can set the jog speed  
slider up to 210ipm but the Max_velocity slider won't go above the  
15ipm. Using the jog keys the z-axis will jog at it's max_velocity of  
120ipm and the X-axis will jog at it's max_velocity of 15ipm. But if I  
go into MDI mode and do a G0 the z-axis will not exceed the 15ipm of  
the max_velocity slider.

Same in running a gcode file g0 is limited to 15ipm for either axis.

The Max_Velocity slider should allow me to set the 120ipm but it  
won't. I still don't know if the problem is actually in the Axis  
setup or in EMC2 proper. I do know that it was working in emc2-2.3.1  
and is not working in 2.3.3. I never even tried 2.3.2.

Alan
---

Alan Condit
1085 Tierra Ct.
Woodburn, OR 97071

Email -- acon...@ipns.com
Home-Office (503) 982-0906

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Max velocity suddenly limited to that of slowest axis EMC2-2.3.3

2009-10-09 Thread Alan Condit
On Oct 9, 2009, at 10:03 AM, emc-users-requ...@lists.sourceforge.net  
wrote:

 From: Chris Radek ch...@timeguy.com
 Date: October 9, 2009 8:56:05 AM PDT
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net 
 
 Subject: Re: [Emc-users] Max velocity suddenly limited to that of  
 slowest   axis EMC2-2.3.3
 Reply-To: Enhanced Machine Controller \(EMC\) 
 emc-users@lists.sourceforge.net 
 


 On Fri, Oct 09, 2009 at 08:34:23AM -0700, Alan Condit wrote:

 The Max_Velocity slider should allow me to set the 120ipm but it
 won't.

 I think you need to set [TRAJ]MAX_LINEAR_VELOCITY to whatever you
 want the top of the max velocity slider to be.

Thanks Chris, that solved the problem. I had MAX_LINEAR_VELOCITY set  
but I had it in the display section rather than Trajectory.
What really had me puzzled was the fact that it was working in 2.3.1  
and stopped working in 2.3.3. I thought there weren't supposed to be  
any changes within a major release that affected the .ini or .hal  
files, but I suppose that I just missed making this update sometime  
(or made it incorrectly).

Alan

---

Alan Condit
1085 Tierra Ct.
Woodburn, OR 97071

Email -- acon...@ipns.com
Home-Office (503) 982-0906

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Max velocity suddenly limited to that of slowest axis EMC2-2.3.3

2009-10-08 Thread Alan Condit
I just upgraded from 2.3.1 to 2.3.3 and suddenly my maximum velocity  
is limited to the speed of my X axis. My X axis has a max velocity of  
15 ipm and my Z axis used to have 60ipm. I made no changes other than  
the upgrade. Has anyone else seen this problem? Has it been fixed?

Alan
---

Alan Condit
1085 Tierra Ct.
Woodburn, OR 97071

Email -- acon...@ipns.com
Home-Office (503) 982-0906


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Max velocity suddenly limited to that of slowest axis EMC2-2.3.3

2009-10-08 Thread Alan Condit
I have been gone for a couple weeks, so I don't know if this has  
already been
addressed.

I just upgraded my lathe from 2.3.1 to 2.3.3 and suddenly my maximum  
velocity is
limited to the speed of my X axis. My X axis has a max velocity of 15  
ipm and my
Z axis used to have 60ipm. I made no changes other than the upgrade.  
My ini file
still shows a max velocity of 0.25 for the X axis and 2.0 for the z  
axis. This
is happening both in the Axis interface and on G0 in running a gcode  
file.

Has anyone else seen this problem? Has it been fixed?

Alan
---

Alan Condit
1085 Tierra Ct.
Woodburn, OR 97071

Email -- acon...@ipns.com
Home-Office (503) 982-0906


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


  1   2   >