Remora - ethernet NVEM / EC300 / EC500 cnc board

More
12 Apr 2023 20:38 #268932 by zmrdko
I have an ec500 with rt1052

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

More
12 Apr 2023 22:31 #268941 by scotta

Thanks Scott. It was set to 0, but I changed it to 0.0001 and it seems to work fine now. I have now issue with motor accuracy. The scale is set to 160 and I have set jumpers on JMC ihsv57 motor to 800 steps per rotation so 5mm jog should be exactly one full circle. However its a little less than that. After few 5mm jogs its obvious. So do I have problem with step pulse lenghts?

Sounds like some calibration is needed to dial in the step scale.

forum.linuxcnc.org/38-general-linuxcnc-q...rating-axis-movement
www.forum.linuxcnc.org/plasmac/45808-scale-axis#242146

Formula is: (distance commanded / distance moved) * old step scale = new step scale

 
The following user(s) said Thank You: zmrdko

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

More
12 Apr 2023 22:33 #268942 by scotta

source/baseThread.c:

void makeSteps()
{
    static int8_t i;
    static int32_t stepNow;


    if (rxDataFlag == 1) {
        rxDataFlag = 0;
        memcpy(rxDataCopy.rxBuffer, rxData.rxBuffer, BUFFER_SIZE);
    }
....


but i think its better to move this part to the end of the makeSteps() function
 

Yes, I saw that. But where is rxDataCopy being filled with the packet data?

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

More
13 Apr 2023 00:38 - 13 Apr 2023 00:39 #268951 by zmrdko
Thanks Scott for patiently replying to all my queries.

i know this formula for correcting travel, but I was expecting the exact numbers to work. If the motor needs 800 pulses to make one turn, I would expect 160 scale times 5mm to work.

I have read that it might be caused by too short pulses. This is diagram I found in motor manual:

is there a way to set up these values?


 
Attachments:
Last edit: 13 Apr 2023 00:39 by zmrdko.

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

More
13 Apr 2023 02:02 #268952 by scotta
Currently there is no step parameter settings configuration. Something in the pipeline though.

Your drive needs a 2.5 microsecond step pulse, the step pulse output form the Remora firmware is 25 microseconds in length. So should be ok. I'd do a step/mm calibration and run it though some test moves to check repeatability.

Nice motors BTW!

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

More
13 Apr 2023 05:56 - 13 Apr 2023 06:49 #268958 by meister

Yes, I saw that. But where is rxDataCopy being filled with the packet data? 



memcpy(rxDataCopy.rxBuffer, rxData.rxBuffer, BUFFER_SIZE); 

Following is the declaration for memcpy() function.void *memcpy(void *dest, const void * src, size_t n)

the memcpy command can be a bit confusing, because the first argument is the destination
Last edit: 13 Apr 2023 06:49 by meister.

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

More
15 Apr 2023 21:09 #269158 by blazini36
What is the likelyhood of the 1052 firmware running on an imx rt1062? I've asked about Teensy 4.x firmware in the past which didn't get much traction but since there's ethernet firmware for a board running an rt1052, firmware for a Teensy 4.1 can't be too far off.

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

More
16 Apr 2023 05:08 #269192 by frayja2002
Hi Scott

Could I get you to check this
I am running an NVEM RT-1052, when I activate remora.output.00 OUT-2 comes on.
And vice versa. remora.output.01 turns OUT-1.

This seems to be backwards. Is this whats intended?

Thanks
Alex
Attachments:

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

More
16 Apr 2023 06:20 #269194 by scotta

Hi Scott

Could I get you to check this
I am running an NVEM RT-1052, when I activate remora.output.00 OUT-2 comes on.
And vice versa. remora.output.01 turns OUT-1.

This seems to be backwards. Is this whats intended?

Thanks
Alex

Hi Alex,

No, nots what intended. I'll check it out but I'm thinking there may be a very subtle difference between the EC300 and NVEM. I developed on the EC300 as it has LEDs on the output. Everything else align numbering wise?

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

More
16 Apr 2023 12:13 #269208 by frayja2002
I have now checked them.
All the other outputs seem to be in their natural order.

Alex.
The following user(s) said Thank You: meister

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

Time to create page: 0.280 seconds
Powered by Kunena Forum