Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
14 Dec 2025 15:49 - 14 Dec 2025 15:59
Replied by PCW on topic Issues with simple input on 7i76eu

Issues with simple input on 7i76eu

Category: Driver Boards

The 7I76EU inputs have a threshold of 60% of VFIELD when going positive and 40% of VFIELD when going negative.
This means with 24V VFIELD, a voltage below 9.6V is read as low and a voltage above 14.4V is read as high.
This  is called hysteresis, and is deliberate behaviour for noise immunity. With a 10 K pullup you end up just in the middle
of this input threshold range, You need a stiffer pullup resistor (say 2.2K) so that you have a valid input to the 7I76EU.
  • liutas4x4
  • liutas4x4
14 Dec 2025 14:02

Adding second spindle control to pyVCP: is it complicated?

Category: pyVCP

Thank you. I'll learn. And ask there if don't catch something.
  • Sandro
  • Sandro
14 Dec 2025 11:36 - 14 Dec 2025 11:38
Replied by Sandro on topic Axis deflecting while jogging in G54

Axis deflecting while jogging in G54

Category: QtPyVCP

Thank you very much MaHa!

This worked. Initially with (debug,#5230) I got -0.012195. After G10 L2 P1 R0 it was reset to 0. Perfect. So there was a rotation active? Maybe a leftover from when I probed rotation of a workpiece?
  • Hakan
  • Hakan
14 Dec 2025 10:54

Ethercat compatible Encoder board tentative STM32F4 + LAN9252

Category: EtherCAT

PDI = that parallel communication mode? Noone uses it. Everyone uses SPI.
The last few lines in the xml file should look similar to this. The first "80" means spi, then there
is polarity and other settings. 
        <Eeprom>
          <ByteSize>2048</ByteSize>
          <ConfigData>80060344640000</ConfigData>
        </Eeprom>
Read out the eeprom from the board and verify that is says "80" in the first byte.
I have had my fair share of problems with SPI so I think you again should verify that you can get past the ESC_init() function.
Use the debugger and verify that you read 0x87654321 from LAN9252 on line 445 in the figure
 
You may need to power cycle the LAN9252, it only reads eeprom after power down.
 
  • BoMadsen
  • BoMadsen
14 Dec 2025 09:25
Replied by BoMadsen on topic Issues with simple input on 7i76eu

Issues with simple input on 7i76eu

Category: Driver Boards

I am pretty sure that you are correct, at least in the part about the inputs being reversed between the two boards.
But it is my understanding that this is why the pull-up resistor is needed, so that the input at idle is 12v and then when activated goes to 0. So to get the correct logic in linuxcnc I use the xxx-not input signal.

But I don't understand why the hal state doesn't change after the first trigger, even though I can see the voltage change on the input pin.
  • vibram
  • vibram
14 Dec 2025 09:16

Ethercat compatible Encoder board tentative STM32F4 + LAN9252

Category: EtherCAT

I managed to get spi working but I might have an issue with the eeprom. Apparently I'm stuck in PDI mode and lan9252 is not communicating through spi
  • rodw
  • rodw's Avatar
14 Dec 2025 08:23 - 14 Dec 2025 08:39

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

I asked Grok:
the official linuxcnc Ethercat driver at github.com/linuxcnc-ethercat/linuxcnc-ethercat does not currently support EoE (Ethernet over Ethercat) drives such as the SV660N drive. Can you suggest modifications to the code to enable EoE support?
And he gave a very comprehensive answer.

Its far to comprehsensive to share on the forum due to formatting but I saved hos answer to markdown and converted to pdf which is attached

 
  • rodw
  • rodw's Avatar
14 Dec 2025 08:05

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

Sorry to bust you AI bubble but
  1. where is  eoe_running defined?
  2. where is *arg used?
  3. the for statement seems invalid.

I find Grok lies less than ChatGPT but still gives me wrong code sometimes.
 
  • Hakan
  • Hakan
14 Dec 2025 07:46

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

I spent some time with ChatGpt and I'm of course super skeptical to those tools.
Chatgpt says the likely reason for EoE drives to hang is that the EoE mailbox isn't serviced/emptied.
Yes, it isn't. Maybe one can try that, it doesn't have to be more advanced. A code snippet that does that
static void *eoe_worker(void *arg)
{
    while (eoe_running) {
        /* Receive mailbox data */
        ecrt_master_receive(lcec.master);
        for_each_eoe_ctx(ctx) {
            ecrt_eoe_process(ctx->eoe);
        }
        /* Transmit */
        ecrt_master_send(lcec.master);
        usleep(1000); /* 1 ms, configurable */
    }
    return NULL;
}
There is that ecrt_master_send kworm talked about. It's about principles at this point.
I would need a slave with EoE. I don't have that. Maybe maybe I can make one, there
is an example in SOES with lwip. Or anyone know of a not too pricey servo drive with EoE?
  • rodw
  • rodw's Avatar
14 Dec 2025 07:33
Replied by rodw on topic Issues with simple input on 7i76eu

Issues with simple input on 7i76eu

Category: Driver Boards

Wait until  someone else confirms but I think your issue is that the  Mach3 board senses on the negative side and the 7i76e senses on the positive side. In other words on the 7i76e, you need to switch the input to +24 volts not GND

Read page 24 of the Mesa manual.
  • BoMadsen
  • BoMadsen
14 Dec 2025 06:49
Issues with simple input on 7i76eu was created by BoMadsen

Issues with simple input on 7i76eu

Category: Driver Boards

Hi,

I am trying to convert my DMC2 Mini from the chinese Mach3 board it came with, to LinuxCNC via a Mesa 7i76eu. And I have most of it working by now :) But I am having an issue with two simple inputs.

I have two probes, a hight pug and a xy probe, that basically just connects to GND when triggered. They are connected to the mesa with a 10kOhm pull up resistor. This is what I am seeing when I power the machine on:
- The input pin on the Mesa card reads 12v and the input is as expected high/true in hal show
- I then trigger the probe and the input pin now reads 0v, and the input is low/false in hal show
- After I "release" the probe the input pin returns to 12v, BUT the input remains low/false in hal show

Any ideas why the input in hal doesnt return to high when the pin reads 12v with a multimeter
Field power is 24v, and all voltage readings are done between field GND and the input pin.

Thanks in advance :)
  • Hakan
  • Hakan
14 Dec 2025 03:18

Can't get EL4001 to work - all other devices work

Category: EtherCAT

Verify that the slave has the entered PDOs with "ethercat -p 2 pdos"
Check syslog for any messages, last lines of "sudo dmesg"
If that doesn't give anything, add debug messages "ethercat debug 1"
 restart ethercat master, start linuxcnc and check syslog again for any helpful output.
  • MaHa
  • MaHa
14 Dec 2025 02:15
Replied by MaHa on topic Axis deflecting while jogging in G54

Axis deflecting while jogging in G54

Category: QtPyVCP

In MDI:  (debug,#5230)  to see if there is a rotation around Z. To reset   G10 L2 P1 R0
  • spumco
  • spumco
14 Dec 2025 01:54
Replied by spumco on topic Clearpath HLFB amp.joint.delay

Clearpath HLFB amp.joint.delay

Category: HAL

I think the problem is that the joints are supposed to have numbers, not letters.

Like 

joint.0.amp-fault-in

I just realized you haven't created a signal name, just linked two pins.  Because your joint.(lettter).amp-fault-in pin doesn't actually exist, LCNC is creating a SIGNAL named joint.(letter).amp-fault-in.

That's why you aren't getting an error at startup.

Try this

net x-fault joint.0.amp-fault-in hm2_7i96s.0.inm.00.input-1-not

and so on for the others.
 
  • NWE
  • NWE
14 Dec 2025 01:24

Ursviken Pullmax Optima 130 press brake retrofit with 4 axis backgage

Category: Show Your Stuff

Thanks so much! I used to know that, but totally forgot it this project. For once I started a project without first reading the mesa manual from cover to cover... my error has come to light.
Displaying 946 - 960 out of 20503 results.
Time to create page: 0.337 seconds
Powered by Kunena Forum