Remora - ethernet NVEM / EC300 / EC500 cnc board
- cakeslob
- Offline
- Platinum Member
Less
More
- Posts: 797
- Thank you received: 231
04 Jan 2025 20:02 #318119
by cakeslob
Replied by cakeslob on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Ok, zelo, do a quick test to see if the speed doubles if you reduce the scale by half
Murphy, were you one of the guys modding the board for better encoder signals?
500rpm @ 2400cpr isnt very fast, does it continue counting if you lower speed?
You will probably need to halscope it. I dont know how many people are using encoders with the rt1052
Murphy, were you one of the guys modding the board for better encoder signals?
500rpm @ 2400cpr isnt very fast, does it continue counting if you lower speed?
You will probably need to halscope it. I dont know how many people are using encoders with the rt1052
Please Log in or Create an account to join the conversation.
- Murphy
- Offline
- Premium Member
Less
More
- Posts: 82
- Thank you received: 4
04 Jan 2025 22:18 #318126
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Yes I was , yes it counts if I lower it. I bench tested a 360ppr and I noticed when I moved it with fast acceleration with my hand it would stop. I then hooked it up to the machine with a 600ppr. It starts counting again if I lower it. When I bench tested it and the PV stopped counting , the pulses where still ok on the oscilloscope. I'll try and see can I see the pulses in halscope.
These are Chinese encoders , supposed to be rated for 100khz
These are Chinese encoders , supposed to be rated for 100khz
Please Log in or Create an account to join the conversation.
- Murphy
- Offline
- Premium Member
Less
More
- Posts: 82
- Thank you received: 4
05 Jan 2025 21:54 - 05 Jan 2025 22:20 #318174
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hooked the scope up while the motor was running. And it's interference that seems to be causing the loss of counting. Pulses look terrible .I'd imagine it's the motor is causing it. I have filters and coils on the AC lines and motor lines from the VFD. The encoder is mounted in a 3D printed mounting so it's not touching the case. When I ground the outer encoder case to a ground it helps a little but not much. Any ideas to mitigate the noise. Should I get another encoder with differential outputs and single end it close to the ec500? Or use the existing encoder and put a differential IC close to the encoder and Rx IC single end close to the ec500?
Last edit: 05 Jan 2025 22:20 by Murphy.
Please Log in or Create an account to join the conversation.
- Murphy
- Offline
- Premium Member
Less
More
- Posts: 82
- Thank you received: 4
06 Jan 2025 14:04 - 06 Jan 2025 14:05 #318224
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hi can someone help me with the spindle. I have it working on a basic level 0-10v through a VFD, but want to add the encoder. I'm getting confused with the PRUencoder and linuxcnc encoder. I have no spindle speed displayed. I think I need to add the phaseZ pulse somewhere. Pv and raw count is counting in both directions. I have no index enable , is this a physical output pin connected to something? phaseZ is coming in on remora.input.13.
Last edit: 06 Jan 2025 14:05 by Murphy.
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
Less
More
- Posts: 797
- Thank you received: 231
06 Jan 2025 15:34 #318234
by cakeslob
Replied by cakeslob on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Murphy, here is how I have done my spindle
github.com/cakeslob/RRW_LAB/blob/main/Li...t/remora-xyz.hal#L95
github.com/cakeslob/RRW_LAB/blob/main/Li...t/remora-xyz.hal#L95
Please Log in or Create an account to join the conversation.
- Murphy
- Offline
- Premium Member
Less
More
- Posts: 82
- Thank you received: 4
06 Jan 2025 16:50 #318240
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Thank you Cakeslob, with your encoder scaling, you have it set to ENCODER_SCALE for position to be rpm. I have mine set to the ppr of the encoder which is 2400. When I rotate it by hand and it gets to 2400 counts after one rev encoder position is set to 1 in halshow. So it seems to be scaled right. PhaseZ is triggering in halshow also. I have a separate Z pulse coming from the emco encoder wheel on the spindle which triggers around 1400 counts(I don't think this matters?)but when z triggers nothing resets, is this normal? tried deleting the ppr scale number and putting ENCODER_SCALE but it won't start with it, dosnt recognise it. Am I missing something on the ini file for encoder position to be rpm ?
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
Less
More
- Posts: 797
- Thank you received: 231
06 Jan 2025 18:47 - 06 Jan 2025 18:48 #318249
by cakeslob
Replied by cakeslob on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Nothing should reset until you flip the index enable pin, then when you rotate, it will reset the revs(i think) pin when it hits z index pin
Last edit: 06 Jan 2025 18:48 by cakeslob.
The following user(s) said Thank You: Murphy
Please Log in or Create an account to join the conversation.
- Murphy
- Offline
- Premium Member
Less
More
- Posts: 82
- Thank you received: 4
06 Jan 2025 22:02 #318266
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Thanks Cakeslob I entered some of your hal file in mine for the spindle rpm. The spindle seems to be working a lot smoother than before. I also have the rpm displaying now.
Iv ordered a Chinese clone differential line encoder. So I'll single end it with an AM26ls32 IC. Hopefully that will get rid of the noise
Iv ordered a Chinese clone differential line encoder. So I'll single end it with an AM26ls32 IC. Hopefully that will get rid of the noise
Please Log in or Create an account to join the conversation.
- zelo
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 1
07 Jan 2025 15:32 - 07 Jan 2025 16:34 #318304
by zelo
Actually up to 79.7 works.
Replied by zelo on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Velocity doubles until 79, when set to 80 it will give error.Ok, zelo, do a quick test to see if the speed doubles if you reduce the scale by half
Actually up to 79.7 works.
Last edit: 07 Jan 2025 16:34 by zelo.
Please Log in or Create an account to join the conversation.
Time to create page: 0.196 seconds