LinuxCNC compatible industrial PC

More
04 Jun 2025 15:55 #329698 by PCW
Replied by PCW on topic LinuxCNC compatible industrial PC
What do you think about these values, and if they are good, are there any other tests you can recommend for this PC before I go all-in?

They are OK, the 0.494 is not great

Did you change the host static IP address to say 10.10.10.100 when you tested the 7I94T at 10.10.10.10?

You can check the EEPROM IP address with:

mesaflash --device ethernet --addr 192.168.1.121 --verbose

You should get something similar to this:

snip
  [space 2] Ethernet eeprom:
    mac address: 00:60:1B:16:08:00
    ip address: 10.10.10.10
    board name: 7I96S
    user leds: Hostmot2

 

Please Log in or Create an account to join the conversation.

More
04 Jun 2025 16:16 #329700 by workshop54
Replied by workshop54 on topic LinuxCNC compatible industrial PC
Yes, the eeprom ip address is 10.10.10.10
$ mesaflash --device ethernet --addr 192.168.1.121 --verbose

ETH device 7I94T at ip=192.168.1.121
Communication:
  transport layer: ethernet IPv4 UDP
  ip address: 192.168.1.121
  mac address: 00:60:1B:18:80:0F
  protocol: LBP16 version 3
Board info:
  Flash size: 16Mb (id: 0x14)
  Connectors count: 2
  Pins per connector: 21
  Connectors names: Expansion+Serial 0..1 Serial 1..7
  FPGA type: T20F256
  Number of leds: 4
Board firmware info:
  memory spaces:
    0: HostMot2 (registers, RW, 32-bit) [size=64K]
    1: KSZ8851 (registers, RW, 16-bit) [size=256]
    2: EtherEEP (EEPROM, RW, 16-bit) [size=128], page size: 1, erase size: 1
    3: FPGAFlsh (flash, RW, 32-bit) [size=16M], page size: 256, erase size: 65536
    4: Timers (memory, RW, 16-bit) [size=16]
    6: LBP16RW (memory, RW, 16-bit) [size=16]
    7: LBP16RO (memory, RO, 16-bit) [size=16]
  [space 0] HostMot2
  [space 2] Ethernet eeprom:
    mac address: 00:60:1B:18:80:0F
    ip address: 10.10.10.10
    board name: 7I94T
    user leds: eth debug
  [space 3] FPGA flash eeprom:
    flash size: 16Mb (id: 0x14)
  [space 4] timers:
    uSTimeStampReg: 0x93D1
    WaituSReg: 0x0000
    HM2Timeout: 0x0000
  [space 6] LBP16 control/status:
    packets received: all 43523, UDP 4, bad 0
    packets sent: all 43423, UDP 4, bad 0
    parse errors: 0, mem errors 0, write errors 0
    error flags: 0x0000
    debug LED ptr: 0x0008
    scratch: 0x0000
  [space 7] LBP16 info:
    board name: 7I94T
    LBP16 protocol version 3
    board firmware version 18
    IP address jumpers at boot: fixed 192.168.1.121

Do you know if there is anything I can do to make the connection faster?

I also did some tests on my laptop (which has latency errors all the time), and it came back with slightly worse values:
$ sudo chrt 99 ping -i .001 -q -c 60000 192.168.1.121
PING 192.168.1.121 (192.168.1.121) 56(84) bytes of data.

--- 192.168.1.121 ping statistics ---
60000 packets transmitted, 60000 received, 0% packet loss, time 60025ms
rtt min/avg/max/mdev = 0.141/0.263/0.571/0.023

Please Log in or Create an account to join the conversation.

More
04 Jun 2025 18:00 #329708 by PCW
Replied by PCW on topic LinuxCNC compatible industrial PC
You can try pinning the IRQ to the last processor
(and using the appropriate isolcpus line in the kernel command line)

0.494 might be OK, probably need to try, worst case, you might
need to slow down the servo thread to say 1.5 or 2 ms
 

Please Log in or Create an account to join the conversation.

More
05 Jun 2025 12:26 #329736 by langdons
Replied by langdons on topic LinuxCNC compatible industrial PC
99.9% of people at my school would not be able to calculate that.

(I can tho)

Please Log in or Create an account to join the conversation.

Time to create page: 0.150 seconds
Powered by Kunena Forum