Remora - ethernet NVEM / EC300 / EC500 cnc board

More
2 years 11 months ago #285654 by scotta

Is the component only for boards with RT1052 or does it work with STM32 as well?
Currently just for the RT1052 boards, but I'll update the STM32 versions as well. This will be progressive as the SPI Mbed based code will also get some updates. So lots of different boards being impacted by this Major version roll out.

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

More
2 years 11 months ago #285656 by scotta

Hey Hans,
Since we are using  external hardware, I dont think that we use a basethread. That is mostly for parallel port setups. 
Its good that it shows up in the preview
 
Hi cakeslob,
I updated to the newest firmware and modified according to the info from scotta ( forum.linuxcnc.org/18-computer/44828-rem...rd?start=1360#285461 )
After many tries and tests I found that the stepper motor moves though, but only under certain conditions which I have no explanation for:
- I had to change the [JOINT_0].SCALE from 3000 to 6000
- when running the sample program axis.ngc the stepper move only sometimes, maybe bigger rapid moves?
Whenever the stepper moves, then I get many "Spike filter active..." in the console.
In Jog I can move the stepper only in bigger moves like 5mm and up. On smaller steps the motor doesn't move at all. Only its position on the display changes.

Any Ideas?

Regards, Hans
Wow, I've never seen the spike filter active in the Ethernet version. I think this is due to miss match between the LinuxCNC servo period and the controller board servo period.

The following line must to match the controller board servo frequency.
Code:
SERVO_PERIOD = 3000000

should be
Code:
SERVO_PERIOD = 1000000

ie 1khz

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

More
2 years 11 months ago #285658 by hanskuster

Hey Hans. For setup start with a lower scale count.

Im not positive on how the new step portions are implemented, but perhaps you need to increase your Step length/space
Code:
{ "Thread": "DMA", "Type": "DMAstepgen", "Comment": "Z - Joint 2 step generator", "Joint Number": 2, "Step Pin": "P1_18", "Direction Pin": "P1_25", "Step Length": 1, "Step Space": 1
 
hi cakeslob,
if You mean [JOINT_0].SCALE in the ini file with "scale count", then I had the best result with a value of 6000. I could use values between 4500 up to 6000.
On lower values the motor didn't move or at least a very little jump at the beginning of the jog.
On With a value of 7000 the motor did stutter only and with a even higher value I got only "joint 0 following error".

After modifying "Step Length" and/or "Step Space" to other values than 1 and 1 the motor didn't move anymore. It moves only with Step Length=1 and Step Width=1.

Regards, Hans
 

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

More
2 years 11 months ago #285662 by hanskuster

Hey Hans,
Since we are using  external hardware, I dont think that we use a basethread. That is mostly for parallel port setups. 
Its good that it shows up in the preview
 
Hi cakeslob,
I updated to the newest firmware and modified according to the info from scotta ( forum.linuxcnc.org/18-computer/44828-rem...rd?start=1360#285461 )
After many tries and tests I found that the stepper motor moves though, but only under certain conditions which I have no explanation for:
- I had to change the [JOINT_0].SCALE from 3000 to 6000
- when running the sample program axis.ngc the stepper move only sometimes, maybe bigger rapid moves?
Whenever the stepper moves, then I get many "Spike filter active..." in the console.
In Jog I can move the stepper only in bigger moves like 5mm and up. On smaller steps the motor doesn't move at all. Only its position on the display changes.

Any Ideas?

Regards, Hans

Wow, I've never seen the spike filter active in the Ethernet version. I think this is due to miss match between the LinuxCNC servo period and the controller board servo period.

The following line must to match the controller board servo frequency.

Code:
SERVO_PERIOD = 3000000 should be [code]SERVO_PERIOD = 1000000 ie 1khz
[/code]
 
hi scotta,
I had to modify the SERVO_PERIOD to avoid the latency error message. With the latency test I got a value of 40153 which should be good, I think.
I changed the SERVO_PERIOD back to 1'000'000 and still get "Spike filter active..." but now with smaller values than with 3'000'000.

Regards, Hans

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

More
2 years 11 months ago #285668 by rbobey1989
Hello everyone here, first of all thanks to Scott for keeping my work in mind and including it in the remora project, this is a great project without a doubt.
Well, to the point, I've been looking at some cheap drivers from AliExpress and Ebay, but I'm a little confused with all this about the new DMA stepgen, I would like to be able to get the most out of it, the DM860H stepper drivers that I've seen have a pulse frequency and direction between 100khz-200khz, I imagine that this frequency has to coincide with the 500khz of the DMA stepgen module. If you can clarify this for me, I would appreciate it and if you can point out a particular stepper driver.
I intend to buy an HBM BF35 milling machine and use some nema 34 12Nm motors with closed loop and yes Scott, the idea has always been to convert this machine to CNC in closed loop control, that's why I decided to take on the task of implementing the module QDC, thanks Scott for your ideas, I really appreciate them.
The HBS86 closed loop drivers, I am not sure if they can work in open circuit, I have used cloosed loop drivers before and they do not allow them to be used without the encoder connection, if someone can clarify this it would be good.

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

More
2 years 11 months ago #285671 by scotta

Hey Hans,
Since we are using  external hardware, I dont think that we use a basethread. That is mostly for parallel port setups. 
Its good that it shows up in the preview
 
Hi cakeslob,
I updated to the newest firmware and modified according to the info from scotta ( forum.linuxcnc.org/18-computer/44828-rem...rd?start=1360#285461 )
After many tries and tests I found that the stepper motor moves though, but only under certain conditions which I have no explanation for:
- I had to change the [JOINT_0].SCALE from 3000 to 6000
- when running the sample program axis.ngc the stepper move only sometimes, maybe bigger rapid moves?
Whenever the stepper moves, then I get many "Spike filter active..." in the console.
In Jog I can move the stepper only in bigger moves like 5mm and up. On smaller steps the motor doesn't move at all. Only its position on the display changes.

Any Ideas?

Regards, Hans

Wow, I've never seen the spike filter active in the Ethernet version. I think this is due to miss match between the LinuxCNC servo period and the controller board servo period.

The following line must to match the controller board servo frequency.

Code:
SERVO_PERIOD = 3000000 should be [code]SERVO_PERIOD = 1000000 ie 1khz   hi scotta, I had to modify the SERVO_PERIOD to avoid the latency error message. With the latency test I got a value of 40153 which should be good, I think. I changed the SERVO_PERIOD back to 1'000'000 and still get "Spike filter active..." but now with smaller values than with 3'000'000. Regards, Hans
[/code]
Don't worry about the latency warning. As we're only using the LinuxCNC servo thread a bit of jitter is of no concern. The hard real-time stuff is running on the controller board. I've got so use to closing the error pop up on every restart.

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

Time to create page: 0.828 seconds
Powered by Kunena Forum