- Posts: 101
- Thank you received: 1
PathPilot 2.0.2 adding rtlib's
8 years 6 months ago #109628
by dinkata
Replied by dinkata on topic PathPilot 2.0.2 adding rtlib's
The following user(s) said Thank You: emptyhb
Please Log in or Create an account to join the conversation.
8 years 6 months ago #109629
by DaOne
Replied by DaOne on topic PathPilot 2.0.2 adding rtlib's
Any of you guys using a parallel port? Curious what you bypassed.
Please Log in or Create an account to join the conversation.
8 years 6 months ago - 8 years 6 months ago #109630
by dinkata
That's how it works
@DaOne please share ini and hal only for XHC-HB04 !
Replied by dinkata on topic PathPilot 2.0.2 adding rtlib's
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
@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.
8 years 6 months ago #109632
by DaOne
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.
Replied by DaOne on topic PathPilot 2.0.2 adding rtlib's
dinkata wrote:
DaOne wrote: Any of you guys using a parallel port? Curious what you bypassed.
That's how it worksCode: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
@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.
8 years 6 months ago - 8 years 6 months ago #109633
by emptyhb
Replied by emptyhb on topic PathPilot 2.0.2 adding rtlib's
@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
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.
8 years 6 months ago #109634
by dinkata
Replied by dinkata on topic PathPilot 2.0.2 adding rtlib's
I just put it Mesa 5i25
....
then edit some files ....:woohoo:
then edit some files ....:woohoo:
Please Log in or Create an account to join the conversation.
Time to create page: 0.136 seconds