What's new
What's new

offline program for TRAK CNC 2 ??

jpevner

Stainless
Joined
Apr 5, 2005
Location
Central MA
Hi;

Does anyone have a copy of this, so I can load it on a friend's prototrak??

I want to be able to create programs in "trak" language offline, and then download them.

It seems SWI claims no current knowledge of them.


Also, if it is an option, is there a way to tell if it is enabled on a specific machine??

regards,

Jon P.
 
offline programming

If your Prototrak is the one with red led readouts, you may have a challanging situation. There was no way to program offline that I know of. There was a 'special' cassette tape reader to save programs to. But to find one will be difficult.
 
Fran;

Yes, this is one with the red LED readouts. It does have a cassette tape interface, but it seems to have an RS-232 interface as well. The manual mentions this, but only refers to an "offline programming" option. This is what I am trying to get a hold of. It seems this old trak is no longer supported, or at least that option.

regards,

Jon P.
 
Cnc2

My understanding is the RS232 is not a 'real' RS232 that we have become used to. So a DNC from a computer isn't possible.

One would have to program at the machine, save it to tape. One program per tape per side else each program would have to be read (block by block?) until you got to the one you wanted.

I know of no way it can be programmed 'off' line or any cad/cam program that has a post processor that is compatible.

Because of the above, I'm (at some point in time) going to do a CNC retro (Similar to the Mach3.). I have it apart....not the time to get it back together yet.
 
We have a newer machine with a crt. It is a two axis job.

I can program in master cam and move it over in a 3.5 disc.

The post isn't perfect meaning the last line in each section has to be
edited.

The CR-0.0 has to be changed from the posted value I believe.

It's been a while since I ran that machine (18 months).

It won't take tool dia corrections either.

A change in dia, or wear value means modifying and re-posting the program.

Doing a program this way would be very trying manually.

Sample program:


PNGEARBOXRETAINER G20;
N100 ( SET NEW Z! );
N102 ( SET NEW Z! );
N104 ( SET NEW Z! );
N106 G101 XB-0.7940A YB-1.2650A XE-0.7940A YE-0.7650A TC0 F8. D0.5000 CR0.0 T1;
N108 G103 XB-0.7940A YB-0.7650A XE-1.2940A YE-0.2650A XC-1.2940A YC-0.7650A F8. TC0 D0.5000 CR0.0 T1;
N110 G101 XB-1.2940A YB-0.2650A XE-1.7500A YE-0.2650A TC0 F8. D0.5000 CR0.0 T1;
N112 G102 XB-1.7500A YB-0.2650A XE-2.2650A YE+0.2500A XC-1.7500A YC+0.2500A F8. TC0 D0.5000 CR0.0 T1;
N114 G101 XB-2.2650A YB+0.2500A XE-2.2650A YE+0.7500A TC0 F8. D0.5000 CR0.0 T1;
N116 G102 XB-2.2650A YB+0.7500A XE-1.7500A YE+1.2650A XC-1.7500A YC+0.7500A F8. TC0 D0.5000 CR0.0 T1;
N118 G101 XB-1.7500A YB+1.2650A XE-0.1250A YE+1.2650A TC0 F8. D0.5000 CR0.0 T1;
N120 G102 XB-0.1250A YB+1.2650A XE+0.2650A YE+0.8750A XC-0.1250A YC+0.8750A F8. TC0 D0.5000 CR0.0 T1;
N122 G101 XB+0.2650A YB+0.8750A XE+0.2650A YE+0.8380A TC0 F8. D0.5000 CR0.0 T1;
N124 G101 XB+0.2650A YB+0.8380A XE+0.2650A YE+0.7650A TC0 F8. D0.5000 CR0.0 T1;
N126 G101 XB+0.2650A YB+0.7650A XE+0.2650A YE+0.7044A TC0 F8. D0.5000 CR0.0 T1;
N128 G102 XB+0.2650A YB+0.7044A XE-0.0174A YE+0.4096A XC-0.0300A YC+0.7044A F8. TC0 D0.5000 CR0.0 T1;
N130 G103 XB-0.0174A YB+0.4096A XE-0.4096A YE+0.0174A XC+0.0000A YC+0.0000A F8. TC0 D0.5000 CR0.0 T1;
N132 G102 XB-0.4096A YB+0.0174A XE-0.7044A YE-0.2650A XC-0.7044A YC+0.0300A F8. TC0 D0.5000 CR0.0 T1;
N134 G101 XB-0.7044A YB-0.2650A XE-0.7650A YE-0.2650A TC0 F8. D0.5000 CR0.0 T1;
N136 G101 XB-0.7650A YB-0.2650A XE-0.8380A YE-0.2650A TC0 F8. D0.5000 CR0.0 T1;
N138 G101 XB-0.8380A YB-0.2650A XE-1.2940A YE-0.2650A TC0 F8. D0.5000 CR0.0 T1;
N140 G103 XB-1.2940A YB-0.2650A XE-1.7940A YE-0.7650A XC-1.2940A YC-0.7650A F8. TC0 D0.5000 CR0.0 T1;
N142 G101 XB-1.7940A YB-0.7650A XE-1.7940A YE-1.2650A TC0 F8. D0.5000 CR-0.0 T1;
N144 ( SET NEW Z! );
N146 ( SET NEW Z! );
N148 ( SET NEW Z! );
N150 ( SET NEW Z! );
N152 G101 XB-0.7940A YB-1.2500A XE-0.7940A YE-0.7500A TC0 F8. D0.5000 CR0.0 T1;
N154 G103 XB-0.7940A YB-0.7500A XE-1.2940A YE-0.2500A XC-1.2940A YC-0.7500A F8. TC0 D0.5000 CR0.0 T1;
N156 G101 XB-1.2940A YB-0.2500A XE-1.7500A YE-0.2500A TC0 F8. D0.5000 CR0.0 T1;
N158 G102 XB-1.7500A YB-0.2500A XE-2.2500A YE+0.2500A XC-1.7500A YC+0.2500A F8. TC0 D0.5000 CR0.0 T1;
N160 G101 XB-2.2500A YB+0.2500A XE-2.2500A YE+0.7500A TC0 F8. D0.5000 CR0.0 T1;
N162 G102 XB-2.2500A YB+0.7500A XE-1.7500A YE+1.2500A XC-1.7500A YC+0.7500A F8. TC0 D0.5000 CR0.0 T1;
N164 G101 XB-1.7500A YB+1.2500A XE-0.1250A YE+1.2500A TC0 F8. D0.5000 CR0.0 T1;
N166 G102 XB-0.1250A YB+1.2500A XE+0.2500A YE+0.8750A XC-0.1250A YC+0.8750A F8. TC0 D0.5000 CR0.0 T1;
N168 G101 XB+0.2500A YB+0.8750A XE+0.2500A YE+0.8380A TC0 F8. D0.5000 CR0.0 T1;
N170 G101 XB+0.2500A YB+0.8380A XE+0.2500A YE+0.7650A TC0 F8. D0.5000 CR0.0 T1;
N172 G101 XB+0.2500A YB+0.7650A XE+0.2500A YE+0.7044A TC0 F8. D0.5000 CR0.0 T1;
N174 G102 XB+0.2500A YB+0.7044A XE-0.0181A YE+0.4246A XC-0.0300A YC+0.7044A F8. TC0 D0.5000 CR0.0 T1;
N176 G103 XB-0.0181A YB+0.4246A XE-0.4246A YE+0.0181A XC+0.0000A YC+0.0000A F8. TC0 D0.5000 CR0.0 T1;
N178 G102 XB-0.4246A YB+0.0181A XE-0.7044A YE-0.2500A XC-0.7044A YC+0.0300A F8. TC0 D0.5000 CR0.0 T1;
N180 G101 XB-0.7044A YB-0.2500A XE-0.7650A YE-0.2500A TC0 F8. D0.5000 CR0.0 T1;
N182 G101 XB-0.7650A YB-0.2500A XE-0.8380A YE-0.2500A TC0 F8. D0.5000 CR0.0 T1;
N184 G101 XB-0.8380A YB-0.2500A XE-1.2940A YE-0.2500A TC0 F8. D0.5000 CR0.0 T1;
N186 G103 XB-1.2940A YB-0.2500A XE-1.7940A YE-0.7500A XC-1.2940A YC-0.7500A F8. TC0 D0.5000 CR0.0 T1;
N188 G101 XB-1.7940A YB-0.7500A XE-1.7940A YE-1.2500A TC0 F8. D0.5000 CR-0.0 T1;
N190 ( SET NEW Z! );
N192 ( SET NEW Z! );
N194 ( SET NEW Z! );
N196 ( SET NEW Z! );
N198 G101 XB+0.5000A YB-0.4270A XE+0.5000A YE+0.0730A TC0 F8. D0.5000 CR0.0 T1;
N200 G103 XB+0.5000A YB+0.0730A XE+0.0000A YE+0.5730A XC+0.0000A YC+0.0730A F8. TC0 D0.5000 CR0.0 T1;
N202 G103 XB+0.0000A YB+0.5730A XE-0.5730A YE+0.0000A XC+0.0000A YC+0.0000A F8. TC0 D0.5000 CR0.0 T1;
N204 G103 XB-0.5730A YB+0.0000A XE-0.0730A YE-0.5000A XC-0.0730A YC+0.0000A F8. TC0 D0.5000 CR0.0 T1;
N206 G101 XB-0.0730A YB-0.5000A XE+0.4270A YE-0.5000A TC0 F8. D0.5000 CR-0.0 T1;
N208 ( SET NEW Z! );
N210 ( SET NEW Z! );
N212 ( SET NEW Z! );
N214 ( SET NEW Z! );
N216 G101 XB+0.5000A YB-0.4120A XE+0.5000A YE+0.0880A TC0 F8. D0.5000 CR0.0 T1;
N218 G103 XB+0.5000A YB+0.0880A XE+0.0000A YE+0.5880A XC+0.0000A YC+0.0880A F8. TC0 D0.5000 CR0.0 T1;
N220 G103 XB+0.0000A YB+0.5880A XE-0.5880A YE+0.0000A XC+0.0000A YC+0.0000A F8. TC0 D0.5000 CR0.0 T1;
N222 G103 XB-0.5880A YB+0.0000A XE-0.0880A YE-0.5000A XC-0.0880A YC+0.0000A F8. TC0 D0.5000 CR0.0 T1;
N224 G101 XB-0.0880A YB-0.5000A XE+0.4120A YE-0.5000A TC0 F8. D0.5000 CR-0.0 T1;
N226 ( SET NEW Z! );
N228 ( SET NEW Z! );
N230 G100 X-1.5000A Y+0.5000A T2 D0.2500;
N232 G100 X-1.0000A Y+0.5000A T2 D0.2500;
%
 
We picked up an old Lagun mill with the Trak CNC2 control at my job earlier this year. It would be a POS for most shops, but we got it reasonably cheap and it works well for the small quantities of small aluminum parts I need to make.

SWI told us at one point that the offline programming software was created by an outside contractor and never did work right and they tried to smother the whole thing at birth. They also told us that the programs the machine uses are encrypted so it is now impractical to write, edit or even store them in a PC. However after some experimentation I was able to transfer programs back and forth to my "netbook" with success MOST of the time. Here is a sample program:

R11000000101030000271000000000000000C4
R23703370100000000008900468200A8000ABE00F90000C800C9FFF47A009000000000B1FFCA4A00D000000000100000000040002801F47FFD00
R2230623010000000400300001000190FFF15A00B000000000F000000000D0000000007FD700
R237033701000000000089000BB800A9000ABE00F90000C800C9FFF416009000000000B1FFC08600D000000000100000000040007801F47FE300
R23703370100000000008800000000A800000000F800000000C8000000009000000000B1000ABE00D000000000100000000040007801F47FC000
R23703370100000000008800000000A800000000F800000000C80000000091001A5E00B000000000D00000000010000000004001F401F47F9300
R23703370100000000008800000000A800000000F800000000C8000000009000000000B1FFC08600D000000000100000000040007801F47F4300
R23703370100000000008800000000A800000000F800000000C8000000009100290400B000000000D00000000010000000004001F401F47FDE00
R23703370100000000008800000000A800000000F800000000C8000000009000000000B1000ABE00D000000000100000000040007801F47FC000
R23703370100000000008800000000A800000000F800000000C800000000910037AA00B000000000D00000000010000000004001F401F47F2A00
R23703370100000000008800000000A800000000F800000000C8000000009000000000B1FFC08600D000000000100000000040007801F47F4300
R23703370100000000008800000000A800000000F800000000C8000000009100465000B000000000D00000000010000000004001F401F47F7500
R23703370100000000008800000000A800000000F800000000C8000000009000000000B1000ABE00D000000000100000000040007801F47FC000
R21E011E01000000008099FF8AD000B9004E2000F90007D000D8000000007F2000
R2230623010000006300300001000D9000000000B000000000F000000000D0000000007FB600
R33200C35000FF3CB0000061A800FF8AD00010000000FFF3E400000000000000000000000000000000000000FF8AD000004E2000F3
R50801000B5D00138800FC
R9

The programs always start with R11 and end with R9, but the only thing recognizable in them is the program number... none of the numbers in the program text ever match the X, Y, Z positions or feed rates or radiuses that the program displays on the control. This format appears vaguely familiar to me... I used to run a SWI MX2 15 years ago, maybe I viewed the code for that at some point and it was the same system?

The upper control box (pendant?) on our machine has a part number 15222R-OL. It is my suspicion that the OL suffix indicates the offline programming option, which I believe is necessary before you can transfer programs through the RS232 port. I think all the CNC2 controls came with the tape capability, but not necessarily with the tape recorder. If you have the recorder, I understand the tapes are special and now crazy expensive if you could find them. Even tapes that appear similar externally probably won't work, as reportedly there is a sequence of holes at the start of the tape, or something else similar, that is necessary for them to work with the CNC2.

The CNC2 machine has a few annoying limitations, and for most purposes I regard any machine that relies on a CNC quill for its Z axis as very lame, but I don't mind running the thing a bit. The parts we make are 2024 aluminum, quite small, the tolerances are not super critical, and the quantities are limited, so we are a good home for this old clunker. It sure beats doing 20 or 30 identical parts manually!

I'm doing all my programming at the machine... which I prefer anyway.
 
Hello
Can you tell me how do you do this? Rs232 cable and offline software? I have the same problem, need to store programs in pc and when i need it send back to cnc !Thanks
 
We picked up an old Lagun mill with the Trak CNC2 control at my job earlier this year. It would be a POS for most shops, but we got it reasonably cheap and it works well for the small quantities of small aluminum parts I need to make.

SWI told us at one point that the offline programming software was created by an outside contractor and never did work right and they tried to smother the whole thing at birth. They also told us that the programs the machine uses are encrypted so it is now impractical to write, edit or even store them in a PC. However after some experimentation I was able to transfer programs back and forth to my "netbook" with success MOST of the time. Here is a sample program:

R11000000101030000271000000000000000C4
R23703370100000000008900468200A8000ABE00F90000C800C9FFF47A009000000000B1FFCA4A00D000000000100000000040002801F47FFD00
R2230623010000000400300001000190FFF15A00B000000000F000000000D0000000007FD700
R237033701000000000089000BB800A9000ABE00F90000C800C9FFF416009000000000B1FFC08600D000000000100000000040007801F47FE300
R23703370100000000008800000000A800000000F800000000C8000000009000000000B1000ABE00D000000000100000000040007801F47FC000
R23703370100000000008800000000A800000000F800000000C80000000091001A5E00B000000000D00000000010000000004001F401F47F9300
R23703370100000000008800000000A800000000F800000000C8000000009000000000B1FFC08600D000000000100000000040007801F47F4300
R23703370100000000008800000000A800000000F800000000C8000000009100290400B000000000D00000000010000000004001F401F47FDE00
R23703370100000000008800000000A800000000F800000000C8000000009000000000B1000ABE00D000000000100000000040007801F47FC000
R23703370100000000008800000000A800000000F800000000C800000000910037AA00B000000000D00000000010000000004001F401F47F2A00
R23703370100000000008800000000A800000000F800000000C8000000009000000000B1FFC08600D000000000100000000040007801F47F4300
R23703370100000000008800000000A800000000F800000000C8000000009100465000B000000000D00000000010000000004001F401F47F7500
R23703370100000000008800000000A800000000F800000000C8000000009000000000B1000ABE00D000000000100000000040007801F47FC000
R21E011E01000000008099FF8AD000B9004E2000F90007D000D8000000007F2000
R2230623010000006300300001000D9000000000B000000000F000000000D0000000007FB600
R33200C35000FF3CB0000061A800FF8AD00010000000FFF3E400000000000000000000000000000000000000FF8AD000004E2000F3
R50801000B5D00138800FC
R9

The programs always start with R11 and end with R9, but the only thing recognizable in them is the program number... none of the numbers in the program text ever match the X, Y, Z positions or feed rates or radiuses that the program displays on the control. This format appears vaguely familiar to me... I used to run a SWI MX2 15 years ago, maybe I viewed the code for that at some point and it was the same system?

The upper control box (pendant?) on our machine has a part number 15222R-OL. It is my suspicion that the OL suffix indicates the offline programming option, which I believe is necessary before you can transfer programs through the RS232 port. I think all the CNC2 controls came with the tape capability, but not necessarily with the tape recorder. If you have the recorder, I understand the tapes are special and now crazy expensive if you could find them. Even tapes that appear similar externally probably won't work, as reportedly there is a sequence of holes at the start of the tape, or something else similar, that is necessary for them to work with the CNC2.

The CNC2 machine has a few annoying limitations, and for most purposes I regard any machine that relies on a CNC quill for its Z axis as very lame, but I don't mind running the thing a bit. The parts we make are 2024 aluminum, quite small, the tolerances are not super critical, and the quantities are limited, so we are a good home for this old clunker. It sure beats doing 20 or 30 identical parts manually!

I'm doing all my programming at the machine... which I prefer anyway.


Hello
Can you tell me how do you do this? Rs232 cable and offline software? I have the same problem, need to store programs in pc and when i need it send back to cnc !Thanks
 








 
Back
Top