MESA 5i23 7i44 7i49 7i37 8i20

More
28 May 2015 02:11 - 28 May 2015 02:12 #59120 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
Ok, thank you.

Maybe I will next weekend "debug" on the machine. ;)

Unfortunatelly, I still dont have xml file for my machine.

My idea:
Step one: I will configurate my machine via pcconf (very briefly configuration)
Step two: And then I will firmly tuning HAL and INI files by yours posts.

My question is: is possible downloaded rmsvss6_8.xml file for my 5i23?

thank
Last edit: 28 May 2015 02:12 by kenny.

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

More
28 May 2015 02:25 #59123 by andypugh

Step one: I will configurate my machine via pcconf (very briefly configuration)


Looking at pncconf it seems to understand bldc and resolvers, though it would be interesting to see whether it gets closer to a working config on your machine than my config is.

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

More
28 May 2015 02:51 #59124 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
Ok, I'll try it, and then sends a message. :)



Ehm,
But I still want to try pcconf... ;)


Xml....

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

More
28 May 2015 06:18 #59137 by andypugh

But I still want to try pcconf... ;)


Well, yes, but without the XML file that is difficult.

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

More
28 May 2015 11:29 #59141 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
I understand.
Nothing XML.
Nothing pncconf...

ASCII text editor and: Linux forever. :(
:) :) :) :)

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

More
18 Jun 2015 22:45 #59947 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
Hi, do you help Me please?
I have little problem with file Mymachine.hal
1) I wrote you configuration to my HAL file for first testing.
2) I change line with load firmware to Mesa 5i23 to> loadrt hm2_pci config="firmware=hm2/5i23/RMSVSS6_8.bit" pass OK
3) I dont know to change (replace) this line > loadrt bldc cfg=[HAL]BLDC but pass NOK...

Thank you

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

More
18 Jun 2015 22:59 #59949 by andypugh

3) I dont know to change (replace) this line > loadrt bldc cfg=[HAL]BLDC but pass NOK...


You need to add a section to your INI file called [HAL] (if you don't already have one) and then add an entry for BLDC in that.

In the HAL file anything that looks like [THIS]AND_THIS means that the HAL file should look in the [THIS] section of the INI for an entry called AND_THIS.
(You can add anything you want, but some of the existing entried have special meanings.

The [HAL]BLDC entry should be the config string for the bldc component appropriate to your motors.

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

More
18 Jun 2015 23:35 #59955 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
Thank,
do you send me please example of parts on this BLDC config?
I have files Mymachine.hal and Mymachine.ini but I dont have correctlysection for 7i49 and sin cos resolver... (maybe?)
:(

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

More
19 Jun 2015 00:09 #59959 by andypugh

do you send me please example of parts on this BLDC config?


My config is pretty complicated by now, so giving you all of it might not help.

Resolvers are absolute devices, so it's very simple:

BDLC = a,a,a

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

More
19 Jun 2015 17:22 #59978 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
Ok,
sorry I am totaly newbie in linuxcnc - emc - mesa... :(
But I gradually perfected (step by step by...). ;)

So, this is part of my hal file:



###################################

loadrt trivkins

loadrt motmod servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES

loadrt hostmot2
loadrt hm2_pci config="firmware=hm2/5i23/RMSVSS6_8.bit"
loadrt bldc =a,a,a

loadrt pid num_chan=4
loadrt sum2 count=1
loadrt logic names=estop-sw personality=0x103
loadrt oneshot
loadrt near count=1
loadrt and2 countloadrt bldc count=3=1
loadrt or2 count=1
setp hm2_5i23.0.watchdog.timeout_ns 10000000


###################################

Is it OK?

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

Moderators: PCWjmelson
Time to create page: 0.124 seconds
Powered by Kunena Forum