NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me

TOPIC: Servo Tuning PID and FFn

Re:Servo Tuning PID and FFn 13 Июл 2012 06:58 #21879

  • LAIR82
  • LAIR82's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 195
  • Thank you received: 5
  • Karma: 2
I posted my hal and ini.


Thanks

Rick This attachment is hidden for guests. Please log in or register to see it.
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Re:Servo Tuning PID and FFn 13 Июл 2012 06:59 #21880

  • LAIR82
  • LAIR82's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 195
  • Thank you received: 5
  • Karma: 2
Heres my ini This attachment is hidden for guests. Please log in or register to see it.
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Re:Servo Tuning PID and FFn 13 Июл 2012 07:27 #21881

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4106
  • Thank you received: 140
  • Karma: 129
I haven't spotted anything wrong in the HAL files.
I would be tempted to look at the pwmgen value pins in Halmeter (or the watch tab of Halconfig) to see if the signal is getting there.
Also have a look at the thread periods to make sure that the threads are running.
If the pwmgen values are non-zero and the enables are set, then it must be a problem outside HAL, I think.

I would suspect the /ENA pins, except that you have one working channel.
The administrator has disabled public write access.

Re:Servo Tuning PID and FFn 13 Июл 2012 07:32 #21882

  • LAIR82
  • LAIR82's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 195
  • Thank you received: 5
  • Karma: 2
I can see the value going up and down on the +/- 10v on the pwmgen.02.value pin in the "show hal config" watch screen.

Im not sure what you mean though by thread periods?


Rick
The administrator has disabled public write access.

Re:Servo Tuning PID and FFn 13 Июл 2012 07:45 #21883

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4106
  • Thank you received: 140
  • Karma: 129
LAIR82 wrote:
I can see the value going up and down on the +/- 10v on the pwmgen.02.value pin in the "show hal config" watch screen.

And you definitely have the hardware hooked up to analogue outputs 2 and 4 ?
Im not sure what you mean though by thread periods?
Halconfig also lets you see the execution time of the realtime modules and the thread periods. A number that doesn't change can indicate a crashed function.

Resolver support in LinuxCNC is fairly new. It might be worth loading the HAL with num_resolvers=0 to eliminate the possibility of a resolver driver bug. Just be aware that this means no feedback...
The administrator has disabled public write access.

Re:Servo Tuning PID and FFn 13 Июл 2012 08:01 #21885

  • LAIR82
  • LAIR82's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 195
  • Thank you received: 5
  • Karma: 2
Right now I actually have my meter hooked to the aout2 and gnd2 terminals on the 7I49 with my meter hanging next my screen and keyboard, so I can see exactly whats going on.
The administrator has disabled public write access.
Time to create page: 0.914 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.