Advanced Search

Search Results (Searched for: )

  • enddy
  • enddy
27 Oct 2024 22:40 - 27 Oct 2024 22:47

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I need help about downloading config.txt to nvem v5.
I succeeded in downloading renoma nvem-rt1050 throw MCUXpresso IDE. 
and received ping from nvem like below. 
[code]cnc@raspberrypi:~/linuxcnc/configs/remora-nvem-basic$ ping 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.443 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=255 time=0.143 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=255 time=0.141 ms
^C
--- 10.10.10.10 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2029ms
rtt min/avg/max/mdev = 0.141/0.242/0.443/0.141 ms

However, if I try to send config.txt, a timeout occurs.
[code]cnc@raspberrypi:~/linuxcnc/configs/remora-nvem-basic$ python3 upload_config.py  config.txt
Valid JSON config file, uploading to Novusun board
Config file length (words) = 134
Config file length (bytes) = 535
Remainder = 3
Padding added =  [0]
Config file length with padding (bytes) = 536
CRC-32 = 0x2bf84f80
Timeout waiting for traffic, retrying...
Timed-out waiting for traffic
resending last packet
Resending packet WRQ packet: filename = config mode = octet on sessions <tftpy.TftpStates.TftpStateSentWRQ object at 0x7fa39536d0>
Timeout waiting for traffic, retrying...
Timed-out waiting for traffic
resending last packet
Resending packet WRQ packet: filename = config mode = octet on sessions <tftpy.TftpStates.TftpStateSentWRQ object at 0x7fa39536d0>
Timeout waiting for traffic, retrying...
Timed-out waiting for traffic
Traceback (most recent call last):
  File "/home/cnc/.local/lib/python3.11/site-packages/tftpy/TftpContexts.py", line 171, in cycle
    (buffer, (raddress, rport)) = self.sock.recvfrom(MAX_BLKSIZE)
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/cnc/linuxcnc/configs/remora-nvem-basic/upload_config.py", line 72, in <module>
    client.upload("config", "/tmp/config.txt", timeout=30)
  File "/home/cnc/.local/lib/python3.11/site-packages/tftpy/TftpClient.py", line 101, in upload
    self.context.start()
  File "/home/cnc/.local/lib/python3.11/site-packages/tftpy/TftpContexts.py", line 325, in start
    self.cycle()
  File "/home/cnc/.local/lib/python3.11/site-packages/tftpy/TftpContexts.py", line 174, in cycle
    raise TftpTimeout("Timed-out waiting for traffic")
tftpy.TftpShared.TftpTimeout: Timed-out waiting for traffic

As I see the letters in the temianl as below, I think the firmware was well put, but I don't know why it's not working. 

  [/code][/code]
  • Ismacr63
  • Ismacr63
27 Oct 2024 22:10
Replied by Ismacr63 on topic Use z probe and 3d probe in the same input?

Use z probe and 3d probe in the same input?

Category: QtPyVCP

I think I have understood what you are telling me. The z probe will take a couple of weeks to arrive, when it arrives I will try what you tell me and tell him. Thank you very much for your help.
  • ccc774
  • ccc774
27 Oct 2024 21:54
Replied by ccc774 on topic Can the OPI5 be Configured to Run LCNC?

Can the OPI5 be Configured to Run LCNC?

Category: Computers and Hardware

I tried this but I had a conflict in the uarts declarations. I solved it.
Where can I read how the realtime rtapi_app process is assigned to core 7?
How can I assign realtime priority to a process that uses the uart?
  • Lcvette
  • Lcvette's Avatar
27 Oct 2024 21:36
Replied by Lcvette on topic Use z probe and 3d probe in the same input?

Use z probe and 3d probe in the same input?

Category: QtPyVCP

Yes you can, you must define both inputs in hal using or2, and either use a jumper plug when the touch probe is removed (circuit goes open) or use a 3 pin plug that closes when the probe plug is removed to maintain a closed circuit or do some other more complex hal magic.
  • Ismacr63
  • Ismacr63
27 Oct 2024 20:41

Use z probe and 3d probe in the same input?

Category: QtPyVCP

I have a 3d probe working with probe basic, I have bought a z probe and my question is can I use the 2 probes on the same input pin? Do I have to add a separate line in the hal file?
  • Project_Hopeless
  • Project_Hopeless's Avatar
27 Oct 2024 20:13
pyVCP Button to Float Output was created by Project_Hopeless

pyVCP Button to Float Output

Category: HAL

I have a rcPWM servo working with a GUI slider control.  I want two quick buttons, one OPEN, and one CLOSE.  How can I have a boolean button set a float value? 
<hbox>
  <button>
    <halpin>"opn"</halpin>
    <text>"Open"</text>
    <bd>3</bd>
  </button>
</hbox>
######## rcPWM Gripper Control

setp hm2_[MESA](BOARD).0.rcpwmgen.rate 50
setp hm2_[MESA](BOARD).0.rcpwmgen.00.width 1
setp hm2_[MESA](BOARD).0.rcpwmgen.00.offset 1.0
setp hm2_[MESA](BOARD).0.rcpwmgen.00.scale 112
net PWMcmd  pyvcp.servo-f  hm2_[MESA](BOARD).0.rcpwmgen.00.width        #float

##### button
net PWMcmd  pyvcp.opn  hm2_[MESA](BOARD).0.rcpwmgen.00.offset = 2     #float







 
  • Deckerjwd
  • Deckerjwd's Avatar
27 Oct 2024 20:08
Replied by Deckerjwd on topic 7I33TA Just plug it in?

7I33TA Just plug it in?

Category: Driver Boards

ok so just ran the mesa wizard and copied and pasted, some spindle stuff. works, need it to be always positive but ya works
  • besriworld
  • besriworld
27 Oct 2024 19:56 - 27 Oct 2024 19:58

Problem with Huanyang VFD communication via RS485 in LinuxCNC

Category: General LinuxCNC Questions

I don't know much, but a few days ago I also worked with modbus and mb2hal.  One really useful thing is to turn on debug mode and run linuxcc through the terminal.  You will see error messages.
  • Deckerjwd
  • Deckerjwd's Avatar
27 Oct 2024 19:53
Replied by Deckerjwd on topic What is gs2_vfd ?

What is gs2_vfd ?

Category: General LinuxCNC Questions

ya 00.21 for auto mode and 00.31 for hand/manual
  • rodw
  • rodw's Avatar
27 Oct 2024 19:52
Replied by rodw on topic Getting Gnome desktop.

Getting Gnome desktop.

Category: Installing LinuxCNC

sudo apt tasksel
sudo tasksel

Select the desktop you want
The reason why we use xfce is because it is an Xorg distro and gnome by default ues Wayland which linuxcnc may not like
On the log on screen bottom right, there is a cog icon that lets you select running gnome on xorg
  • rodw
  • rodw's Avatar
27 Oct 2024 19:39
  • rodw
  • rodw's Avatar
27 Oct 2024 19:32

Unexpected realtime delay on task 0 with period 1000000

Category: QtPyVCP

I would call it a Preempt-rt kernel bug since the r8169 driver is a FOSS kernel driver
that fails in RT environments. Unfortunately it looks like very little if any RT work has been
done on network drivers (looking at the RT patches)
 

Agreed aboout the FOSS driver which was what I said in a round about way.
There are no Realtime network drivers because network communications is not considered to be real time, so its not really a RT issue. That's why the CPU affinity becomes important as it keeps the non RT NIC driver on the same isolated kernel as the servo thread.

You  need to write your own NIC driver. This has been done by the ethercat guys but I think they have mostly dropped them from their packages in favour of their generic driver which they acknowlwdge is not real time but is adequate for most Ethercat projects. If you compile Ethercat from source, you can use some Realtime NIC drivers but not sure how current they are.

@Lcvette, I have raised issues with both Debian and the RT kernel team and nobody really cares. If you want changes, you would need to do it yourself
  • Deckerjwd
  • Deckerjwd's Avatar
27 Oct 2024 19:21
Replied by Deckerjwd on topic 7I33TA Just plug it in?

7I33TA Just plug it in?

Category: Driver Boards

Ok firemware loaded np, but cant get any analog out
linuxcnc.org/docs/html/examples/spindle.html, I Follow section 1. "0-10 Volt Spindle Speed" or section 2. "PWM Spindle Speed"

the second on seem more likely for the 7i33ta
  • deltafox24
  • deltafox24
  • PCW
  • PCW's Avatar
27 Oct 2024 16:56
Replied by PCW on topic converting a tos/intos fngj 40

converting a tos/intos fngj 40

Category: Milling Machines

It look like J2 pins 1,2 are the differential analog input

So I would wire:

 7I77AOUT --> J2 pin 2   (non inverting differential input)
 7I77AGND --> J2 pin 1  (inverting differential input)
Displaying 19126 - 19140 out of 24137 results.
Time to create page: 0.679 seconds
Powered by Kunena Forum