Advanced Search

Search Results (Searched for: )

  • vre
  • vre
15 Mar 2025 00:29
Replied by vre on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

My observation is the fastest ioc32 data rate led blicks(more speed)
the numbers of encoder read go more crazy.
  • cmorley
  • cmorley
15 Mar 2025 00:04
Replied by cmorley on topic QTDragon_hd won't display a larger file.

QTDragon_hd won't display a larger file.

Category: Qtvcp

try adding to the INI:
[DISPLAY]
GRAPHICAL_MAX_FILE_SIZE = 40
  • atrex77
  • atrex77's Avatar
14 Mar 2025 23:40

Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC

Category: General LinuxCNC Questions

i have options to push the poll rate even further with PIO&DMA + using the W5100s interrupt pin.I won't be bored for a few days. :)
  • PCW
  • PCW's Avatar
14 Mar 2025 23:36
Replied by PCW on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

You can low pass filter the outputs
Also for noise and stability I would

1. Run the pots from the 7I73s 3.3V if you can
(Since this is the 7I73s analog input reference the reading
will be ratiometric, so a change in the 3.3V will not change the reading)

2. Low pass filter the inputs at the 7I73 (say with a 0.1 uF capacitor to 7I73 ground)

3. Low pass filter the analog hal signal (a 1 LSB  dither is expected with almost any
A-D at least at some (halfway between) input levels)
  • PCW
  • PCW's Avatar
14 Mar 2025 22:58
Replied by PCW on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

That does not set the rate though, what I did for testing was:

                if (inst->hal->rate > .001) {
                    timer = 1e9 / inst->hal->rate;
                }  else {
                    timer = 1e9 / 1000;  # 1 ms
                }      
 
 
  • PCW
  • PCW's Avatar
14 Mar 2025 22:54
Replied by PCW on topic OLD Lathe conversion to a CNC

OLD Lathe conversion to a CNC

Category: Turning

Those *.tmax times are in CPU clock cycles and probably OK
if the CPU is ~3 GHz
  • tommylight
  • tommylight's Avatar
14 Mar 2025 22:50
Replied by tommylight on topic OLD Lathe conversion to a CNC

OLD Lathe conversion to a CNC

Category: Turning

First thing, get some thermal paste to put on that processor, and the one before it, both are getting very hot doing not much, some Intel processors will start throttling at 63C, some a bit later, but nearly 70 you are getting seems to high with such medium load.
  • vre
  • vre
14 Mar 2025 22:49
Replied by vre on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

try this to mesa_modbus.c.tmpl i think works?
// timer = 1e9 / inst->hal->rate;
timer = (inst->hal->rate == 0) ? 0 :1e9;
  • PCW
  • PCW's Avatar
14 Mar 2025 22:38
Replied by PCW on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

Yes, I would test at say a 100 Hz update rate.

I was just checking the 0.1 Hz update rate, as you said
it did not work, but it seems OK.

So if you can change the update rate from 0 to some positive number
while running and it keeps working, that indicates that at least one
divide by zero issue has been fixed.

The bad data error you have may be unrelated but the divide by zero fix
seems to have solved the very similar error finnengineering had with the stepgens


 
  • vre
  • vre
14 Mar 2025 22:28
Replied by vre on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

Yes works but it is practically unusable with 10sec intervals
also the problem of random data to encoder input it is unknown if resolves
completely or just happens in these long intervals and it is difficult to detect..
With update-hz set to 0.05 does not work.
  • atrex77
  • atrex77's Avatar
14 Mar 2025 21:56

Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC

Category: General LinuxCNC Questions

i do not post it but i compiled my benchmark to windows also with nearly same results, so the pico is the bottleneck here.
  • atrex77
  • atrex77's Avatar
14 Mar 2025 21:47

Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC

Category: General LinuxCNC Questions

i dont think all functions are able to handled with one pico, i have more time now for testing because the first PCB-s are only shipped on mar.23 and the components is in the coming week.
  • atrex77
  • atrex77's Avatar
14 Mar 2025 21:42

Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC

Category: General LinuxCNC Questions

actually not using PIO now, the UDP data transfer runs on core0 and all io handling runs on the second core, i use the W5100s-evb-pico for the project with the wiznet library (using arduino ide) (for PIO testing i make a frequency generator (later stepgen) and send velocity from 1 of linuxcnc joint to it, it makes 2Mhz signal but dont have a fancy scope to find its jittering. Shock settled on my face, and a small smile appeared at the corner of my mouth when I saw the signal on the scope.
  • andypugh
  • andypugh's Avatar
14 Mar 2025 21:15

Developing a Raspberry Pi Pico-based I/O Board for LinuxCNC

Category: General LinuxCNC Questions

Looks promising. Many LinuxCNC hardware interfaces run at 1kHz, and that works fine for most purposes.
Are you using the PIOs to handle the communications? Maybe there are gains to be made there?

Does the Pi-Pico handle UDP natively?
  • besriworld
  • besriworld
14 Mar 2025 21:07 - 14 Mar 2025 21:08
Replied by besriworld on topic OLD Lathe conversion to a CNC

OLD Lathe conversion to a CNC

Category: Turning

With the new processor, latency seems better. But the test started without internet (I had a problem with the internet).

 

File Attachment:

File Name: 1741970242.lat.txt
File Size:1,007 KB


But it seems the main problem is the communication with the mesa card. Please see the attached picture.
I get this as soon as I start LinuxCNC. Why are ping times good, but in LinuxCNC it is so slow?

 
Displaying 17671 - 17685 out of 18512 results.
Time to create page: 2.110 seconds
Powered by Kunena Forum