Advanced Search

Search Results (Searched for: )

  • DarkPhoinix
  • DarkPhoinix
28 Apr 2025 18:25
Replied by DarkPhoinix on topic [SOLVED]linuxcnc Latency test ambiguous results

[SOLVED]linuxcnc Latency test ambiguous results

Category: General LinuxCNC Questions

ping -c 4 -i .2 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=255 time=0.295 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=255 time=0.416 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=255 time=0.278 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=255 time=0.425 ms

--- 10.10.10.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 612ms
rtt min/avg/max/mdev = 0.278/0.353/0.425/0.067 ms


chrt 99 ping -i .001 -q -c 60000 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.

--- 10.10.10.10 ping statistics ---
60000 packets transmitted, 59999 received, 0.00166667% packet loss, time 60751ms
rtt min/avg/max/mdev = 0.158/0.255/4.918/0.225 ms
  • Rocky
  • Rocky
28 Apr 2025 18:05
Replied by Rocky on topic Hi everyone

Hi everyone

Category: General LinuxCNC Questions

I have a feeling the way I'm trying to wire my end and home min stops is the prob(use to 3d printers) but I redid the pnconfig using discover board and now the endstops don't stop me from turning the machin on in linuxcnc so I'm slowly getting there
  • PCW
  • PCW's Avatar
28 Apr 2025 17:31

[SOLVED]linuxcnc Latency test ambiguous results

Category: General LinuxCNC Questions

No, just the statistics reported at the end of:

ping -c 4 -i .2 10.10.10.10
sudo chrt 99 ping -i .001 -q -c  60000 10.10.10.10

The last command will run for 1 minute


 
  • Attis92
  • Attis92
28 Apr 2025 17:05

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Hello,

I'm trying to set up an EC500 board with Remora firmware, but I'm encountering an issue.
I successfully flashed the latest BIN file to the MCU (using DAPLink, PyOCD, etc.).
Then, I tried to upload the DMA-based stepgen configuration (
ec500-rt1052-DMA.txt
), but Remora reports:
JSON Config file CRC incorrect
My Python version is 3.11.2

Here is the upload log:
Valid JSON config file, uploading to NVEM board
Config file length (words) = 2171
Config file length (bytes) = 8681
Remainder = 1
Padding added =  [0, 0, 0]
Config file length with padding (bytes) = 8684
CRC-32 = 0x28a8b96b

And this is the serial port response:
Receiving new configuration. Stopping threads..
    timer stop
    timer stop


Checking new configuration file
mod = 1, padding = 3
Length (words) = 2171
JSON length (bytes) = 8681
crc32 = c17ec40f
JSON Config file CRC incorrect
Has anyone encountered this issue before?
What am I doing wrong?Thanks in advance!
  • DarkPhoinix
  • DarkPhoinix
28 Apr 2025 17:04
Replied by DarkPhoinix on topic [SOLVED]linuxcnc Latency test ambiguous results

[SOLVED]linuxcnc Latency test ambiguous results

Category: General LinuxCNC Questions

What was the result of the ping command?

 

You need result of all 40000000?
  • PCW
  • PCW's Avatar
28 Apr 2025 16:56 - 28 Apr 2025 22:22
Replied by PCW on topic spindle with encoder

spindle with encoder

Category: Basic Configuration

Typically you just have one track of holes and the B detector offset from the A detector by
hole_pitch*(N+1/4). That is, if the holes were 2 mm apart, the A/B detectors would be
spaced .50 MM or 2.50 mm or 4.50 mm etc.

This 1/4 pitch offset gives you the desired 90 degree phase difference between A and B.
Note the when drilling holes you should aim for a 50% duty cycle waveform
on A and B. This may require some experimentation and changing  the sensors
radial positions.
  • vre
  • vre
28 Apr 2025 16:37
Replied by vre on topic spindle with encoder

spindle with encoder

Category: Basic Configuration

Why if i put in spindle shaft an aluminum disk with 2x100 holes(pi/2 equally spaced for A-B) and 1 hole for index drilled on the same mill?
I think i can do holes 1-1.5mm in the same mill accurately.
  • PCW
  • PCW's Avatar
28 Apr 2025 16:35

[SOLVED]linuxcnc Latency test ambiguous results

Category: General LinuxCNC Questions

What was the result of the ping command?
 
  • PCW
  • PCW's Avatar
28 Apr 2025 16:30
Replied by PCW on topic Hi everyone

Hi everyone

Category: General LinuxCNC Questions

If you can get LInuxCNC running, I would first verify the home switch operation
with halshow.

 
  • PCW
  • PCW's Avatar
28 Apr 2025 15:06 - 28 Apr 2025 15:07

AC Servo tuning - Joint 0 following error at high velocities

Category: Basic Configuration

It looks to me like the FF1 term is different (too low) in the plots where the following
error tracks the velocity (higher velocity plots) Did you change some drive parameter
in these plots?

Also note that the velocity is not higher in the 6000 mm/m plots as it only gets to ~50 mm/s
(3000 mm/m) because of the acceleration bound
  • tommylight
  • tommylight's Avatar
28 Apr 2025 14:55
Replied by tommylight on topic joint 0 following error

joint 0 following error

Category: General LinuxCNC Questions

Upload hal and ini files here so we can have a look.
  • Cynas
  • Cynas
28 Apr 2025 14:20
Replied by Cynas on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

Has anyone checked if this works on another computer?
  • Rocky
  • Rocky
28 Apr 2025 13:59
Hi everyone was created by Rocky

Hi everyone

Category: General LinuxCNC Questions

I bought a used workbee with a mesa 7i96 board and I have never used linux befor, I got linuxcnc loaded on an old laptop and started working on the board, the previous owner lost all his files in a move so iv tried to figure out how he wired it but he can't rember how he did it.  I got to the point were I can jog moters, I am now onto endstops and I'm lost, I used the pnconfig wizard to set each endstop on its own pin(micro switches power to com and pin to nc) the only thing he left hooked up was the estop on pin 0 but it's backwards(pushed in let's me power linuxcnc in axis mode) and the ssr for the water pump(220v vfd, water cooled spindle and pump), some of the wiring he left on the out row i don't understand and iv looked for days to see if I could find any guides he may have used.  If any one here knows this board we'll and has time to help me id really appreciate it.  I know linuxcnc isn't the best choice for a new cnc owner and new to linux(I'm use to marlin for 3d printers) but I'd like to try and make this machine come back to life.  If this is posted in the wrong spot please move it to the right spot(new here)
  • abi9624
  • abi9624
28 Apr 2025 13:05

AC Servo tuning - Joint 0 following error at high velocities

Category: Basic Configuration

Hi,
I am a newbie to Servo tuning. I made a linear guide (Travel length: 500 mm) and attached servo motor to it.

Servo Motor: Inovance MS1H2-10C30CB-A331Z-INT with 23 bit encoderServo
Drive: Inovance SV670P
Mesa card:7i97T

Servo drive is configured in speed mode and controlled through analog voltage - 10V. Followed the Servo tuning guide from this forum and tuned the P, FF1, FF2 values. Tuned with a displacement of 5mm.

This setup works upto 3000 mm/min for both continuous jogging and fixed length. Above 3000 mm/min, i am getting Joint-0 following error during continuous jogging and less error for small lengths and frequent errors for larger lengths.

I doubt whether the tuning is correct or not. Help me to solve this issue.

I have attached servo drive manual, INI file, HAL file and Hal Scope screenshots at 2880 mm/min and 6000 mm/min for both 5mm and 50 mm jogging.

Thanks in advance.  
  • DarkPhoinix
  • DarkPhoinix
28 Apr 2025 12:54 - 15 May 2025 14:46

[SOLVED]linuxcnc Latency test ambiguous results

Category: General LinuxCNC Questions

 
 
 
   
I have run various tests with different commands to check the latency but I don't know if I'm doing things correctly:
stress --cpu 4 --io 4 --vm 4 --vm-bytes 1024M --timeout 120s

[code]chrt 99 ping -i .001 10.10.10.10 -c 40000000

with stress I get good results with all the cpus at maximum usage, instead with chrt even if the cpus are not busy I see disastrous latency.
what should I do (kernel parameters, kernel recompilation)? the PC is not good for LinuxCNC?
If I don't use hardware parallel port and use NVEM, does this latency matter for operation?

my hardware:
motherboard: P8H61/USB3 R2.0
CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
VGA: VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1) (Driver NOUVEAU)
Controller: NVEM V5
[/code]
Displaying 1426 - 1440 out of 26446 results.
Time to create page: 0.301 seconds
Powered by Kunena Forum