I finished setting up the machine axis in the Step response window and flashed the C file to Kflop. Everything turned out great.
1. I ran into the problem of configuring Axis parameters in KMotionCNC. I don't see the jerk setting, which is very important for the movement of G1, G2, G3.
2. Another problem is that the value of the Accel parameter(in/sec2) filled with the value recalculated from ch0->Accel gives a strong blow.
Axis parameters in KMotionCNC
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Axis parameters in KMotionCNC
Hi Alexanders,
We don't recommend flashing anything to KFLOP when using a PC. There isn't any need. You can reset KFLOP to its default state using Flash New Version.
We don't have Jerk limits for Feeds. Only for Rapids. You might read this.
We don't recommend flashing anything to KFLOP when using a PC. There isn't any need. You can reset KFLOP to its default state using Flash New Version.
We don't have Jerk limits for Feeds. Only for Rapids. You might read this.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 39
- Joined: Wed May 03, 2023 12:54 am
Re: Axis parameters in KMotionCNC
There are still ambiguities.
If a separate speed setting is applied for the scheduler in KmotionCNC, then do the other parameters from Kmotion, such as P, I, D, limits and others, apply to the movement of G1, G2, G3 ?
If a separate speed setting is applied for the scheduler in KmotionCNC, then do the other parameters from Kmotion, such as P, I, D, limits and others, apply to the movement of G1, G2, G3 ?
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Axis parameters in KMotionCNC
Hi Alexanders,
Yes the same axis configuration and tuning parameters are used regardless of any motion trajectory.
Yes the same axis configuration and tuning parameters are used regardless of any motion trajectory.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 39
- Joined: Wed May 03, 2023 12:54 am
Re: Axis parameters in KMotionCNC
Another ambiguity in the configuration of the axis.
In my machine, the servo amplifiers are controlled by a quadrature signal of 0.25 microns/ step. The measuring linear scale also outputs a quadrature signal of 0.25 microns / step.
The Kflop settings should be as follows:
Input: Encoder
Output: CL Step, output mode: Quadrature, LVTTL.
Input gain= 1
Output gain= 1
However, the axis only works correctly with a different setting: Input gain= 1 ; Output gain= 4. I compared the input and output signals with a two-channel oscilloscope, with this setup, the signals are the same.
In my machine, the servo amplifiers are controlled by a quadrature signal of 0.25 microns/ step. The measuring linear scale also outputs a quadrature signal of 0.25 microns / step.
The Kflop settings should be as follows:
Input: Encoder
Output: CL Step, output mode: Quadrature, LVTTL.
Input gain= 1
Output gain= 1
However, the axis only works correctly with a different setting: Input gain= 1 ; Output gain= 4. I compared the input and output signals with a two-channel oscilloscope, with this setup, the signals are the same.
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Axis parameters in KMotionCNC
Hi Alexanders,
That is strange. What do you mean by "only works"? Does the Destination and Positions change equally on the Axis Screen?
You might post a Step Response Plot with Input gain = Output gain = 1
I commonly simulate an encoder input by outputting quadrature to the same pins as an encoder input and the encoder always changes by the same number of steps. ie JP7 Pins 1 and 2. Step Dir Gen 4 and encoder input #4.
That is strange. What do you mean by "only works"? Does the Destination and Positions change equally on the Axis Screen?
You might post a Step Response Plot with Input gain = Output gain = 1
I commonly simulate an encoder input by outputting quadrature to the same pins as an encoder input and the encoder always changes by the same number of steps. ie JP7 Pins 1 and 2. Step Dir Gen 4 and encoder input #4.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 39
- Joined: Wed May 03, 2023 12:54 am
Re: Axis parameters in KMotionCNC
I checked the input and output signals with an oscilloscope again and found out that in fact the Simodrive 611 servo amplifiers perceive each edge of the quadrature signal as a whole pulse. That's why multiplication by 4 is required.
Thank you!
Thank you!