NEWS
LinuxCNC 2.5.2 Release
LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me

TOPIC: retrofit on EMCO PC turn 55

Re:retrofit on EMCO PC turn 55 21 Jul 2012 11:10 #22287

  • bobinater
  • bobinater's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 76
  • Karma: 0
that looks alot like mill code to me


lathe code for most lathes that I have seen do not use


g43 or a m6 call out so I will have to get used to that if I start using linux or can that be altered in the base program?



Bob
The administrator has disabled public write access.

Re:retrofit on EMCO PC turn 55 21 Jul 2012 11:13 #22288

  • bobinater
  • bobinater's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 76
  • Karma: 0
here is an example of a lathe program that I wrote for a lug binding screw

for work, does this look at all like a linux post would or will I have to rebuild my post processor as well


Bob



%
O05005 (BINDING-SCREW)
N1 G20 G40 G80
N2 T303
N3 S1200 M03
N4 G00 X0. Z5.
N5 G98
N6 G82 X0. Z-0.0937 F20. R0.05
N7 G80
N8 G99
N9 G00 Z5.
N10 M05
N11 T308
N12 S1500 M03
N13 Z5.
N14 G98
N15 G83 X0. Z-0.6992 F20. R0.05 Q0.1
N16 G80
N17 G99
N18 G00 Z0.1
N19 M05
N20 T101
N21 G50 S1800
N22 G96 S400 M03
N23 G00 X0.0688 Z0.
N24 G01 X-0.0312 F0.005
N25 X0.3644
N26 X0.7284 Z-0.0214
N27 Z-0.0591
N28 X0.9026
N29 X0.9928 Z-0.1086
N30 Z-0.7354
N31 G98
N32 G01 X1.1928 F100.
N33 T202
N34 G97 S500
N35 G99
N36 G00 X1.0928 Z0.0654
N37 X0.9826
N38 G32 Z-0.6937 F0.125
N39 G00 X1.0928
N40 Z0.0654
N41 X0.9726
N42 G32 Z-0.6937 F0.125
N43 G00 X1.0928
N44 Z0.0654
N45 X0.963
N46 G32 Z-0.6937 F0.125
N47 G00 X1.0928
N48 Z0.0654
N49 X0.9536
N50 G32 Z-0.6937 F0.125
N51 G00 X1.0928
N52 Z0.0654
N53 X0.9448
N54 G32 Z-0.6937 F0.125
N55 G00 X1.0928
N56 Z0.0654
N57 X0.936
N58 G32 Z-0.6937 F0.125
N59 G00 X1.0928
N60 Z0.0654
N61 X0.9278
N62 G32 Z-0.6937 F0.125
N63 G00 X1.0928
N64 Z0.0654
N65 X0.9198
N66 G32 Z-0.6937 F0.125
N67 G00 X1.0928
N68 Z0.0654
N69 X0.9122
N70 G32 Z-0.6937 F0.125
N71 G00 X1.0928
N72 Z0.0654
N73 X0.9048
N74 G32 Z-0.6937 F0.125
N75 G00 X1.0928
N76 Z0.0654
N77 X0.8978
N78 G32 Z-0.6937 F0.125
N79 G00 X1.0928
N80 Z0.0654
N81 X0.8912
N82 G32 Z-0.6937 F0.125
N83 G00 X1.0928
N84 Z0.0654
N85 X0.8848
N86 G32 Z-0.6937 F0.125
N87 G00 X1.0928
N88 Z0.0654
N89 X0.8788
N90 G32 Z-0.6937 F0.125
N91 G00 X1.0928
N92 Z0.0654
N93 X0.8732
N94 G32 Z-0.6937 F0.125
N95 G00 X1.0928
N96 Z0.0654
N97 X0.8678
N98 G32 Z-0.6937 F0.125
N99 G00 X1.0928
N100 Z0.0654
N101 X0.8628
N102 G32 Z-0.6937 F0.125
N103 G00 X1.0928
N104 Z0.0654
N105 X0.8582
N106 G32 Z-0.6937 F0.125
N107 G00 X1.0928
N108 Z0.0654
N109 X0.8538
N110 G32 Z-0.6937 F0.125
N111 G00 X1.0928
N112 Z0.0654
N113 X0.8498
N114 G32 Z-0.6937 F0.125
N115 G00 X1.0928
N116 Z0.0654
N117 X0.8462
N118 G32 Z-0.6937 F0.125
N119 G00 X1.0928
N120 Z0.0654
N121 X0.8428
N122 G32 Z-0.6937 F0.125
N123 G00 X1.0928
N124 Z0.0654
N125 X0.8396
N126 G32 Z-0.6937 F0.125
N127 G00 X1.0928
N128 Z0.0654
N129 X0.837
N130 G32 Z-0.6937 F0.125
N131 G00 X1.0928
N132 Z0.0654
N133 X0.8346
N134 G32 Z-0.6937 F0.125
N135 G00 X1.0928
N136 Z0.0654
N137 X0.8326
N138 G32 Z-0.6937 F0.125
N139 G00 X1.0928
N140 Z0.0654
N141 X0.8308
N142 G32 Z-0.6937 F0.125
N143 G00 X1.0928
N144 Z0.0654
N145 X0.8294
N146 G32 Z-0.6937 F0.125
N147 G00 X1.0928
N148 Z0.0654
N149 X0.8284
N150 G32 Z-0.6937 F0.125
N151 G00 X1.0928
N152 Z0.0654
N153 X0.8276
N154 G32 Z-0.6937 F0.125
N155 G00 X1.0928
N156 Z0.0654
N157 X0.8272
N158 G32 Z-0.6937 F0.125
N159 G00 X1.0928
N160 Z0.0654
N161 X0.8272
N162 G32 Z-0.6937 F0.125
N163 G00 X1.0928
N164 Z0.0654
N165 X0.8272
N166 G32 Z-0.6937 F0.125
N167 G00 X1.0928
N168 Z0.0654
N169 X0.8272
N170 G32 Z-0.6937 F0.125
N171 G00 X1.0928
N172 Z5.
N173 M05
N174 T404
N175 G50 S1800 F0.002
N176 G96 S300 F0.0015 M03
N177 G00 X1.05
N178 Z-0.65
N179 G01 X-0.01 F0.0015
N180 G00 X1.
N181 Z5.
N182 M05
N183 M30
%
The administrator has disabled public write access.

Re:retrofit on EMCO PC turn 55 21 Jul 2012 11:41 #22291

  • cmorley
  • cmorley's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1495
  • Thank you received: 40
  • Karma: 89
You would have to change it.
Just off after a quick read through...

I see g32 which linuxcnc uses g33
also the tool calls/offsets are done 'lathe style' (the offset is set with the tool - T404)
Linuxcnc does it differently g43 sets the offset the T code preselects the tool and M6 does the tool change - something like that.
The administrator has disabled public write access.

Re:retrofit on EMCO PC turn 55 21 Jul 2012 12:38 #22294

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4140
  • Thank you received: 141
  • Karma: 130
bobinater wrote:
that looks alot like mill code to me
lathe code for most lathes that I have seen do not use
Indeed, it is mill code, as LinuxCNC is a general-purpose machine tool (and robot) controller. I think it was decided that that was a more flexible system.
However, as that link showed, someone has already modified LinuxCNC to accept the alternative format. You could (in theory) patch your version of LinuxCNC with those changes, or hope that they get accepted into the production version and wait.

You could also write a filter that converts your G-code before running it, that is fairly easy to configure.

Modifying the post processor is probably the easiest way, though.

I will mention that you would prefer the other style, though.
The administrator has disabled public write access.

Re:retrofit on EMCO PC turn 55 24 Jul 2012 10:29 #22409

  • jrkeat
  • jrkeat's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Karma: 0
On my PCTurn55, one of my limit switches in normally closed (NC) and the other is normally open. The normally open one seems wierd, and I can get it to be NC just by changing the leads going into the switch. Do others have one normally open switch, or are they both NC?
The administrator has disabled public write access.

Re:retrofit on EMCO PC turn 55 24 Jul 2012 10:57 #22410

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4964
  • Thank you received: 87
  • Karma: 134
Usually all limit switches are N/C.

John
The administrator has disabled public write access.
Time to create page: 1.633 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.