Advanced Search

Search Results (Searched for: )

  • unknown
  • unknown
17 Sep 2025 05:14
Replied by unknown on topic Python pendant logic problems

Python pendant logic problems

Category: General LinuxCNC Questions

All the Hal files are useful, with what you supplied there is no telling how your mesa card was setup.
More time wasted with using AI. You don't requires script to assemble the logic for a simple pendant with buttons and an mpg, it can all be done via Hal.
A mesa card does require a seperate Hal component to be loaded for an encoder, if you are using the on board encoder and don't require it for any spindle speed or position feedback. The encoder Hal component is usually used with the parallel port, when no encoder is available, ie with with a mesa card, tho you could set one by using mesa input pins as would you would do via a parallel port.

To tell the truth I did write a Hal component that takes the count from a encoder on the mesa card and some other pin inputs for scale and such, but this was just a way to simplify the Hal file for myself, it is not really required, all the connections can be made using seperate Hal components.
If you do want to use a script, the best way to get the values of the input pins and the encoder counts is to simply create the pins needed.
I would honestly browse the forum, I'm sure a topic came up recently regarding a configuration for a pendant.
Forget AI for Linuxcnc, I have seen some very upset people when it is pointed out the code produced is more or less useless.
One reason for the concept of Hal in Linuxcnc is so that a non programmer can just join this bit to this and this bit to that without having to indulge in programming.

Now my thoughts usually don't run in an ordered manner, what you best might is to describe by words, schematics, drawing on the back of an envelope, blackboard or for us more of a Luddite bent maybe a drawing on a cavewall. Once we know how you want to connect this bit to that bit answers will come.
But yeah read the docs, have a browse of some of the supplied components and see what best fits what you need to do.


What follows is the ranting old man, can be ignored. Or hysterically laughed at. ;)
It does seem quite ironic that AI isn't a great help with a project such as Linuxcnc. CNC controlling the machines and AI replacing the use of the human mind.
Once humanity achieves Actual Intelligence may Artificial Intelligence maybe of some use.
  • emresensoy
  • emresensoy
17 Sep 2025 04:59
  • emresensoy
  • emresensoy
17 Sep 2025 04:53
EtherCAT Manual Panel was created by emresensoy

EtherCAT Manual Panel

Category: Show Your Stuff

On the way,

We will use our EtherCAT 32x Digital IO Board with this panel,
  • emresensoy
  • emresensoy
17 Sep 2025 04:47
Replied by emresensoy on topic EtherCAT Isolated Digital & Analog IO Board

EtherCAT Isolated Digital & Analog IO Board

Category: Show Your Stuff

Did you actually see the connectors wonky on this board?
  • gastonmaffei
  • gastonmaffei
17 Sep 2025 04:02

How do G2/G3 interact with a rotated coordiante system via G10 L2 R-?

Category: G&M Codes

Ok, I think I answered my own question. I spun up a quick VM and ran linuxCNC within it. Indeed, the arc motion commands G2/G3 accompany the rotation of the coordinate system. That is, if you perform

G10 L2 P2 R45
G55
G2 X2 R1 or G2 X2 I1 -> this creates an arc rotated 45deg so that it starts at machine 0,0 and ends at machine 1.414, 1.414

If you instead do
G18
G3 Z-2 K-1 -> this creates an arc from 0,0 to 0,-2 that is contained in X'Z, where X' is at 45deg wrt both X and Y.

Maybe I misunderstood the docs, but this is the situation that makes most sense to me.
  • PCW
  • PCW's Avatar
17 Sep 2025 03:43
Replied by PCW on topic 7i76E Spindle configuration

7i76E Spindle configuration

Category: PnCConf Wizard

You should be able to debug spindle operation by using halshow
to look at the spindle pins as you set the spindle speed to different values
Important things to watch are:

hm2_7i76e.0.7i76.0.0.spinout-minlim  
hm2_7i76e.0.7i76.0.0.spinout-maxlim   
hm2_7i76e.0.7i76.0.0.spinout-scalemax 
hm2_7i76e.0.7i76.0.0.spinena-invert  

 hm2_7i76e.0.7i76.0.0.spinout
hm2_7i76e.0.7i76.0.0.spinena


Also make sure then the electrical connections are correct
(so you have 10V from SPIN+ to SPIN-)
  • RobotMatic
  • RobotMatic's Avatar
17 Sep 2025 03:25
Replied by RobotMatic on topic 7i76E Spindle configuration

7i76E Spindle configuration

Category: PnCConf Wizard

I was able to correct the IP address
it doesn't work, I can set cw-cww-enable but no speed.
I am trying to update and it cannot find the linuxcnc repository , gives an error
I am using 2.9.5

Should I reinstall everything again?
I don't understand what is happening
  • tommylight
  • tommylight's Avatar
17 Sep 2025 03:20
Replied by tommylight on topic VLANs or multiple ethernet cards?

VLANs or multiple ethernet cards?

Category: Computers and Hardware

Multiple Ethernet cards.
And Mesa always wired directly to the PC, not through HUB or Switch or VLAN.
Now that is out of the way, i have tested Mesa cards through cheap switches (non manageable) and it worked for me without issues for weeks at a time, but i would never run a production machine through it.
I do not know if EtherCAT works through any of those as i never tested this. But i have seen something used for EtherCAT redundancy several years back at a machine show, for some strange reason i did not pay attention.
  • heffamonster
  • heffamonster
17 Sep 2025 03:03
Replied by heffamonster on topic Python pendant logic problems

Python pendant logic problems

Category: General LinuxCNC Questions

Sorry i uploaded them twoce
  • heffamonster
  • heffamonster
17 Sep 2025 03:01
Python pendant logic problems was created by heffamonster

Python pendant logic problems

Category: General LinuxCNC Questions

Greetings ,
You guys are awesome BTW
I am working on a python logic script to control some switches, a button, and a couple encoders connected to the p1 connector of the Mesa 7i96s IO with 5vdc going to power the encoders. They are just simple switches wired one side to P1 input, the other side to ground. I have been working with ChatGPT to develop this script but it can only go so far. It really has trouble with the little details. (id; .get() set()) I don't totally understand it either and need some help. I have included my hal filses and the python script. Any and all help is greatly appreciated.

File Attachment:

File Name: pendant.py
File Size:10 KB

File Attachment:

File Name: custom.hal
File Size:1 KB

File Attachment:

File Name: test.ini
File Size:5 KB

File Attachment:

File Name: pendant.py
File Size:10 KB

File Attachment:

File Name: custom.hal
File Size:1 KB

File Attachment:

File Name: test.ini
File Size:5 KB
  • alekisan
  • alekisan
17 Sep 2025 02:56 - 17 Sep 2025 02:57
Replied by alekisan on topic Ethercat auto configurator.

Ethercat auto configurator.

Category: EtherCAT

Hello!
I am attempting to compile the configurator but I'm running into an issue. 
To compile it needs "ethercat_master/tool/common.h"
I went to gitlab.com/etherlab.org/ethercat but that codebase does not contain a "common.h" file in the tool directory.
Any assistance on compiling would be appreciated.
 
  • nanowhat
  • nanowhat
17 Sep 2025 02:53
Replied by nanowhat on topic VLANs or multiple ethernet cards?

VLANs or multiple ethernet cards?

Category: Computers and Hardware

that should give you enough with what you can do with mesa ethernet
 

That's not my concern. I remember hearing somewhere that the Mesa ethernet link takes over the whole interface, and prevents other traffic from using it too. Wherever I heard that, nothing was said about VLANs, so I assume they were using the physical interface. If the mesa link wants to take over the VLAN that's fine, but if it takes the whole physical interface in spite of VLANs being configured, that would be irritating.
  • Hakan
  • Hakan
17 Sep 2025 02:07
Replied by Hakan on topic VLANs or multiple ethernet cards?

VLANs or multiple ethernet cards?

Category: Computers and Hardware

I wasn't able to make the ethercat master use the vlan interface, only the physical.
On the other hand I don't really know what I am doing, so a test is advised.
  • unknown
  • unknown
17 Sep 2025 01:48
RPi Images was created by unknown

RPi Images

Category: Installing LinuxCNC

I can no longer provide support nor able to provide update images do to external issues. Hopefully someone will jump in.
  • unknown
  • unknown
17 Sep 2025 01:44
A response, don't read just venting was created by unknown

A response, don't read just venting

Category: Off Topic and Test Posts

Past caring, you all the admins, have let this individual carry on way too long. I've tried contacting the admins, and starting a topic regarding the issues with the information the person has given. It's the community and the advice and information that is what concerns me. More than completely misplaced. 
Displaying 8581 - 8595 out of 18050 results.
Time to create page: 0.336 seconds
Powered by Kunena Forum