- Posts: 22
- Thank you received: 2
Hurco KM3P retrofit
4 years 2 weeks ago #254122
by Ronniecnc
Hurco KM3P retrofit was created by Ronniecnc
Hello, I am in the process of retrofit a hurco km3p milling machine to the best cnc control Linuxcnc image missing /media/kunena/emoticons/cool.pngI am using 7i93 and 7i33TA cards and the hurco drivers and dc servos. Electrocraft max-400 I have a question regarding servo drivers.
When the driver works in torque mode, it does not use the tachometer and the internal loop?? right now they are working in velocity mode but I want to put them in torque mode so I don't have to configure the internal loop in the driver and not use the tachometer only the linuxcnc PID right now they are working on velocity mode and the min and the minimum FERROR is 0.25 mm I think it is a bit high but I am not sure. The maximum speed that I have configured so far is 2540mm and the acceleration is 90mm Only the x axis is configured so far. The encoder are 1000ppr
Thank you.
When the driver works in torque mode, it does not use the tachometer and the internal loop?? right now they are working in velocity mode but I want to put them in torque mode so I don't have to configure the internal loop in the driver and not use the tachometer only the linuxcnc PID right now they are working on velocity mode and the min and the minimum FERROR is 0.25 mm I think it is a bit high but I am not sure. The maximum speed that I have configured so far is 2540mm and the acceleration is 90mm Only the x axis is configured so far. The encoder are 1000ppr
Thank you.
Please Log in or Create an account to join the conversation.
4 years 2 weeks ago #254124
by PCW
Replied by PCW on topic Hurco KM3P retrofit
I would stick with velocity mode as its easier to tune.
Also torque mode requires a high servo thread rate.
This is tricky with Ethernet interfaces as only some PCs
can run a servo loop significant faster than 1 KHz with
Ethernet hardware.
Also torque mode requires a high servo thread rate.
This is tricky with Ethernet interfaces as only some PCs
can run a servo loop significant faster than 1 KHz with
Ethernet hardware.
Please Log in or Create an account to join the conversation.
4 years 2 weeks ago #254128
by Ronniecnc
Replied by Ronniecnc on topic Hurco KM3P retrofit
Thank you very much PCW I will follow your advice and I will stay in speed mode.
I must confess that I am a bit lost in the PID configuration I have read several tutorials in the forum but I am not very clear it must be because I am not a native English speaker. Right now the position jumps on the order of 1 to 2 thousandths of a millimeter in the linuxcnc DRO, I don't know if it's because it's picking up some noise on the cable between 7i33 and the servo driver or the driver isn't tuned correctly or if it's something in the PID in linuxcnc.
Thank you.
I must confess that I am a bit lost in the PID configuration I have read several tutorials in the forum but I am not very clear it must be because I am not a native English speaker. Right now the position jumps on the order of 1 to 2 thousandths of a millimeter in the linuxcnc DRO, I don't know if it's because it's picking up some noise on the cable between 7i33 and the servo driver or the driver isn't tuned correctly or if it's something in the PID in linuxcnc.
Thank you.
Please Log in or Create an account to join the conversation.
4 years 2 weeks ago #254129
by PCW
Replied by PCW on topic Hurco KM3P retrofit
Its expected to have some jitter in the range of +1 -1 encoder counts
(because the position is unknown between encoder counts)
You can improve the situation somewhat by adding some deadzone
to the PID (say 1-2 encoder counts worth)
(because the position is unknown between encoder counts)
You can improve the situation somewhat by adding some deadzone
to the PID (say 1-2 encoder counts worth)
Please Log in or Create an account to join the conversation.
4 years 2 weeks ago #254145
by Ronniecnc
Replied by Ronniecnc on topic Hurco KM3P retrofit
Thank you very much, I know that each machine is different but what would be a typical value for FERROR = and MIN_FERROR = ? In mm
Please Log in or Create an account to join the conversation.
4 years 1 week ago #254915
by Ronniecnc
Replied by Ronniecnc on topic Hurco KM3P retrofit
Hello, I followed the PID tutorials in the forum and the following error is now 0.04 mm, a bit high I think but better than before.
Now one of the electrocraft max-400 drivers, the Z axis does not work properly with the forward and reverse clamp activated (that is the normal state) it only works one at a time. Example FAC on and it works forward and RAC and does the reverse.
The specific question is that I need to find a Pin in the hal that activates these output with an transistor (FAC and RAC)so Z axis can work, I thought of using the pwm direction pin in the 7i33 card manual it says that the pwm works with pwm and Dir it would be in HOSTMOT2 pwmgen type 1 (PWM on Out0 and Direction on Out1) but I can't find in the hal that Dir pin only appears pwm output and enabled.
Thanks.
Now one of the electrocraft max-400 drivers, the Z axis does not work properly with the forward and reverse clamp activated (that is the normal state) it only works one at a time. Example FAC on and it works forward and RAC and does the reverse.
The specific question is that I need to find a Pin in the hal that activates these output with an transistor (FAC and RAC)so Z axis can work, I thought of using the pwm direction pin in the 7i33 card manual it says that the pwm works with pwm and Dir it would be in HOSTMOT2 pwmgen type 1 (PWM on Out0 and Direction on Out1) but I can't find in the hal that Dir pin only appears pwm output and enabled.
Thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.058 seconds