Remora - ethernet NVEM / EC300 / EC500 cnc board

More
3 years 3 weeks ago #282566 by scotta
Thanks. I've had a look at the pad mapping today. We might have some extra inputs on the XBAR

Pad A5: GPIO4_IO16 Available on the NVEM and EC300 as YIN

Pad C3: GPIO3_IO22 Available as INDEX on EC300 and SRO on EC500

Pad H2: GPIO3_IO16 Available as WHA on EC300 & EC500

Pad J2: GPIO3_IO17 Available as WHB on EC300 & EC500

The last two make sense from a design perspective, they are the MPG encoder inputs. So we might be able to get 4 encoders, 3 as 24v PNP and the 4th as 5V.

Is my interpretation correct? XBAR is all new to me.

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

More
3 years 3 weeks ago #282573 by rbobey1989
Hi Scott, you have done your pin count correctly and yes your interpretation is correct, I had already looked at these pins but I always thought about using the MPG (although not having MPG is not critical, it helps a lot), it is always a good option to give the possibility of one more encoder, it would be easy to add the decoding for those pins to the XBARA1 at this point of development of the QDC module, I will add it soon, don't worry.
I don't know if I was misunderstood before with the PNP and NPN encoder outputs, maybe I made a lot of fuss hehe, the EC500 inputs are designed to connect open collector NPN outputs, that is, they only give the low logic level, what I meant in one of the previous publications is that the encoder with index that I have is PNP and I had to juggle with pulldown resistors to be able to read something, although for tests with sim-encoder it works great.

Changing the topic, now comes the interesting thing where many here can help is in the digital filter that the QDC module has, honestly about digital filters the basics of the basics mmmmmmm, there are three parameters that must be configured in the registry, they are supposedly explained in page 3131 of the reference manual. If anyone can shed light on this I appreciate it.
The following user(s) said Thank You: tommylight

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

More
3 years 3 weeks ago #282582 by GeramyL
How are you tracing your pins out? I'm not sure if you saw my comment about and i'll use the common names for these pins, XP-, XD-, YP-, YD-, ZP-, ZD-, AP-, AD-, BP-, and BD- that these pins may not be setup correctly, I have had to wire all my negative lines on the stepper drivers straight to common instead of using these pins. It seems these negative pins are flipping from positive to negative and all kinds of crazy thing, that I could tell. I could be wrong but I don't think so. Do you have these pins mapped out? Maybe we can sink these to ground, make them a input. Also you might be able to use these pins also for other stuff as well, whats the specification on the actual chip thats connected to these pins, are they input, output, or both?

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

More
3 years 3 weeks ago #282624 by chrstrvs
Hey, Scott (or any volunteer)!

Have you had the time to look at my config files that are causing the following errors? I use the remora-nvem-basic config from github.com/scottalford75/Remora-NVEM/tree/main/LinuxCNC , also attached to this message.

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

More
3 years 3 weeks ago #282639 by GeramyL

Hey, Scott (or any volunteer)!

Have you had the time to look at my config files that are causing the following errors? I use the remora-nvem-basic config from github.com/scottalford75/Remora-NVEM/tree/main/LinuxCNC , also attached to this message.
Can you please share your .txt file you have uploaded to your board and also what is your ping response time?
It helps to add PGAIN to your hal file and .ini file.

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

More
3 years 3 weeks ago - 3 years 3 weeks ago #282643 by rbobey1989
Hello GeremyL, you talked about pins but I don't understand you, XD-, YP-...... are outputs of the am26ls31c differential line driver, this ic has 4 inputs and 4 pairs of differential outputs, therefore this ic convert GPIO_AD_B1_06 ( pad of rt1052) in XD+ and XD-, the GPIO1 module can be connected in this pad through GPIO1_IO22(that is X_DIR_PIN), then XD-, YP-..... are not direct pins of rt1052 GPIO_AD_B1_06 yes it is, So if you have problems with the negative differential signals, I would look for the problem in the line drivers ic. Furthermore, to use these pads as input pins you have to modify the hardware, which does not seem attractive to me, greetings
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.294 seconds
Powered by Kunena Forum