Remora - ethernet NVEM / EC300 / EC500 cnc board

More
3 years 3 months ago #275229 by cakeslob
Ok tux, to your point, I dont think there is any mention of installing the encoder component in the documents and its unlikely in the RT1052/NVEM repo.
github.com/scottalford75/Remora/tree/mai...omponents/PRUencoder
Here is a link to the encoder comp. Install this like the other one.

PA_0 is likely referring to the STM pin number. I dont know what board you have but if you have a RT1052 board the pin numbers/names will be different.
The following user(s) said Thank You: tuxcnc

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

More
3 years 3 months ago #275235 by meister

 

 Did you know how much time took me to wrote information above?
Exactly four minutes.
And now everybody knows, not me only.
WHAT AND HOW,  no  "It works for me, guess how".
 

ok, how many boards and MCUs are supported in Remora ? how many features are supported ?
how many machine types ? that takes hours to document, he is a good programmer, I think it is better if he spends his time programming cool new features or fixing bugs and when he thinks he is done, maybe he will write a cool documentation.

if you want to help, write a documentation, it only takes you 5 minutes. start a wiki page or open a pull-request in github. or post each update here.
no matter, just make yourself useful
 

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

More
3 years 3 months ago #275237 by tuxcnc

PA_0 is likely referring to the STM pin number. I dont know what board you have but if you have a RT1052 board the pin numbers/names will be different.
 
I have got EC500, and I suspect the same.
Usually, PWM can only be on specific pins internally connected to the correct timer.
I don't know how is it in  RT1052, because Chinese documentation is terrible.
Anyway, where is it this PWM, it is not known ...
 

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

More
3 years 3 months ago #275238 by scotta

I'll ask you now to read the docs!
 
You don't understand me.
Did you test the encoder?
If you did tests, you must have the config.
Why don't you share the config instead "read the docs" advice?
For example the docs says "loadrt PRUencoder names=encoder.0", but I have no PRUencoder.so file, I don't know where from can I get the PRUencoder.so file, so this is useless for me.
Second example is PWM. There is wrote in the header of spindlePwm.cpp file "Module for NVMEM spindle RPM on pin PA_0", but I don't know where is the PA_0 pin in my EC500, so I don't know where I should connect the spindle driver...
I suspect you know, but you don't share this knowledge...
I've tested the functionality of the encoder module to ensure that the encoder count is available in LinuxCNC. I can't test your application of it.

If you would like to see the application of the encoder feedback for a closed loop stepper application, you can look at the freely shared and available example configuration.

github.com/scottalford75/Remora/tree/mai...s/remora-closed-loop

I spend time to research and understand problems and scratch my head to solve them. And yes I share my learnings and the results. Maybe look back over this exact thread where the journey to get to where we are now has been shared every step of the way.

When you read the Digital Dream documentation for your controller board, you will find that there is only one pin for the 0-10V output for spindle control. It's labelled VSO. 

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

More
3 years 3 months ago #275253 by cakeslob
I guess it is about time to do some docs for the nvem, what everyone thinking? Whole new docs or merge with current docs? Maybe an NVEM section in the current docs? Theres many reference to SPI and mbed in the current docs, so I didnt want to make too much work out of it but we dont want it to be confusing. Im not to up on the nvem so I dont know all the specifics.

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

More
3 years 3 months ago #275371 by tuxcnc

the encoder module also supports an index input as well.
 
Could you write these few lines of hal file, how to configure an encoder in the EC500, using an internal "Index Pin", not Hal input pin as in PRUencoder examples ?
(I'm trying to configure lathe spindle for threading, not closed loop motors).

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

Time to create page: 0.782 seconds
Powered by Kunena Forum