PathPilot 2.0.2 adding rtlib's

More
8 years 6 months ago #109628 by dinkata
I added
Code:
loadrt flipflop names=flipflop1,flipflop2 ..................................... addf flipflop1 servo-thread addf flipflop2 servo-thread
and I think it works
The following user(s) said Thank You: emptyhb

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

More
8 years 6 months ago #109629 by DaOne
Any of you guys using a parallel port? Curious what you bypassed.

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

More
8 years 6 months ago - 8 years 6 months ago #109630 by dinkata

File Attachment:

File Name: charge_pump.so.tar.gz
File Size:2.15 KB

DaOne wrote: Any of you guys using a parallel port? Curious what you bypassed.

Code:
loadrt hal_parport cfg="0x378 out" setp parport.0.reset-time 500 loadrt charge_pump ...................... addf parport.0.read base-thread addf parport.0.write base-thread addf parport.0.reset base-thread addf charge-pump base-thread
That's how it works
@DaOne please share ini and hal only for XHC-HB04 !
Last edit: 8 years 6 months ago by dinkata.

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

More
8 years 6 months ago #109632 by DaOne

dinkata wrote:

File Attachment:

File Name: charge_pump.so.tar.gz
File Size:2.15 KB

DaOne wrote: Any of you guys using a parallel port? Curious what you bypassed.

Code:
loadrt hal_parport cfg="0x378 out" setp parport.0.reset-time 500 loadrt charge_pump ...................... addf parport.0.read base-thread addf parport.0.write base-thread addf parport.0.reset base-thread addf charge-pump base-thread
That's how it works
@DaOne please share ini and hal only for XHC-HB04 !


No I understand the hal and ini files. Thats the easy part. When not in sim mode there is checks at startup (python code) that looks for the mesa card and then ethernet. It will error out and force close with a dialog box if they are not detected. its done in pathpilotmanager.py I am almost sure. I have not even touched the hal files or ini files in 2.0 yet. Gonna set through it before adding in all my mods to the python code. I just don't want to reinvent the wheel if someone else has done it already.

On the XHC-HB04 ini and hal files I would assume you do it just like you do in linuxcnc. I don't have one yet but might pick one up to play with for this lathe retrofit.

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

More
8 years 6 months ago - 8 years 6 months ago #109633 by emptyhb
@Stigoe, dinkata:

Can you send me linuxcnc folder you're using to compile rtlibs? and instruction how to compile.

I can check what am i doing wrong.

My email: tuan302@gmail.com
Last edit: 8 years 6 months ago by emptyhb.

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

More
8 years 6 months ago #109634 by dinkata
I just put it Mesa 5i25 ;) ....
then edit some files ....:woohoo:

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

Time to create page: 0.136 seconds
Powered by Kunena Forum