Re: [Emc-users] GladeVCP Question?

2024-05-22 Thread Nicklas SB Karlsson
Yes. Just tried it and the lines below in the .init file do it provided you have the files "ethercat_1joint.glade" and "1joint_side_panel.glade" in same directory as .ini file: # Add GladeVCP panel as a tab next to Preview/DRO: EMBED_TAB_NAME=gladevcp2 demo EMBED_TAB_COMMAND=halcmd loadusr -Wn

Re: [Emc-users] GladeVCP Question?

2024-05-22 Thread Todd Zuercher via Emc-users
Date: 2024-05-22 7:47 a.m. (GMT-08:00) To: "Enhanced Machine Controller (EMC)" Cc: Todd Zuercher Subject: [Emc-users] GladeVCP Question? Is it possible with Axis to have a GladeVDP side panel, and have a different GladeVCP embedded in a tab at the same time? How about multiple emb

Re: [Emc-users] GladeVCP Question?

2024-05-22 Thread Chris Morley
Yes Sent from my Galaxy Original message From: Todd Zuercher via Emc-users Date: 2024-05-22 7:47 a.m. (GMT-08:00) To: "Enhanced Machine Controller (EMC)" Cc: Todd Zuercher Subject: [Emc-users] GladeVCP Question? Is it possible with Axis to have a GladeVDP

[Emc-users] GladeVCP Question?

2024-05-22 Thread Todd Zuercher via Emc-users
Is it possible with Axis to have a GladeVDP side panel, and have a different GladeVCP embedded in a tab at the same time? How about multiple embedded tabs? I've not seen examples how to do this. Todd Zuercher P. Graham Dunn Inc. 630 Henry Street Dalton,

Re: [Emc-users] Acceleration question.

2024-02-23 Thread John Dammeyer
Gosh this was almost 2 years ago. Don't even remember why I was asking. John > -Original Message- > From: Chris Albertson [mailto:albertson.ch...@gmail.com] > Sent: February 23, 2024 10:30 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Accele

Re: [Emc-users] Acceleration question.

2024-02-23 Thread Chris Albertson
> being run by one of Jon's pwm-servos. Both solutions would need far less > electrical power to get the job done than a steeper could do. >>> -Original Message- >>> From: gene heskett [mailto:ghesk...@shentel.net] >>> Sent: June-16-22 6:34 PM >>>

Re: [Emc-users] Acceleration question.

2024-02-23 Thread gene heskett
eforge.net Subject: Re: [Emc-users] Acceleration question. On 6/16/22 20:54, John Dammeyer wrote: OK. I realize this will be a dumb question but please bear with me especially since I've included the ability to accelerate in my Electronic Lead Screw project. A friend and I were discussing bringing a

Re: [Emc-users] Documentation question

2023-11-07 Thread andy pugh
On Mon, 6 Nov 2023 at 19:10, Ray Henry wrote: > > a Debian release is referred to as "Boolworm." Is this a typo Yes, just a typo. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George

[Emc-users] Documentation question

2023-11-06 Thread Ray Henry
The document at http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html in the second row, first column of the table below #7. Alternate Install Methods, a Debian release is referred to as "Boolworm." Is this a typo or am I missing something bigger? Ray

Re: [Emc-users] stupid question

2023-10-16 Thread gene heskett
From: gene heskett Sent: Monday, October 16, 2023 3:22 PM To: Enhanced Machine Controller (EMC) Subject: [Emc-users] stupid question [EXTERNAL EMAIL] Be sure links are safe. I need to make some subroutines into callable files, but some sub call other subs. So 3 Q?'s: 1; do sub files need

Re: [Emc-users] stupid question

2023-10-16 Thread Todd Zuercher
. Graham Dunn Inc. 630 Henry Street Dalton, Ohio 44618 Phone: (330)828-2105ext. 2031 -Original Message- From: gene heskett Sent: Monday, October 16, 2023 3:22 PM To: Enhanced Machine Controller (EMC) Subject: [Emc-users] stupid question [EXTERNAL EMAIL] Be sure links are safe. I need

[Emc-users] stupid question

2023-10-16 Thread gene heskett
I need to make some subroutines into callable files, but some sub call other subs. So 3 Q?'s: 1; do sub files need all the data passed in [] or do they have access to globally defined vars? in the main calling program? 2; can a subroutine file write to a globally defined #<_variable_name>

Re: [Emc-users] HAL question

2022-12-11 Thread John Dammeyer
> From: Nicklas SB Karlsson [mailto:n...@nksb.eu] > > Yes the manual say so. If you choose menu "Machine" item "Show hal > configuration" it is also possible to find which pins are available. Thanks. I'd forgotten I could look at them that way. Looking at the machine it turns out the

Re: [Emc-users] HAL question

2022-12-11 Thread Nicklas SB Karlsson
Yes the manual say so. If you choose menu "Machine" item "Show hal configuration" it is also possible to find which pins are available. sön 2022-12-11 klockan 07:35 -0600 skrev John Figie: > "Do I just add -not to the end? > net toolsense-in <= hm2_7i92.0.gpio.030.in-not" > > I think that is the

Re: [Emc-users] HAL question

2022-12-11 Thread Sam Sokolik
This is where halcmd comes in really handy.. When linuxcnc is launched - bring up a terminal and type halcmd -kf than you can do a show pin hm2[tab] enter. This will show you all the pins. or if there are parameters to set things show param hm2[tab] enter or you can bring up 'show hal

Re: [Emc-users] HAL question

2022-12-11 Thread John Figie
"Do I just add -not to the end? net toolsense-in <= hm2_7i92.0.gpio.030.in-not" I think that is the way to do it. That is how it works with my 7i80 http://linuxcnc.org/docs/stable/html/man/man9/hostmot2.9.html On Sat, Dec 10, 2022, 10:34 PM John Dammeyer wrote: > One of the relies by Todd

[Emc-users] HAL question

2022-12-10 Thread John Dammeyer
One of the relies by Todd Zeurcher on the forum https://forum.linuxcnc.org/27-driver-boards/33646-mesa-7i76-invert-input-pin states to invert the input hm2_5i25.0.7i76.0.0.input-00-not I'm using the 7i92 and my inputs are referred to in this way. net toolsense-in <= hm2_7i92.0.gpio.030.in

Re: [Emc-users] Acceleration question.

2022-06-17 Thread andy pugh
On Fri, 17 Jun 2022 at 18:02, Chris Albertson wrote: 1) Model the flywheel in CAD, and get the moment of inertia that way (make sure you look at the right one, which will depend on the orientation that you modelled it at) 2) Calculate how much energy is in the flywheel at target speed. E = 1/2 I

Re: [Emc-users] Acceleration question.

2022-06-17 Thread Chris Albertson
Sent: June-16-22 10:29 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Acceleration question. > > OK, here is the problem. > > 1) we can not know the distance from the mass to the center of the wheel. > Mass is always distributed, It all cannot be at the s

Re: [Emc-users] Acceleration question.

2022-06-17 Thread John Dammeyer
Chris Albertson [mailto:albertson.ch...@gmail.com] > Sent: June-16-22 10:29 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Acceleration question. > > OK, here is the problem. > > 1) we can not know the distance from the mass to the center of

Re: [Emc-users] Acceleration question.

2022-06-17 Thread John Dammeyer
> From: Chris Albertson [mailto:albertson.ch...@gmail.com] > Sent: June-16-22 10:29 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Acceleration question. > > OK, here is the problem. > > 1) we can not know the distance from the mass to the center

Re: [Emc-users] Acceleration question.

2022-06-16 Thread Chris Albertson
gt; > > > -Original Message- > > From: Chris Albertson [mailto:albertson.ch...@gmail.com] > > Sent: June-16-22 6:56 PM > > To: Enhanced Machine Controller (EMC) > > Subject: Re: [Emc-users] Acceleration question. > > > > Knowing the mass of the wheel is not enoug

Re: [Emc-users] Acceleration question.

2022-06-16 Thread gene heskett
On 6/16/22 21:57, John Dammeyer wrote: Hi Gene, Quite right. That link I posted used a table while in fact, as you pointed out, the mass is mostly on the outside of a flywheel with spokes. I would imagine at there is some average where if it's a 300 lb disk that is 24" might be the same as

Re: [Emc-users] Acceleration question.

2022-06-16 Thread John Dammeyer
Chris Albertson [mailto:albertson.ch...@gmail.com] > Sent: June-16-22 6:56 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Acceleration question. > > Knowing the mass of the wheel is not enough, you need to know how far the > mas is from the center

Re: [Emc-users] Acceleration question.

2022-06-16 Thread Chris Albertson
; > Could that actually bring a flywheel up to that speed in 5 seconds? > > > -Original Message- > > From: gene heskett [mailto:ghesk...@shentel.net] > > Sent: June-16-22 6:34 PM > > To: emc-users@lists.sourceforge.net > > Subject: Re: [Emc-users] Acceleration question. &

Re: [Emc-users] Acceleration question.

2022-06-16 Thread Chris Albertson
Knowing the mass of the wheel is not enough, you need to know how far the mas is from the center of rotation. They call this "Moment of inertia" There are ways of calculating this for simple wheel shapes like a plain disk but for anything else you are best off if you just measure it. The

Re: [Emc-users] Acceleration question.

2022-06-16 Thread John Dammeyer
om: gene heskett [mailto:ghesk...@shentel.net] > Sent: June-16-22 6:34 PM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Acceleration question. > > On 6/16/22 20:54, John Dammeyer wrote: > > OK. I realize this will be a dumb question but please bear with m

Re: [Emc-users] Acceleration question.

2022-06-16 Thread gene heskett
On 6/16/22 21:09, John Dammeyer wrote: Addendum to this: https://www.orientalmotor.com/motor-sizing/rotaryDevice-sizing.html#QuickReport I chose a 24" disk, 5 seconds to get up to 50 RPM. That's going to work for a flat plate, but will give you a low answer with disappointing results for the

Re: [Emc-users] Acceleration question.

2022-06-16 Thread gene heskett
On 6/16/22 20:54, John Dammeyer wrote: OK. I realize this will be a dumb question but please bear with me especially since I've included the ability to accelerate in my Electronic Lead Screw project. A friend and I were discussing bringing a 300 pound flywheel up to speed. Vz=0 RPM, Vf=50

Re: [Emc-users] Acceleration question.

2022-06-16 Thread John Dammeyer
achine Controller (EMC) > Subject: [Emc-users] Acceleration question. > > OK. I realize this will be a dumb question but please bear with me > especially since I've included the ability > to accelerate in my Electronic Lead Screw project. > > A friend and I were discussing bri

[Emc-users] Acceleration question.

2022-06-16 Thread John Dammeyer
OK. I realize this will be a dumb question but please bear with me especially since I've included the ability to accelerate in my Electronic Lead Screw project. A friend and I were discussing bringing a 300 pound flywheel up to speed. Vz=0 RPM, Vf=50 RPM. Reduction drive to the flywheel

Re: [Emc-users] Another question I haven't asked but should, re incorporating my dials into the active axis buttons.

2021-10-08 Thread Gene Heskett
On Thursday 07 October 2021 22:38:39 John Dammeyer wrote: > > From: Gene Heskett [mailto:ghesk...@shentel.net] > > Subject: [Emc-users] Another question I haven't asked but should, re > > incorporating my dials into the active axis buttons. > > > > Hello all;

Re: [Emc-users] Another question I haven't asked but should, re incorporating my dials into the active axis buttons.

2021-10-07 Thread John Dammeyer
> From: Gene Heskett [mailto:ghesk...@shentel.net] > Subject: [Emc-users] Another question I haven't asked but should, re > incorporating my dials into the active axis buttons. > > Hello all; > > Axis apparently hasn't the resources to do what I want, and which I am &g

[Emc-users] Another question I haven't asked but should, re incorporating my dials into the active axis buttons.

2021-10-07 Thread Gene Heskett
Hello all; Axis apparently hasn't the resources to do what I want, and which I am convinced other users with controlling pendents would also find very handy. Is there anther gui besides axis, that can do what I want? What I want is for a signal from one of the dials that can move this lathe,

[Emc-users] A question for Sam S.

2021-07-06 Thread Gene Heskett
Greetings Sam; I'm working on an all printed, miniature version of the loose belt harmonic drive and am about 90% done in a unit sized to work with the A axis supplied with a 4 axis 6090 gantry mill. 21.5mm thick, and about 85mm around. Rather than bolted, the inner facing splines are keyed to

Re: [Emc-users] Machining question

2021-06-22 Thread Thaddeus Waldner
rature works, with the A/B phasing > you > >> don't get the same types of errors compared to polling a bit level X > times > >> per second and trying to decide when it's high/low. > >> > >> John > >> > >> > >>> -Original Message- &g

Re: [Emc-users] Machining question

2021-06-22 Thread Gene Heskett
the 7i92 FPGA deal with quadrature encoders and > > >> therefore doesn't really need to deal with a sampling process but > > >> instead looks at edges? And because of the way quadrature works, > > >> with the A/B phasing > > > > you > > > > >

Re: [Emc-users] Machining question

2021-06-22 Thread andy pugh
On Tue, 22 Jun 2021 at 07:09, Chris Albertson wrote: > Quantization happens even in an electrically quiet > environment and results from design decisions made such as the sample > interval, number of lines of the sensor, and the rotation speed. It gets > worse as you go slower. I believe that

Re: [Emc-users] Machining question

2021-06-22 Thread Chris Albertson
; you > >> don't get the same types of errors compared to polling a bit level X > times > >> per second and trying to decide when it's high/low. > >> > >> John > >> > >> > >>> -Original Message- > >>> From: C

[Emc-users] Machining question

2021-06-21 Thread Roland Jollivet
ass > >>>>> # spindle-velocity is signed so we use absolute component to remove > >>>>> sign # ACTUAL velocity is in RPS not RPM so we scale it. > >>>>> > >>>>> setp scale.spindle.gain 60 > >>>>>

Re: [Emc-users] Machining question

2021-06-21 Thread Thaddeus Waldner
works, with the A/B phasing you >> don't get the same types of errors compared to polling a bit level X times >> per second and trying to decide when it's high/low. >> >> John >> >> >>> -Original Message- >>> From: Chris Alber

Re: [Emc-users] Machining question

2021-06-21 Thread Chris Albertson
.com] > > Sent: June-19-21 3:21 PM > > To: Enhanced Machine Controller (EMC) > > Subject: Re: [Emc-users] Machining question > > > > There are two kinds of noise, > > 1) electrical noise superimposed on the signal. > > 2) quantization noise from the sampling proc

Re: [Emc-users] Machining question

2021-06-20 Thread John Dammeyer
> -Original Message- > From: dave engvall [mailto:dengv...@charter.net] > Sent: June-20-21 7:55 AM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Machining question > > On the Z for my Cinci I cheat by running the encoder off a small idler > dr

Re: [Emc-users] Machining question

2021-06-20 Thread dave engvall
...@gmail.com] Sent: June-19-21 3:21 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Machining question There are two kinds of noise, 1) electrical noise superimposed on the signal. 2) quantization noise from the sampling process. What happens here is that the computer counts

Re: [Emc-users] Machining question

2021-06-19 Thread Gene Heskett
. > > -Original Message- > > From: Chris Albertson [mailto:albertson.ch...@gmail.com] > > Sent: June-19-21 3:21 PM > > To: Enhanced Machine Controller (EMC) > > Subject: Re: [Emc-users] Machining question > > > > There are two kinds of n

Re: [Emc-users] Machining question

2021-06-19 Thread John Dammeyer
side the electronics dropped low enough to no longer cause issues. > -Original Message- > From: Gene Heskett [mailto:ghesk...@shentel.net] > Sent: June-19-21 2:53 PM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Machining question > > On Saturday 19 June 20

Re: [Emc-users] Machining question

2021-06-19 Thread John Dammeyer
second and trying to decide when it's high/low. John > -Original Message- > From: Chris Albertson [mailto:albertson.ch...@gmail.com] > Sent: June-19-21 3:21 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Machining question > > There are tw

Re: [Emc-users] Machining question

2021-06-19 Thread Chris Albertson
gt; > in the pyvcp-panel.xml is renamed to be a LED. net > > spindle-near-speed-led <= spindle-near-speed.out => spindle.0.at-speed > > = end HAL code === > > > > John > > > > > -Original Message- > &

Re: [Emc-users] Machining question

2021-06-19 Thread Gene Heskett
end HAL code === > > John > > > -Original Message- > > From: andy pugh [mailto:bodge...@gmail.com] > > Sent: June-19-21 2:48 AM > > To: Enhanced Machine Controller (EMC) > > Subject: Re: [Emc-users] Machining questi

Re: [Emc-users] Machining question

2021-06-19 Thread John Dammeyer
t; spindle.0.at-speed = end HAL code === John > -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: June-19-21 2:48 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Machining question > > On Sat, 19 Jun 2021 a

Re: [Emc-users] Machining question

2021-06-19 Thread Gene Heskett
ginal Message- > > From: John Dammeyer [mailto:jo...@autoartisans.com] > > Sent: June-18-21 3:51 PM > > To: 'Enhanced Machine Controller (EMC)' > > Subject: Re: [Emc-users] Machining question > > > > Andy's approach is what I had in mind. Additionally I

Re: [Emc-users] Machining question

2021-06-19 Thread andy pugh
On Sat, 19 Jun 2021 at 07:11, John Dammeyer wrote: > > I'm finding the AXIS Spindle speed oscillates about +/- 5 RPM. I thought > that I was filtering it. It generally needs to be filtered, but it is possible you are filtering it, but not enough to get a steady reading. For whatever reason

Re: [Emc-users] Machining question

2021-06-18 Thread John Dammeyer
Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Machining question > > On Fri, 18 Jun 2021 at 16:52, John Dammeyer wrote: > > > I'm thinking the better approach would be to drill all the way through > > undersize 3/8" and then drill half way with 13mm. The

Re: [Emc-users] Machining question

2021-06-18 Thread Cristian Bontas
Hi The way I see the picture, you have quite a few microns of play only in the roughness of the hole. Using the screws that way amplifies the problem, as is pushes all the error to one side. I think the best option is to buy an elastic coupling. Ideally one that fits both sizes, but just

Re: [Emc-users] Machining question

2021-06-18 Thread dave engvall
hanced Machine Controller (EMC) Subject: [Emc-users] Machining question This isn't as much a LinuxCNC question but more of an approach to how to machine something. The attached photo shows a coupler from a 3/8" encoder to 14mm Servo Motor so I can test on the bench the Pi4 closed loop encoder be

Re: [Emc-users] Machining question

2021-06-18 Thread Gregg Eshelman via Emc-users
reamer alloance and then ream. https://www.fltechnical.com/news/reamer-guide-basic-technical-information-for-reamers Gerrit -Original Message- From: John Dammeyer Sent: June 18, 2021 11:49 AM To: Enhanced Machine Controller (EMC) Subject: [Emc-users] Machining question This isn't as muc

Re: [Emc-users] Machining question

2021-06-18 Thread johnd
Albertson Date: 2021-06-18 9:48 a.m. (GMT-08:00) To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Machining question By total coincidence, I am doing the exact same thing.  I just bought a 600line optical encoder and now I'm attaching it directly to a motor. 

Re: [Emc-users] Machining question

2021-06-18 Thread Gerrit Visser
: [Emc-users] Machining question This isn't as much a LinuxCNC question but more of an approach to how to machine something. The attached photo shows a coupler from a 3/8" encoder to 14mm Servo Motor so I can test on the bench the Pi4 closed loop encoder behavior. This one didn't turn out

Re: [Emc-users] Machining question

2021-06-18 Thread andy pugh
On Fri, 18 Jun 2021 at 16:52, John Dammeyer wrote: > I'm thinking the better approach would be to drill all the way through > undersize 3/8" and then drill half way with 13mm. Then only use the boring > tool to bring the back half up to 3/8" and the front up to 14mm. I would drill 8.5mm then

Re: [Emc-users] Machining question

2021-06-18 Thread Chris Albertson
By total coincidence, I am doing the exact same thing. I just bought a 600 line optical encoder and now I'm attaching it directly to a motor. The purpose is to write and debug some control software. In this case, I REALLY DO WANT to run at the encoder's maximum rated speed of 5000 RPM, or

Re: [Emc-users] Machining question

2021-06-18 Thread Chris Albertson
I think it is best to back up and look at the bigger picture. Solid couplers are almost never the way to go. Or if you do use a solid couple the motor or encoders needs to be mounted with rubber bushings.I shouldn't be 100% solid. Buy one of these, then bore of one of the holes for the

Re: [Emc-users] Machining question

2021-06-18 Thread Stuart Stevenson
Sounds like a good plan. Hopefully the testing won't involve high rpms so the od not being perfectly concentric will not matter. The motor bearings will handle it but maybe the encoder bearings won't be as robust. On Fri, Jun 18, 2021, 10:52 AM John Dammeyer wrote: > This isn't as much a

Re: [Emc-users] Python question

2020-12-16 Thread John Dammeyer
> From: Chris Albertson [mailto:albertson.ch...@gmail.com] > > For me this was a good example. I wanted to write a userspace > pendent interface. Assuming you have created a pin object as "h", the > pin's input is read as h.in and you can set h.out to set the output. The > link below is a

Re: [Emc-users] Python question

2020-12-16 Thread Chris Albertson
For me this was a good example. I wanted to write a userspace pendent interface. Assuming you have created a pin object as "h", the pin's input is read as h.in and you can set h.out to set the output. The link below is a sample program that copies a pin's input to its output. So it shows both

Re: [Emc-users] Python question

2020-12-16 Thread John Dammeyer
Quick question. On the MDI screen in Axis does the HALUI connection set the Active G-Codes: field with a reply? So if an M7 is sent M7 shows up. If an M8 is sent the M8 shows up. And if both coolants are switched off with the M9 we see the M7 M8 vanish and replaced with M9. The

Re: [Emc-users] Python question

2020-12-16 Thread ken.strauss
With the great help on list and off I'm having some progress. When debugging it is very convenient to be able to run a program in a terminal window. Doing so immediately shows syntax errors. The program can talk to an Arduino listening on a USB simulated serial port and can create pins that can

Re: [Emc-users] Python question

2020-12-16 Thread John Dammeyer
0 2:58 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Python question > > On Wed, 16 Dec 2020 at 06:29, John Dammeyer wrote: > > > https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_intf/emcrsh.cc > > It uses sockets in that file whic

Re: [Emc-users] Python question

2020-12-16 Thread andy pugh
On Wed, 16 Dec 2020 at 06:29, John Dammeyer wrote: > https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_intf/emcrsh.cc > It uses sockets in that file which implies this is how communications is done. Not normally. emcrsh is an "add on" interface for communicating with remote LinuxCNC

Re: [Emc-users] Python question

2020-12-16 Thread Frank Tkalcevic
want is in shcom.cc -Original Message- From: John Dammeyer [mailto:jo...@autoartisans.com] Sent: Wednesday, 16 December 2020 5:27 PM To: 'Enhanced Machine Controller (EMC)' Subject: Re: [Emc-users] Python question Ah. https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_in

Re: [Emc-users] Python question

2020-12-15 Thread John Dammeyer
o find out if it's a MACRO or a function that formats the message to go to the socket? Thanks John > -Original Message- > From: Frank Tkalcevic [mailto:fr...@franksworkshop.com.au] > Sent: December-15-20 9:48 PM > To: 'Enhanced Machine Controller (EMC)' > Subject: Re: [E

Re: [Emc-users] Python question

2020-12-15 Thread Frank Tkalcevic
(EMC)' Subject: Re: [Emc-users] Python question Let's say you wanted to access the hal pins and essentially run the machine using a different programming language like C instead of python. How's the linkage done from say the Axis GUI to the rest of the system? Like Spindle ON button

Re: [Emc-users] Python question

2020-12-15 Thread John Dammeyer
age- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: December-15-20 5:15 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Python question > > On Wed, 16 Dec 2020 at 01:10, wrote: > > > > Are the necessary environment variables document some

Re: [Emc-users] Python question

2020-12-15 Thread ken.strauss
in a terminal window Thanks for the hint! -Original Message- From: Frank Tkalcevic Sent: December 15, 2020 8:46 PM To: 'Enhanced Machine Controller (EMC)' Subject: Re: [Emc-users] Python question I run in-place, so I run... . $EMC_HOME/scripts/rip-environment Before each run. If you

Re: [Emc-users] Python question

2020-12-15 Thread Frank Tkalcevic
Message- From: ken.stra...@gmail.com [mailto:ken.stra...@gmail.com] Sent: Wednesday, 16 December 2020 12:08 PM To: 'Enhanced Machine Controller (EMC)' Subject: Re: [Emc-users] Python question Are the necessary environment variables document somewhere? -Original Message- From: Frank

Re: [Emc-users] Python question

2020-12-15 Thread andy pugh
On Wed, 16 Dec 2020 at 01:10, wrote: > > Are the necessary environment variables document somewhere? I think you just need to "import linuxcnc" to get access to linuxcnc command and state. But you would probably still need to create and net hal pins to get values from hal. -- atp "A

Re: [Emc-users] Python question

2020-12-15 Thread ken.strauss
Are the necessary environment variables document somewhere? -Original Message- From: Frank Tkalcevic Sent: December 15, 2020 6:51 PM To: 'Enhanced Machine Controller (EMC)' Subject: Re: [Emc-users] Python question As long as the environment variables are set up correctly, you should

Re: [Emc-users] Python question

2020-12-15 Thread Frank Tkalcevic
'Enhanced Machine Controller (EMC)' Subject: [Emc-users] Python question I somewhat understand writing a Python program that reads/writes HAL pins and starting it with halcmd loadusr. Is it possible to start a Python program from a terminal window and access HAL pins without using halcmd? If

[Emc-users] Python question

2020-12-15 Thread ken.strauss
I somewhat understand writing a Python program that reads/writes HAL pins and starting it with halcmd loadusr. Is it possible to start a Python program from a terminal window and access HAL pins without using halcmd? If yes, what is the magic incantation? I ask because PathPilot does not appear

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-22 Thread andrew beck
Yes it will be cool. Linuxcnc is absolutely amazing! On Mon, Nov 23, 2020, 1:53 AM Mark wrote: > On 11/22/20 12:29 AM, andrew beck wrote: > > > Thanks Mark. Yes pretty blessed here. > > > > Feel almost like Tommy. Just keep buying machines lol. But retrofits > are > > fun and they pay for

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-22 Thread Mark
On 11/22/20 12:29 AM, andrew beck wrote: Thanks Mark. Yes pretty blessed here. Feel almost like Tommy. Just keep buying machines lol. But retrofits are fun and they pay for themselves on the first few jobs so why not. I want a horizontal cnc mill now that I can turn into a full 5 axis with

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-21 Thread andrew beck
Thanks Mark. Yes pretty blessed here. Feel almost like Tommy. Just keep buying machines lol. But retrofits are fun and they pay for themselves on the first few jobs so why not. I want a horizontal cnc mill now that I can turn into a full 5 axis with rotating head and 4th axis on the table.

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-21 Thread andrew beck
Yes I wondered that Andy. Pncconf only had options for the 7i77 on first header. So I used that one. Regards Andrew On Sun, Nov 22, 2020, 12:10 AM andy pugh wrote: > On Sat, 21 Nov 2020 at 10:35, andrew beck > wrote: > > > Now I want to update the firmware on the 5i25 so I can use it also >

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-21 Thread andrew beck
I got it lol before anyone takes the time to help me out.. I better post back that I have sussed it. I was using a ethernet patch cable and the wires were swapped. I found out which ones changed them and can see the 7i84 now regards Andrew On Sun, Nov 22, 2020 at 7:19 AM andrew beck wrote:

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-21 Thread andrew beck
hey guys having trouble setting up 7i84 now. so I have a set up with a 6i25 and 7i77, 7i76 connected I am trying to connect up the 7i84 to the tb6 connector on the 7i77. I have the bit file 5i25_7i77_7i76.bit loaded into card just getting stuck now. 7i84 doesn't load up. jumpers are both

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-21 Thread Gene Heskett
On Saturday 21 November 2020 04:09:24 andrew beck wrote: > ok just did some more testing > > I have two 7i76 cards connected up now and everything works (using > second connector on 5i25 for extra 7i76) > > I am wondering if I have broken the 7i77 I have which I ran 5v > backwards through. > >

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-21 Thread Mark
Got some nice toys there Andrew! Mark On 11/20/20 5:51 PM, andrew beck wrote: awesome yep that is the plan for those that are interested here is a quick update video on the progress today after all the emails https://www.youtube.com/watch?v=-JXQkm9tgWQ=youtu.be Gene if you can watch youtube

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-21 Thread Gene Heskett
On Saturday 21 November 2020 03:40:08 andrew beck wrote: > ok just did some testing > > when I flash the 5i25 with this 5i25_7i76x2.bit file it all works fine > > this is just with the 7i76 connected up > > when I try to connect up the 7i77 and flash this bit file > (5i25_7i76_7i77.bit) into the

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-21 Thread andrew beck
awesome yep that is the plan for those that are interested here is a quick update video on the progress today after all the emails https://www.youtube.com/watch?v=-JXQkm9tgWQ=youtu.be Gene if you can watch youtube you can see my machines in it. I do a overview of the shed regards Andrew On

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-21 Thread andy pugh
On Sat, 21 Nov 2020 at 10:35, andrew beck wrote: > Now I want to update the firmware on the 5i25 so I can use it also I don't know if you worked it out, but the 5i25_7i76_7i77 (etc) firmwares _do_ need the cards to be on the designated headers. That is why you can find a 5i25_7i76_7i77.bit and

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-21 Thread andrew beck
hey everyone just another update here the latest is I got a brand new mesa 7i77 out of the box and tried it and that didn't work either when connected to the 5i25 that I have been using for testing So I decided to swap the 5i25 out and use 6i25. I flashed the 6i25 with the correct firmware

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-21 Thread andrew beck
ok just did some more testing I have two 7i76 cards connected up now and everything works (using second connector on 5i25 for extra 7i76) I am wondering if I have broken the 7i77 I have which I ran 5v backwards through. is this possible to do and if it is would I expect a communication error

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-21 Thread andrew beck
ok just did some testing when I flash the 5i25 with this 5i25_7i76x2.bit file it all works fine this is just with the 7i76 connected up when I try to connect up the 7i77 and flash this bit file (5i25_7i76_7i77.bit) into the 5i25 I get a issue the 7i77 is coming up with a red led though in

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-21 Thread Gene Heskett
On Saturday 21 November 2020 02:17:55 andrew beck wrote: > I have two plugs connected from 5i25 > > The cable to the 7i77 is a known good cable that was working last > week. > > I think I might have my cables crossed. Does it matter which port on > 5i25 I connect to which Mesa card? > In my

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-20 Thread andrew beck
I have two plugs connected from 5i25 The cable to the 7i77 is a known good cable that was working last week. I think I might have my cables crossed. Does it matter which port on 5i25 I connect to which Mesa card? On Sat, Nov 21, 2020, 7:56 PM Gene Heskett wrote: > On Saturday 21 November

Re: [Emc-users] Quick question on connecting up Mesa cards

2020-11-20 Thread Gene Heskett
On Saturday 21 November 2020 01:29:11 andrew beck wrote: > Hey everyone. > > Just connecting up Mesa cards I have a 5i25 7i76 7i77 and I think I > have flashed the correct bit file. Can someone link me to the correct > bit file just in case please. > > I'm not getting any field io working. I am

[Emc-users] Quick question on connecting up Mesa cards

2020-11-20 Thread andrew beck
Hey everyone. Just connecting up Mesa cards I have a 5i25 7i76 7i77 and I think I have flashed the correct bit file. Can someone link me to the correct bit file just in case please. I'm not getting any field io working. I am powering it with 24vdc. And I think it's powered up properly I have

Re: [Emc-users] quick question on parallel port cables

2020-11-06 Thread Peter C. Wallace
On Fri, 6 Nov 2020, R C wrote: Date: Fri, 6 Nov 2020 20:13:20 -0700 From: R C Reply-To: "Enhanced Machine Controller (EMC)" To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] quick question on parallel port cables On 11/6/20 8:08 PM, andy pugh wrote: On Sat, 7 Nov

Re: [Emc-users] quick question on parallel port cables

2020-11-06 Thread R C
On 11/6/20 8:08 PM, andy pugh wrote: On Sat, 7 Nov 2020 at 02:48, R C wrote: You will need a cable that has ALL 25 pins connected (one to one), that's called a straight through It's a bit more than that, as some parallel cables only have enough wires to work a printer, and leave some out.

Re: [Emc-users] quick question on parallel port cables

2020-11-06 Thread andy pugh
On Sat, 7 Nov 2020 at 02:48, R C wrote: > > You will need a cable that has ALL 25 pins connected (one to one), > that's called a straight through It's a bit more than that, as some parallel cables only have enough wires to work a printer, and leave some out. You need an IEEE 1284 cable. (then

Re: [Emc-users] quick question on parallel port cables

2020-11-06 Thread Peter C. Wallace
On Sat, 7 Nov 2020, andrew beck wrote: Date: Sat, 7 Nov 2020 15:10:32 +1300 From: andrew beck Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: [Emc-users] quick question on parallel port cables hey everyone I fou

  1   2   3   4   5   6   7   8   >