7i43 + 7i39
18 Feb 2012 13:27 #17793
by PKM
7i43 + 7i39 was created by PKM
Hello,
I start a new thread here, as I hope to use pncconf for 7i43 with 2x7i39.
There are new options for brushless motors in pncconf, and there's support for 5i20+7i39. But not for 7i43.
I start a new thread here, as I hope to use pncconf for 7i43 with 2x7i39.
There are new options for brushless motors in pncconf, and there's support for 5i20+7i39. But not for 7i43.
Please Log in or Create an account to join the conversation.
18 Feb 2012 19:34 #17800
by cmorley
Replied by cmorley on topic Re:7i43 + 7i39
This is because linuxcnc has not released any 'official' firmware that supports the 7i43/7i39 combo.
If you find BIT and PIN files I can make the XML file that PNCconf needs.
I warn you that the brushless motor config stuff in PNCconf is un-tested ( I have no hardware to test with)
so surely there are some bugs lurking. But I would love a chance to test this.
Chris M
If you find BIT and PIN files I can make the XML file that PNCconf needs.
I warn you that the brushless motor config stuff in PNCconf is un-tested ( I have no hardware to test with)
so surely there are some bugs lurking. But I would love a chance to test this.
Chris M
Please Log in or Create an account to join the conversation.
18 Feb 2012 19:59 - 18 Feb 2012 19:59 #17801
by PKM
Replied by PKM on topic Re:7i43 + 7i39
There's a
thread
on the list
This is the firmware
www.cutting.lv/fileadmin/user_upload/SVST4_4_7I39.BIT
www.cutting.lv/fileadmin/user_upload/SVST4_4_7I39.PIN
and this is at least partially tested config
www.cutting.lv/fileadmin/user_upload/7i43-big.ini
www.cutting.lv/fileadmin/user_upload/hm2-servo.hal
I already have 7i43 and 2x7i39, motors and encoders expected very soon.
So I'm ready to start testing pncconf
This is the firmware
www.cutting.lv/fileadmin/user_upload/SVST4_4_7I39.BIT
www.cutting.lv/fileadmin/user_upload/SVST4_4_7I39.PIN
and this is at least partially tested config
www.cutting.lv/fileadmin/user_upload/7i43-big.ini
www.cutting.lv/fileadmin/user_upload/hm2-servo.hal
I already have 7i43 and 2x7i39, motors and encoders expected very soon.
So I'm ready to start testing pncconf
Last edit: 18 Feb 2012 19:59 by PKM.
Please Log in or Create an account to join the conversation.
19 Feb 2012 07:42 #17816
by cmorley
Replied by cmorley on topic Re:7i43 + 7i39
Try this XML file.
Please Log in or Create an account to join the conversation.
19 Feb 2012 08:21 #17817
by cmorley
Replied by cmorley on topic Re:7i43 + 7i39
already found a bug. You can't set the 3pwm base frequency.
I pushed the fix.
I pushed the fix.
Please Log in or Create an account to join the conversation.
19 Feb 2012 15:47 #17831
by PCW
Replied by PCW on topic Re:7i43 + 7i39
The 3pwmgen needs some setup exotica to work with this 7I39 config
(this is an odd config with stepgens added for a single customer)
1. The 3pwmgens fault-invert must be set with this config (this is config specific)
2. For all 3pwmgens driving 7I39s, the deadzone should be set to 0 as the 7I39 has internal deadzone generation
(this is an odd config with stepgens added for a single customer)
1. The 3pwmgens fault-invert must be set with this config (this is config specific)
2. For all 3pwmgens driving 7I39s, the deadzone should be set to 0 as the 7I39 has internal deadzone generation
Please Log in or Create an account to join the conversation.
21 Feb 2012 22:56 #17922
by PKM
Replied by PKM on topic Re:7i43 + 7i39
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
Is that correct with setp hm2_7i43.0.3pwmgen.00.fault-invert 1, Peter?
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
Is that correct with setp hm2_7i43.0.3pwmgen.00.fault-invert 1, Peter?
Please Log in or Create an account to join the conversation.
21 Feb 2012 23:00 - 21 Feb 2012 23:06 #17923
by PKM
Replied by PKM on topic Re:7i43 + 7i39
Maybe the generated config will be useful, to see what's missing
(I have no Halls so I checked only Encoders and Index)
(I have no Halls so I checked only Encoders and Index)
Last edit: 21 Feb 2012 23:06 by PKM.
Please Log in or Create an account to join the conversation.
22 Feb 2012 02:10 - 22 Feb 2012 02:15 #17927
by PCW
Replied by PCW on topic Re:7i43 + 7i39
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
(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: 22 Feb 2012 02:15 by PCW. Reason: ommission
Please Log in or Create an account to join the conversation.
13 Apr 2012 22:44 #19180
by PKM
Replied by PKM on topic Re:7i43 + 7i39
Hello again,
I already have my linear motors (with no Halls).
And I'm still worried by these lines in generated .hal file
There's new bldc_sine component in 2.5.0, how can I use it?
I already have my linear motors (with no Halls).
And I'm still worried by these lines in generated .hal file
What should be here?# ---TPPWM Generator signals/setup---
# three output 3pwg
# TODO write some commands!
There's new bldc_sine component in 2.5.0, how can I use it?
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.076 seconds