Remora - ethernet NVEM / EC300 / EC500 cnc board

More
3 years 4 weeks ago #282119 by oficinerobotica
Hoping this can help anyone, here is my experience so far. I'm using the DMA branch. I managed to flash the board and upload a configuration to it and install both remora-eth and remora-nv linuxcnc components. I've installed them both because there are various example configurations in various branches. Some use one component, some use the other. 

Long story short, with LCNC out of estop, i kept getting folowing errors as soon as I tried to jog even at 3mm/min. After hours of banging my head I decided to do a full chip erase and a reflash of the board using pyocd.  I supose the full chip erase did something because i reflashed the ec500 before. And wow... no more following errors. Full speed ahead. The same pc and the same configuration.

Now I have created a simulated machine using stepconf just to be able to study the configuration files. Default 3 axis mill. On the simulated machine I get no real-time delay errors.
For the kiks of it I used that configuration loading the remora component in .hal instead of its own and I immediately get the dreaded real-time delay error. Now why is that? The delay is tied in some way to the remora  component? Pinging the board I get ~0.150ms response time. 

Can the delay be safely ignored in my main remora configuration?  I can get rid of it only when I set the servo-thread at 5000000. Anything below will bring it up as soon as I go out of estop. Should I set the servo-thread to 1000000 and just ignore the pop-up?

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

More
3 years 4 weeks ago #282120 by manager12345
Thank you for your reply! Would you like to clarify that such a simulation idea is suitable for my project? So that, for example, when the spindle is cooled, a light bulb lights up, what is happening?
 

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

More
3 years 4 weeks ago #282122 by manager12345

Hello everyone I have an NVUM V2 USB board and it is configured for Mach3. But there was a need to switch to Linux CNC. I wanted to find out from experts if I could flash such a board on Remora for LinuxCNC and whether such a system would work at all?
In order for you to understand more, a simulator \ simulator for training is going to be built, and you need to make an operator panel and the movement of the machine and the compilation of its G\M code will be shown on the screen itself. The board is needed in order to perform the basic functions of the CNC machine in the form of a simulator.
Tell me, please, will such a system work? And are there any solutions to make it work?
Hi, the USB based boards are not supported by Remora or LinuxCNC as USB is not realtime capable. However for your application if only wanting to have a simulator, why not run LinuxCNC in sim mode. There are configurations already available.
Thank you for your reply! Would you like to clarify that such a simulation idea is suitable for my project? So that, for example, when the spindle is cooled, a light bulb lights up, what is happening?

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

More
3 years 4 weeks ago #282128 by chrstrvs
Hey, Scott!

Thanks for replying!

The NVEM is a v2 with a STM32F20-something.

1. Flash Remora firmware - done
Yes.
2. Installed remora-nv LinuxCNC component - done, by the sounds as the example config starts
Yes, although since I followed your video, which if I understand correctly might be a bit outdated, I accidentally installed the older component Remora-eth, and then later Remora-nv. I don't know if that could have a negative effect on anything?
3. Checked communication with the board by pinging 10.10.10.10 - done, by the sounds as LinuxCNC has come out of e-stop?
Yes, this works!
4. Uploaded a configuration file to the controller board? python3 upload_config.py yourconfigfile.txt
Well yes and no. I tried it to see that it works, but to be honest I don't know what config to upload.

As I don't have any motors connected it's hard to tell if there is any movement, but looking at the graphic inteface it does not appear to be moving.
Also when I get the "joint [0-2] following error" the machine shuts down.

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

More
3 years 4 weeks ago #282178 by GeramyL

Hey, Scott!

Thanks for replying!

The NVEM is a v2 with a STM32F20-something.

1. Flash Remora firmware - done
Yes.
2. Installed remora-nv LinuxCNC component - done, by the sounds as the example config starts
Yes, although since I followed your video, which if I understand correctly might be a bit outdated, I accidentally installed the older component Remora-eth, and then later Remora-nv. I don't know if that could have a negative effect on anything?
3. Checked communication with the board by pinging 10.10.10.10 - done, by the sounds as LinuxCNC has come out of e-stop?
Yes, this works!
4. Uploaded a configuration file to the controller board? python3 upload_config.py yourconfigfile.txt
Well yes and no. I tried it to see that it works, but to be honest I don't know what config to upload.

As I don't have any motors connected it's hard to tell if there is any movement, but looking at the graphic inteface it does not appear to be moving.
Also when I get the "joint [0-2] following error" the machine shuts down.
Here is the basic config which includes X, Y and Z axis
github.com/scottalford75/Remora-NVEM/blo...vem-basic-config.txt
Here is the full config which includes inputs and outputs and also x, y and z.
You will need to remove the components you dont need.
github.com/scottalford75/Remora-NVEM/blo...nvem-full-config.txt

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

More
3 years 4 weeks ago #282184 by chrstrvs
Is it not possible to write the full config to the NVEM and only use some of the motors, inputs and outputs in LinuxCNC?

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

Time to create page: 0.536 seconds
Powered by Kunena Forum