Remora - ethernet NVEM / EC300 / EC500 cnc board

More
1 year 5 months ago #327624 by Spyderbreath
Thanks for that fast reply! OK, so if I am understanding correctly, the EC500.hal is universal for all 3 RT1052 based controllers and I just need to edit the .ini file for my machine?

I have uploaded the nvem-rt1052.txt to the controller, and that seems to of worked well.

Looking at the ini file I am now seeing what my first problem has been, as nothing is there but the config for X Y and Z. No Estop, limit switches, spindle, etc.. So at this point I will need to go and RTFM, (this? linuxcnc.org/docs/2.8/html/config/ini-config.html ), on the ini file and try to figure out what I am suppose to put there to get the rest to go.

Given that I am unfortunately a 101% tactile learner, where would be the best place on the forum to ask my questions about what I'm getting wrong as I proceed with this editing attempt?

Thanks again for the info as I have not seen that part explained before. This is a bit of help in the right direction. I'll take it none of the configuration wizards will be of any help in this endeavor?

Please Log in to join the conversation.

More
1 year 5 months ago #327627 by cakeslob
yes the config wizards will be less than helpful in most cases. limits are easy, but estop is a case by case basis depending on how you wish to wire/config your estop. tux posted his estop example a few pages back, and there is an estop example in the remora docs hal section.

for the ini file, yes read the manual, but dont start adding a bunch of options that might not apply to remora.

based on my friends rast's config, the endstops might look like this depending if you do a limit or a limit+ home config. it looks like he has included both in his ini file.
Code:
# end-stops #pin IN03 #net X-max remora.input.06 => joint.0.pos-lim-sw-in net both-x remora.input.06 => joint.0.home-sw-in joint.0.pos-lim-sw-in #pin IN04 #net X-min remora.input.07 => joint.0.neg-lim-sw-in #pin IN05 #net Y-max remora.input.08 => joint.1.pos-lim-sw-in net both-y remora.input.08 => joint.1.home-sw-in joint.1.pos-lim-sw-in #pin IN06 #net Y-min remora.input.09 => joint.1.neg-lim-sw-in #pin IN07 net both-z remora.input.10 => joint.2.pos-lim-sw-in


the important part is making sure your remora.input.xx match the config.txt file. from the nvem config, label IN03 on the cover of the NVEM board is connected top data bit 6, aka remora.input.06
Code:
{ "Thread": "Servo", "Type": "Digital Pin", "Comment": "IN03", "Pin": "P4_21", "Mode": "Input", "Data Bit": 6, "Invert": "True" },

Please Log in to join the conversation.

More
1 year 5 months ago #327628 by cakeslob
hmm i thought we had a full config somewhere with spindle. I guess its time to make one (aka copy flexihal). Ill try to mash out a regular config based on my setup

Please Log in to join the conversation.

More
1 year 5 months ago #327631 by Spyderbreath
Correct me if I am wrong, being all new to this, but that first bit of "code" you listed there looks to be from a .hal file and not an .ini file? If so then that gets me even further along and might be enough for me to get dangerous and take a stab at it.

Please Log in to join the conversation.

More
1 year 5 months ago #327636 by cakeslob
the first part is what you add to the bottom of your hal file

the second part is a sample of the NVEM config.txt. the config.txt is what configures the remora hardware to the remora software. the hal file is what connects the remora software to the linuxcnc software. i included it to emphasize the relationship between which IO on the board does what in linuxcnc

The ini file is what configures your linuxcnc machine, so speeds of each axis, the travel, where the home switch is, how many axis/joints, the gui, etc

Please Log in to join the conversation.

More
1 year 5 months ago #327637 by Spyderbreath
OK, progress! I put the #end-stops into my .hal file and BANG, I get a limit switch error reported in axis on pins 3, 5, and 7.

THANK YOU to all that have gotten me this far!! I now know that the remora flash took on the nvem and the hardware part is working.

Just the nightmare of figuring out the rest of the .hal file to get everything else working. But as for now, forward is a good direction to be heading. :)

Please Log in to join the conversation.

More
1 year 5 months ago #327638 by cakeslob
the documents will be updated to reflect the struggles of you and the other users this last week.

to the 2 other users who posted the quick guides for flashing and setup, i would like to use those in the remora docs, i hope this is ok

Please Log in to join the conversation.

More
1 year 5 months ago #327646 by Spyderbreath
If you are going to be copying this post here - www.forum.linuxcnc.org/18-computer/44828...rd?start=2140#327240 - watch the caps and dashes. On my Rpi5 / bookworm install its not LinuxCNC but linuxcnc and them there should be a double dash (--) before install in both instances in step 2. no show stopper but it was not a direct copy/paste into the console.

A full blown NVEM config would be sweet. Or just little snippets like the one you provided for the end-stops. That bit of info now allows me to configure ALL my inputs.

Please Log in to join the conversation.

More
1 year 5 months ago #327649 by DarkPhoinix
 

darkpheonix try with this and go from there. if you are trying to set up a rotational axis, that is different than a linear axis in setup
Warning: Spoiler!


I thank you, the same crappy movement.
Code:
[DRIVERS] # Generali impostazioni dei driver passo-passo STEP_SPACE = 100000 STEP_TIME = 100000 DIR_SETUP = 50000 DIR_HOLD = 50000
i have removed this section but if put bad values linuxcnc go in juntion error, like put 
Code:
MAX_ACCELERATION = 2000000

Please Log in to join the conversation.

More
1 year 5 months ago #327650 by cakeslob
that is because this is wrong
Code:
MAX_ACCELERATION = 2000000

and this does nothing no matter what value
Code:
DIR_HOLD = 50000


did your setup work before with mach3?

if it is stepper timing related you need to load the DMA stepgen config and adjust your step timing accordingly

Please Log in to join the conversation.

Time to create page: 6.499 seconds
Powered by Kunena Forum