NEWS
2.6 Live+Install image
There are no translations available.

Announcing a new Live+Install DVD image for installing LinuxCNC 2.6 on Debian Wheezy. Instructions here.

 
LinuxCNC 2.6.3 is released
There are no translations available.

Several bugs fixed, see the change log.

 
LinuxCNC 2.6.2 Released
There are no translations available.

Bug fix see the change log.

 

Welcome, Guest
Username: Password: Remember me

TOPIC: 7i43 + 7i39

Re:7i43 + 7i39 21 Fév 2012 14:56 #17922

  • PKM
  • PKM's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 107
  • Thank you received: 1
  • Karma: 4
Thank you, Chris, I tried the xml and got a config.
When I connect the motors I can try it.

I see that something important is missing in HAL for every axis:
# ---TPPWM Generator signals/setup---
# three output 3pwg
# TODO write some commands!


Should it be 3pwmgen here? Maybe something like

setp hm2_7i43.0.3pwmgen.00.scale [AXIS_0]OUTPUT_SCALE
setp hm2_7i43.0.3pwmgen.00.fault-invert 1

net pwm.00-a bldc.0.A-value => hm2_7i43.0.3pwmgen.00.A-value
net pwm.00-b bldc.0.B-value => hm2_7i43.0.3pwmgen.00.B-value
net pwm.00-c bldc.0.C-value => hm2_7i43.0.3pwmgen.00.C-value


I'm so confused with all these signals :unsure:

Is that correct with setp hm2_7i43.0.3pwmgen.00.fault-invert 1, Peter?
The administrator has disabled public write access.

Re:7i43 + 7i39 21 Fév 2012 15:00 #17923

  • PKM
  • PKM's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 107
  • Thank you received: 1
  • Karma: 4
Maybe the generated config will be useful, to see what's missing
This attachment is hidden for guests. Please log in or register to see it.
(I have no Halls so I checked only Encoders and Index)
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
Last Edit: 21 Fév 2012 15:06 by PKM.
The administrator has disabled public write access.

Re:7i43 + 7i39 21 Fév 2012 18:10 #17927

  • PCW
  • PCW's Avatar
  • OFFLINE
  • Moderator
  • Posts: 2653
  • Thank you received: 268
  • Karma: 139
Yes fault_invert should be set
(this is because the fault input is unused (unconnected to an I/O pin)
and by default all unused input pins are terminated at '0' inside the FPGA)
so you want the fault input to be active high.

Otherwise you will have a continuous fault and therefore no PWM out
Last Edit: 21 Fév 2012 18:15 by PCW. Reason: ommission
The administrator has disabled public write access.

Re:7i43 + 7i39 13 Avr 2012 15:44 #19180

  • PKM
  • PKM's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 107
  • Thank you received: 1
  • Karma: 4
Hello again,
I already have my linear motors (with no Halls).
And I'm still worried by these lines in generated .hal file
# ---TPPWM Generator signals/setup---
# three output 3pwg
# TODO write some commands!
What should be here?
There's new bldc_sine component in 2.5.0, how can I use it?
The administrator has disabled public write access.

Re:7i43 + 7i39 14 Avr 2012 07:52 #19199

  • PCW
  • PCW's Avatar
  • OFFLINE
  • Moderator
  • Posts: 2653
  • Thank you received: 268
  • Karma: 139
Not sure about pncconf but AFAIK bldc_sine is obsolete, its function being taken over by the more capable bldc comp
The administrator has disabled public write access.

Re:7i43 + 7i39 14 Avr 2012 08:06 #19200

  • PKM
  • PKM's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 107
  • Thank you received: 1
  • Karma: 4
Strange... From 2.5.0 changelog:
HAL: new component bldc_sine: commutation for BLDC with encoder feedback
The administrator has disabled public write access.
Moderators: cmorley
Time to create page: 1.738 seconds
Powered by Kunena Forum
© 2014 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.