hoax portrayed in the current track axis

More
21 Mar 2011 22:40 #7986 by radekB
I wanted to test stepgen in velocity mode and PID control HIM. This of course Came, I managed to positon of feedback Is Not Actually portrayed in the toolpath backplot :):(:

Thus, I have found That Even at my machine with the DC Servo backplot is true, as I mistakenly thought.

When turning the encoder servo axis backplot Properly draw the screen. But When The Emperor CNC Mode switch and plotted the track is not true. Why?
It's a shame.

RADEK

newsig emcmot.00.enable bit

sets emcmot.00.enable FALSE

net emcmot.00.enable <= axis.0.amp-enable-out => hm2_[HOSTMOT2](BOARD).0.stepgen.00.enable => pid.0.enable



# timing parameters

setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.dirsetup 200

setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.dirhold 200

setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.steplen 1000

setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.stepspace 1000

setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.position-scale [AXIS_0]SCALE

setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.maxaccel 0

setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.maxvel 0

setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.step_type 0

setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.control-type 1



# set PID loop gains from inifile

setp pid.0.Pgain [AXIS_0]P

setp pid.0.Igain [AXIS_0]I

setp pid.0.Dgain [AXIS_0]D

setp pid.0.bias [AXIS_0]BIAS

setp pid.0.FF0 [AXIS_0]FF0

setp pid.0.FF1 [AXIS_0]FF1

setp pid.0.FF2 [AXIS_0]FF2

setp pid.0.deadband [AXIS_0]DEADBAND



setp pid.0.maxoutput [AXIS_0]MAX_VELOCITY



net stepgen.0.position-fb hm2_[HOSTMOT2](BOARD).0.stepgen.00.position-fb => pid.0.feedback => axis.0.motor-pos-fb

net emcmot.0.pos-cmd axis.0.motor-pos-cmd => pid.0.command

net motor.0.cmd pid.0.output => hm2_[HOSTMOT2](BOARD).0.stepgen.00.velocity-cmd

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

More
22 Mar 2011 00:10 #7988 by andypugh
The config looks OK, except I don't see the loadrt and addf lines. I assume they exist?

Can you try to explain the problem again? Perhaps with pictures?

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

More
22 Mar 2011 13:08 - 22 Mar 2011 13:13 #7996 by radekB
Notice that the X-axis against the actual position and the drawing which shows the numbers.
I know that setting the PID is not good, but there is movement on the principles of CNC and implementation of EMC.

Plotting the toolpath on the screen is not really expensive tools that in some cases and applications terrible. Does not answer programmed dearly.

Sometimes I wonder how many applications and functions in EMC grow. However, their practical utility of the doubt. Would not it be better to go back and fix long-term lasting mistakes??

RADEK

File Attachment:

File Name: STEPGEN_PI...CITY.zip
File Size:3 KB
Attachments:
Last edit: 22 Mar 2011 13:13 by radekB.

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

More
22 Mar 2011 13:25 #7997 by andypugh
I can't look at your config as I don't have a 5i20. Do you have any data indicating your issue?

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

More
22 Mar 2011 13:40 - 22 Mar 2011 13:54 #7998 by radekB
It is not just my problem with this problem have all in all configurations. SW stepgen unfortunately can not be managed the interconnect to speed. Please try to rewrite its Mesa facility. (board cahged 5i20/5i23)

The trouble is more, I'm not so good in the English language to describe it so that you understand. (unfortunately, Skoda)

Radek
Last edit: 22 Mar 2011 13:54 by radekB.

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

More
22 Mar 2011 16:22 #7999 by PCW
Can you give some more details of the problem you are seeing?
(A picture would be very helpful)
EMC Version?
OS Version?
Why are you trying to use s PID loop to control the hardware step generator?
Note that a PID loop for velocity mode control must have a proper FF1 value not 0
Also note that the step rate in quaddrature mode is 4 times the rate in step/dir mode

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

More
22 Mar 2011 19:04 #8000 by mduzi
There is a correction of the problem....
It's a fix error for switching between actual / commanded back-plotting. (Axis, Gremlin, Touchy atc.)
I sent also to Jeff Eplert for correct the error in the central git-EMC... ...because I am not authorized developer :)
The correction is important for a good work of drawing programs...
Martin

File Attachment:

File Name: actual_com...rror.zip
File Size:23 KB
Attachments:

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

More
22 Mar 2011 19:19 - 22 Mar 2011 19:20 #8001 by radekB
PCW wrote:

Can you give some more details of the problem you are seeing?
(A picture would be very helpful)
EMC Version?
OS Version?
Why are you trying to use s PID loop to control the hardware step generator?
Note that a PID loop for velocity mode control must have a proper FF1 value not 0
Also note that the step rate in quaddrature mode is 4 times the rate in step/dir mode


PID settings do not resolve. (the test was working principles)
Global EMC and test the behavior of its individual mutual castia function.
We use it because the real work and I want to upgrade to system 10.04

Radek
Last edit: 22 Mar 2011 19:20 by radekB.

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

More
22 Mar 2011 19:35 #8002 by PCW
Not sure what you mean by
"PID settings do not resolve"

Have you tried looking at some of the other velocity mode hardware stepgen setups like:

www.linuxcnc.org/component/option,com_ku...7/lang,english/#5489

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

More
22 Mar 2011 19:48 #8004 by radekB
I know how to set the PID. I test the EMC. Its components and their mutual behavior.
The language barrier is huge. (understand each other)

Please try to compile the source code provided MDUZI .. (MDUZI thanks for support)

Radek

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

Time to create page: 0.131 seconds
Powered by Kunena Forum