Lathe__PathPilot_5i25+5i77

More
18 Feb 2017 08:28 - 18 Feb 2017 11:54 #88163 by dinkata
I try work Lathe PathPilot with Mesa 5i25 + 7i77.[This config work with Linuxcnc 2.7.8 ]
How to change all in metric system ? I try..
tormach_lathe_ui.py:
return 1.0 if self.g21 else 25.4
ini
RS274NGC_STARTUP_CODE = G7 G18 G21 G90
[TRAJ]....LINEAR_UNITS = mm
but very little field work start up :

DRO show mm *25.4 !!??Here command G0 X-50 Z-100

Classicladder work ! Home work ! There is still work :)
Sorry for my language , i use google transalator
Attachments:
Last edit: 18 Feb 2017 11:54 by dinkata.

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

More
19 Feb 2017 05:44 - 19 Feb 2017 05:51 #88235 by rafferty
Replied by rafferty on topic Lathe__PathPilot_5i25+5i77
I changed the INI file, in the [RS274NGC] section change the line

RS274NGC_STARTUP_CODE = G8 G17 G20 G90 G64

to

RS274NGC_STARTUP_CODE = G8 G17 G21 G90 G64

No changes to TRAJ section.

Now all UI displays and buttons are metric, but unfortunately all the values in the INI file still need to be imperial, I'm comfortable with either so it's not really a problem for me.

g21 appears 38 times in the current mill UI so not sure what your one line python change does.

Ken
Last edit: 19 Feb 2017 05:51 by rafferty. Reason: More detail
The following user(s) said Thank You: dinkata

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

More
19 Feb 2017 11:25 #88246 by racedirector
Path pilot runs on imperial and changes to metric as it needs. Everything in the ini file needs to be imperial, just the G21 line in RS274NGC is needed. I run my router on mm btw....
The following user(s) said Thank You: dinkata

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

More
20 Feb 2017 09:39 #88329 by dinkata
Replied by dinkata on topic Lathe__PathPilot_5i25+5i77
rafferty , racedirector Thank you for your participation.
I would like to know does anyone work PathPilot_5i25+5i77 .
I set ini
Warning: Spoiler!

but when you move axis error : axis.0 following error .Maybe I can set up PID ?
This config work with Linuxcnc 2.7.8 .These are the PID settings :
Warning: Spoiler!

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

More
21 Feb 2017 08:43 - 21 Feb 2017 14:19 #88422 by dinkata
Replied by dinkata on topic Lathe__PathPilot_5i25+5i77
First step ready :woohoo:

it's in progress cycle:

o100 do
M66 P0 L0
o101 if [#5399 NE 1]
G91 G1 X50 Z50 F1000
G4 P2
G91 G1 X-50 Z-50 F1000
G4 P2
o101 else
o100 break
o101 endif
o100 while [#<_task> NE 0]
M2

Last edit: 21 Feb 2017 14:19 by dinkata.

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

Moderators: cncbasher
Time to create page: 0.164 seconds
Powered by Kunena Forum