Advanced Search

Search Results (Searched for: )

  • meister
  • meister
Yesterday 11:36

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

if the testgui works, the hardware and gateware should be ok.

the c/riocomp.c must always match the gateware.
so if you have made changes to the config.json and start your LinuxCNC GUI on a different computer or from a different directory, it cannot establish a connection because the protocol no longer matches.

another reason may be that linuxcnc is trying to connect to the wrong IP.

you can look in the riocomp.c to see which ip is there:

#define UDP_IP “192.168.11.194”

and check in config.json whether UDP is really being used:

"protocol": "UDP",
  • epineh
  • epineh
Yesterday 11:16

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

I still have a weird issue that I am thinking is my hardware somehow, I can connect in the test GUI, see inputs, quadrature encoders and toggle outputs, but the terminal window keeps saying received data have wrong header. I have triple checked pins for conflicts. Apart from the terminal spamming that message it seems to test OK. 
Unfortunately LinuxCNC won't get out of estop, and spams wrong header size.

I am still treating it as my hardware, going to setup a different PC, I took out the Tang Nano that is in my milling machine and flashed it but the fault persists. If not the PC, I'll start swapping out PCB's from my two working machines.

Worst part is it was all working nicely last night.
  • suraj9735
  • suraj9735's Avatar
Yesterday 09:09

Adding external switch for emergency stop and feed override

Category: Basic Configuration

Update,

I have successfully added the emergency stop button. The problem was with the Mesa 7i95 board's nomenclature used for input/output pins. I was using the wrong pin (hm2_7i95.0.gpio.000.in). The correct input 00 pin for the Mesa 7i95 board is inmux 00 pin (hm2_7i95.0.inmux.00.input-00). Below is the code added to the hal file...

net estop-out iocontrol.0.user-enable-in
net external-estop-in hm2_7i95.0.inmux.00.input-00 => iocontrol.0.emc-enable-in


The next problem is still pending about the feed override.
Thank you, Benb and PCW, for your input. You are correct that I want to control feed override using external analog voltage control (cRIO-9045, NI-9775, LabVIEW Software). I have never modified the Mesa default pin configuration, and I am trying to search for how to modify the Mesa board pin configuration. It would be great if I could use the motor or encoder pin for analog input. I request that you give me more ideas/references to do the same. As PCW suggests,  "The 7I95/7I95T has no analog input, so an encoder is probably a better choice." Kindly give more hints on how to use the encoder to control the feed override using external analog voltage control (cRIO-9045, NI-9775, LabVIEW Software)

Another idea I am thinking about is serial communication using the serial port available in the Mesa board; there are two serial communication ports (serial 1, serial 2). But at the moment no idea how to do this as well.

Another thing I was trying to identify was the pin/parameter that is responsible for feed override. In Axis GUI, there is a button for feed override, but I am not able to locate the corresponding pin and parameter in the Halshow Configuration window. I do locate one pin, but it is saying it is not writable. A screenshot is attached.

Thanks
  • meister
  • meister
Yesterday 08:12

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

was my mistake, normally I give a warning/error if a pin is used twice, but I had once installed that you can use input pins more than once and forgot to check if both pins are marked as input.

is fixed in dev branch
  • Edi_48
  • Edi_48
Yesterday 07:38
Replied by Edi_48 on topic Rote LED

Rote LED

Category: Deutsch

Hallo ich habe den Test an 2 Verschiedenen Mesa ausgeführt
  • Smitherman
  • Smitherman
Yesterday 07:12 - Yesterday 07:14

Cumark Closed-Loop VFD with EtherCAT (non-CiA402) Configuration

Category: EtherCAT

My first guess, with a quick lock over your files, is that you mentioned directly in the beginning that its an non CIA402 conform drive.
So my first question is why did you use CIA402 in your hal?
Maybe you should connect each PDO which you need from your XML with the correct hal pin over lcec so that you always connect with the right pdos. With the CIA402 you cannot really say...

For your info i bought the ES580 with a Lusintun Spindle and i will go nearly the same path with the Ethercat board, so maybe we will find a solution together...
  • vre
  • vre
Yesterday 07:12 - Yesterday 07:15
Replied by vre on topic Arduino IO Expansion

Arduino IO Expansion

Category: Show Your Stuff

Can I use this project for 4 analog pot inputs rapid feed spindle and jog speed?
Arguino pro mini will work ? 
How I will connect with PC with ttl2USB adapter or it is better to use leonardo that has USB interface?
What about esp32 will work with this?
  • unknown
  • unknown
Yesterday 06:16
Replied by unknown on topic Do I need a better PC?

Do I need a better PC?

Category: EtherCAT

It's the Realtek hardware, nothing wrong with ethernet chip used by Mesa.
  • Kieran
  • Kieran
07 Jul 2025 03:59
Replied by Kieran on topic Do I need a better PC?

Do I need a better PC?

Category: EtherCAT

I updated the ethernet driver and t seems to be ok now. It appears its an issue with mesa ethernet boards and realtek hardware which is how i found out about it. seems its an issue with EtherCAT as well.
  • rickjmain
  • rickjmain
07 Jul 2025 03:39
Replied by rickjmain on topic How to fix "Queue is not empty after probing"

How to fix "Queue is not empty after probing"

Category: General LinuxCNC Questions

I'm setting up my tool height setter and am having a similar issue.  It is not happening every time, but I'd say around 50% of the time i run the command.  I am running 2.9.4, gmoccapy and on an intel N100 PC and have no other latency issues.
Full error line is: emc/task/emctask.cc 68: interp_error: Queue is not empty after probing.  The other odd thing is when I don't get the error, #5063 will have a good value in it, but #5070 never gets set to 1

Gcode for the probe sub:
o<tool_probe> sub
O100 if [#<_task> EQ 0]
O100     return
O100 endif
G17 G20 G49 G90
G0 G53 X35.52 Y13.415
G0 G53 Z-7.0
G91
G38.3 Z-4 F10
(DEBUG, Z#5063)
G90 G53 Z-4.0
o<tool_probe> endsub
 
  • SjCNC
  • SjCNC
07 Jul 2025 01:36
Replied by SjCNC on topic Please help with adding laser control

Please help with adding laser control

Category: Plasma & Laser

Thanks for checking things over PCW!

I can't setp the value since it's linked to a signal, but when gcode runs M67 E0 Q0, GPIO 017 does go false.

'setp hm2_7i76e.0.pwmgen.00.scale 100' has been added, this may yield better results. Since I didn't set the scale, all values (1-100) were sending full power. This tip right here may be the biggest sanity check, thanks PCW!
  • PCW
  • PCW's Avatar
07 Jul 2025 00:57
Replied by PCW on topic Please help with adding laser control

Please help with adding laser control

Category: Plasma & Laser

The connections look OK

If you set the PWM value to 0, does GPI0 017 go false?

I don't see that the PWM scale was set so anything >= 1 will be full scale
(default PWM scaling is 1.00 = full scale)

If the PWM values are in percent, you probably wantsetp hm2_7i76e.0.pwmgen.00.scale 100

in the hal file



 
  • tommylight
  • tommylight's Avatar
07 Jul 2025 00:24

Failed Parallel Port on system, Recommended Easiest Upgrade Solution ?

Category: General LinuxCNC Questions

Use Rufus to write the ISO to USB, or Balena Etcher should also work.
Also make sure the BIOS is set to boot from USB first, or, press repeatedly the F12 button at power on till you see the bootable device list. F11 on some PC's, F8 on Asus, etc.
  • tommylight
  • tommylight's Avatar
07 Jul 2025 00:20
Replied by tommylight on topic Grizzly G1006 with Servos

Grizzly G1006 with Servos

Category: Show Your Stuff

You can wire the drives directly to Mesa and get rid of the parallel port boards.
  • langdons
  • langdons
07 Jul 2025 00:11
Replied by langdons on topic Grizzly G1006 with Servos

Grizzly G1006 with Servos

Category: Show Your Stuff

I would leave it mostly as-is; it's so beautifully made.

He obviously took pride in his work.

What is that IPAC board?

Why change something so neatly and carefully made?

If it ain't broke, don't fix it.
Displaying 61 - 75 out of 25544 results.
Time to create page: 0.253 seconds
Powered by Kunena Forum