Remora - ethernet NVEM / EC300 / EC500 cnc board

More
3 years 3 weeks ago #282472 by rbobey1989
Hello everyone, I have gotten an encoder with a pin index, but hehehe, it is a PNP output and I cannot find a way to make an inversion through any hardware in the RT1052 since the inputs of the ec500 are for connecting NPN outputs, I have put some PNP collector pulldown resistors to ground but it reverses the input logic... Any ideas

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

More
3 years 3 weeks ago #282486 by cakeslob
Yeah boby that makes it hard since its an encoder. Perhaps
Invert it in firmware?



Hi Cakeslob, 

Thanks for the start on the Ethernet docs, your right we've got more than the NVEM boards, the PicoBOB-DLX uses the same LinuxCNC components. Can you submit a pull request and I'll work in parallel with you. 

Thanks!

Ok cool. I will have to do it when i return home, github mobile is almost useless

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

More
3 years 3 weeks ago #282487 by GeramyL

Yeah boby that makes it hard since its an encoder. Perhaps
Invert it in firmware?



Hi Cakeslob, 

Thanks for the start on the Ethernet docs, your right we've got more than the NVEM boards, the PicoBOB-DLX uses the same LinuxCNC components. Can you submit a pull request and I'll work in parallel with you. 

Thanks!

Ok cool. I will have to do it when i return home, github mobile is almost useless
Actually if its a input pin you should be able to use the "Invert" string on the pin, unless that wasn't in the QEI module originally.
Probably best to implement pin mode I would think.

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

More
3 years 3 weeks ago #282488 by GeramyL
scotta I did some testing, I do have 2.54mm movement if I keep moving the same direction it looks like. Still some directional movement problems but also looked it up and it can possibly be from not building up enough current for the movement in the next direction. Not sure how much I believe that though since there is very little friction and no active force pushing on the motor during the indicator calibration routine, but its looking dang good physically, the new DMA Step Gen. I made one last change and did a pull request it should take care of a very rare use case as explained in the github issue and possibly fix any other luming problems.
The following user(s) said Thank You: scotta

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

More
3 years 3 weeks ago - 3 years 3 weeks ago #282497 by rbobey1989
ok, after a lot of fighting I have agreed to carry out tests with sim_ecnoder(hal) => remora_output_pins => qdc => linuxcnc(hal), I have to say that it looks good, as expected Scott was right we should pass POSH in the index detection, Scott, I have been looking at your PRUEncoder module. In the case of an encoder with an index pin, should we pass index signal in addition to the encoder count?
Last edit: 3 years 3 weeks ago by rbobey1989.

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

Time to create page: 0.490 seconds
Powered by Kunena Forum