Lathe__PathPilot_5i25+5i77

More
9 years 8 months ago #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:
Code:
return 1.0 if self.g21 else 25.4
ini
Code:
RS274NGC_STARTUP_CODE = G7 G18 G21 G90
Code:
[TRAJ]....LINEAR_UNITS = mm
but very little field work start up :

Attachment not found


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

Attachment not found


Classicladder work ! Home work ! There is still work :)
Sorry for my language , i use google transalator

Please Log in to join the conversation.

More
9 years 8 months ago #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

Please Log in to join the conversation.

More
9 years 8 months ago #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....

Please Log in to join the conversation.

More
9 years 8 months ago #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 to join the conversation.

More
9 years 8 months ago #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

Please Log in to join the conversation.

Time to create page: 0.253 seconds
Powered by Kunena Forum