Advanced Search

Search Results (Searched for: )

  • andypugh
  • andypugh's Avatar
10 Oct 2025 20:06
Replied by andypugh on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

Is this with the LinuxCNC install image?
  • andypugh
  • andypugh's Avatar
10 Oct 2025 20:03

Button on Linuxcnc interface that switches an output on Mesa 7i76e on and off

Category: GladeVCP

If your Glade UI element is of type "Hal button" then the HAL pin will be created automatically and no handler file is needed.

(This is stated with 93% confidence, I don't have easy access to a LinuxCNC machine at the moment to test this assertion)
  • Fastfred
  • Fastfred
10 Oct 2025 20:01
Replied by Fastfred on topic Gmoccapy tool setter install "errors"

Gmoccapy tool setter install "errors"

Category: Gmoccapy

[Gmoccapy.GMOCCAPY.GETINIINFO][[33mWARNING[0m] No DEFAULT_SPINDLE_SPEED entry found in [DISPLAY] of INI file (getiniinfo.py:282)
[Gmoccapy][[33mWARNING[0m] No virtual keyboard installed, we checked for <onboard>. Try 'sudo apt-get install onboard'. (gmoccapy:2112)
gmoccapy_postgui.hal:24: Pin 'gmoccapy.toolchange-change' was already linked to signal 'tool-change-request'
10530
  • andypugh
  • andypugh's Avatar
10 Oct 2025 20:00
Replied by andypugh on topic Axis control via ModbusTCP

Axis control via ModbusTCP

Category: General LinuxCNC Questions

If you have proved that you can control the drive from Python then I would suggest carrying on with that.
You can "import linuxcnc" and "import hal" into your Python script then create HAL pins to recieve the position commands from HAL.

linuxcnc.org/docs/stable/html/config/python-interface.html
linuxcnc.org/docs/stable/html/config/python-hal-interface.html
  • nanowhat
  • nanowhat
10 Oct 2025 19:47

Ethercat drives not responding, mesa error finishing read

Category: EtherCAT

I can try it, but since ethercat at the command line (linuxcnc isn't even running) shows ~50% lost uploads, what's the point?

I don't think this is a linuxcnc problem, but rather some networking or drive problem.
  • andypugh
  • andypugh's Avatar
10 Oct 2025 19:40
Replied by andypugh on topic MPG pendant interface 7I96s

MPG pendant interface 7I96s

Category: HAL

I think that the problem is inconsistent HAL signal naming.

You have
net joint-select-a     <=  hm2_7i96s.0.inm.00.input-01
Then later in the file:
net axis-select-x  halui.axis.x.select

You need to connect the hm2_,,, pins to the halui.... (and motion....) pins.
Use the same signal name (the first term after "net") to link:

hm2_select pin / axis.L.jog-enable / joint.N.jog-enable

hm2_mpg_counts / axis.L.jog-counts / joint.N.jog-counts

You will also need to work out logic to set the scale:

(probably a mux block) axis.L.jog-scale joint.N.jog-scale

For initial testing, try:
net jog-scale => axis.X.jog-scale joint.0.jog-scale
net jog-scale => axis.Y.jog-scale joint.1.jog scale
net jog-scale => axis.Z.jog-scale joint.2.jog-scale
setp jog-scale 0.1

(change the setp to 0.01 if using inches)

If that works, then configure the jog scale (but to help with that we wiuld need to know whether the MPG binary-codes the speed selector or has a pin for each speed)

(This is using the pins from "motion" which are slightly preferable to the halui pins. However HALUI supports analog jog mode, so has its uses.)

linuxcnc.org/docs/stable/html/man/man9/motion.9.html
  • CarbonNater
  • CarbonNater
10 Oct 2025 19:35
Replied by CarbonNater on topic ECMO VMC100 Retrofit with Carousel/Toolchanger

ECMO VMC100 Retrofit with Carousel/Toolchanger

Category: Milling Machines

Looks like mine has two sensors for the tool turret and the z limit switch.
  • Dave3891
  • Dave3891
10 Oct 2025 19:29
FlexGui custom buttons was created by Dave3891

FlexGui custom buttons

Category: Flex GUI

Hi,
I am working on a FlexGui for a waterjet and I want to have some custom buttons that call hal and emc functions. 
I see I can import a python module and do the "from functools import partial" to get the parent, but does the parent also pass access to hal and emc?

I am trying to make a custom stop button that will turn off some hal output pins with hal.set_p() and then call emc.abort() in python so it will turn off the jet and sand when pressed. I also need to make one that will pause by setting the hal pins off and setting the motion.adaptivefeed to 0.

Any help would be appreciated
  • Fastfred
  • Fastfred
10 Oct 2025 19:26
Replied by Fastfred on topic Gmoccapy tool setter install "errors"

Gmoccapy tool setter install "errors"

Category: Gmoccapy

Made the change net tool-change-request iocontrol.0.tool-change.
 
  • nanowhat
  • nanowhat
10 Oct 2025 18:59 - 10 Oct 2025 19:06
Replied by nanowhat on topic Axis control via ModbusTCP

Axis control via ModbusTCP

Category: General LinuxCNC Questions

I have made some progress:

I have had to set the axis velocities to constant values (500000, where the encoder has 524288 counts per revolution), since I don't see any HAL pins from the motion planner that carry that information. I will see about writing a custom HAL component that can interpolate velocity from waypoints.

I assembled a MB2HAL config file, and loaded it as a userspace component through halrun. With that, I could control each motor, with no perceptible lag between command entry and motion.

I can control the motors through Axis, but in G1 feed mode at the MDI, I get one step every second or so. For instance, I will command one axis to G1 Z1.0 F5.0 and it will move ~60° every second or so until the move is done. In G0 rapid mode at the MDI, there is a significant delay, again roughly one second between the time I press Enter and the time the motor begins to move. While the move is in progress, distance to go changes smoothly, but actual position (and the motor shaft) move in steps.
  • DerKlotz
  • DerKlotz
10 Oct 2025 18:50

Button on Linuxcnc interface that switches an output on Mesa 7i76e on and off

Category: GladeVCP

Can you help me understand how Glade and Handler work? I've already created the switch and the LED. How do I now connect them so that pin 17 switches on and off? I'm completly stuck.
  • Digger011
  • Digger011
10 Oct 2025 18:45
Replied by Digger011 on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

I believe you referred to this to run

# rm /etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmware
# apt purge raspi-firmware

What should I do after that? I apologize Tommy, but I have no idea what should I do.
Thanks.
  • Dragan
  • Dragan
  • Aciera
  • Aciera's Avatar
10 Oct 2025 18:26

NEW BUILD, need help with e-stop in tklinuxcnc

Category: Basic Configuration

If you select 'Utilities' > 'HalMeter' in the tklinux menu and select 'iocontrol.0.emc-enable-in' does it show TRUE ?
  • richcolvin
  • richcolvin's Avatar
10 Oct 2025 18:05
Replied by richcolvin on topic Stepper Motor Speed is too slow

Stepper Motor Speed is too slow

Category: Basic Configuration

Peter, thank you for the guidance.  Once I re-enabled the PID stuff, things worked as expected.

I used the auto tuning steps and from there have been able to get to a good state.
Displaying 3256 - 3270 out of 22152 results.
Time to create page: 0.207 seconds
Powered by Kunena Forum