View previous topic :: View next topic |
Author |
Message |
BIGmiralli Frequent Poster
Joined: 17 Apr 2007 Posts: 38 Location: Boston, Massachusetts
|
Posted: Wed Nov 07, 2007 12:18 pm Post subject: Error when sending to Okuma Crown |
|
|
I get a "5240 RS-232C Ready interupt timeout" error after a couple of seconds when downloading to CNC.
Any suggestions?
________
CHEVROLET TRAILBLAZER SPECIFICATIONS
Last edited by BIGmiralli on Wed Feb 16, 2011 10:39 am; edited 1 time in total |
|
Back to top |
|
|
RanicInimim New Member
Joined: 30 May 2007 Posts: 5 Location: Mexico
|
Posted: Wed Nov 07, 2007 12:19 pm Post subject: |
|
|
WE HAD TO ADD % TO START OF PROGRAM FOR IT TO TRANSFER TO AN A.MIN FILE.
AFTER THAT WE HAVE GONE THROUGH ALL THE PROGRAM FILES AND ADDED $FILENAME.MIN% TO THE HEADER OF THE PROGRAM AND WAW-LA, IT WORKS!
________
Weed Vaporizer
Last edited by RanicInimim on Sat Feb 19, 2011 8:33 am; edited 1 time in total |
|
Back to top |
|
|
mistux Site Admin
Joined: 25 Jun 2004 Posts: 1042 Location: South Bend, Indiana USA
|
Posted: Wed Nov 07, 2007 12:23 pm Post subject: |
|
|
See if your memory is full on the control. If it is, just delete some programs (after uploading them first if you want to keep them) and then try sending the program again.
Hope this helps. |
|
Back to top |
|
|
BIGmiralli Frequent Poster
Joined: 17 Apr 2007 Posts: 38 Location: Boston, Massachusetts
|
Posted: Wed Nov 07, 2007 12:24 pm Post subject: It Works!! |
|
|
Ya That was it, we deleted some old programs and tried it again and it worked!
Your the greatest!
________
MEDICAL MARIJUANA
Last edited by BIGmiralli on Wed Feb 16, 2011 10:39 am; edited 1 time in total |
|
Back to top |
|
|
BIGmiralli Frequent Poster
Joined: 17 Apr 2007 Posts: 38 Location: Boston, Massachusetts
|
Posted: Thu Nov 08, 2007 9:58 am Post subject: |
|
|
Yes the memory was full, once we deleted a program, we were able to load a program. Program $CF-1-5-E.MIN%
Then we loaded a program $O0100.MIN% , no problem. So we tried $O0200.MIN%. this program will not load.
We changed the program name, no luck. At this time I am comparing line by line program $O0100.MIN% and $O0200.MIN%
Any thoughts or help would be appreciated.
This is a good one!
Won't work:
Code: |
$O0200.MIN%
IF[V1 GT .002] N1
GOTO N2 (CFL-2-S-CR OUTER )
N1 V1=.0004
N2 G00 X20 Z20 M83
N0001 G50 S3000 T0101 (80 DEG.OD)
M3 G96 S600
G00 X2.2 Z.010 M8
G01 X-.06 F.008
G00 X2.020 Z.015
G01 Z-1.385 F.008
G00 X2.050 Z.015
G00 X1.715
G03 X2.015 Z-.145 L.150 F.003
G01 Z-.175 X2.030
G00 X20 Z20
N0002 T0202 G96 S500 M3 (VBMT .015 T/N FINISH)
G00 X2.030 Z0.
G01 X1.125 F.004
G00 Z.005 X1.725
G01 Z-.0003 X1.738 F.004
G03 L.135 X2.008 Z-.135 F.003
G01 Z-1.380 F.006
G00 X20 Z20
|
Will work:
Code: |
$CF-1-5-CR-E.MIN%
IF [V1 GT .002] N1
GOTO N2
N1 V1=.0004
N2 G00 X20 Z20 M83
G50 S3000 T0101 (80 DEG.OD)
M3 G96 S500
G00 X1.475 Z.01 M8
G01 X-.06 F.005
G00 X1.309 Z.015
G01 Z-.291 F.008
G00 X1.325 Z.015
G00 X1.244
|
________
Chrysler Nsg370 Transmission
Last edited by BIGmiralli on Wed Feb 16, 2011 10:39 am; edited 2 times in total |
|
Back to top |
|
|
mistux Site Admin
Joined: 25 Jun 2004 Posts: 1042 Location: South Bend, Indiana USA
|
Posted: Thu Nov 08, 2007 10:03 am Post subject: |
|
|
OK, let us know what you find. Maybe there is a wrong code or something not capitalized. |
|
Back to top |
|
|
BIGmiralli Frequent Poster
Joined: 17 Apr 2007 Posts: 38 Location: Boston, Massachusetts
|
Posted: Thu Nov 08, 2007 10:21 am Post subject: Found it! |
|
|
At the end of the each program I found the following:
Code: | CALL OBAR
/GOTO N2
M02
* *
%
|
Program $O0200.MIN% did not have the % at the end of the program. Once I added it, the program loaded.
So what importance does * * have?
%
________
The cigar boss
Last edited by BIGmiralli on Tue Mar 15, 2011 12:45 pm; edited 1 time in total |
|
Back to top |
|
|
dawn Master Poster
Joined: 26 Jun 2004 Posts: 311 Location: Mishawaka, IN
|
Posted: Thu Nov 08, 2007 10:34 am Post subject: |
|
|
I'm not exactly sure, what you found by your example; what do the asterisk "*" mean, is that indicate where the rest of the program is that you just omitted for space reasons? Or was there actually asterisk in the program?
If, what you found, was that it needed a percent "%" at the end then I can understand that, however the example that you gave before that worked did not have it at the end?
Here is what might be going on: The "%" at the beginning of the program tells the machine that it is about to get a program. In the old days of paper tape it used to be what was called the "leader" on the tape which was actually about 50 or so holes down the center of the tape, that was actually the holes for the sprocket mechanical mechanism to physically move the tape. In some cases we have to send out what are called NULLs (hex 00 in computer speak) to represent that.
The "%" at the end does about the same thing, it tells it that it is finished sending it.
Now, it may have worked if you sent a second right after the first, the machine saw the second "%" at the top of the second program as the last "%" for the first program. The "Timeout error" that you got probably was indicating that the machine was saying: "hey, I have waited long enough for the next piece of information and now I am giving up, and I am not going to do anything with what I already received." Some controls will save what they got and some just throw it away.
In some cases, the "%" has to be followed by one or more line feeds or even NULL characters. In that case we have to do that with the Predator DNC software since you can't type in a NULL using your Predator Editor.
Does this make it a little more clear? _________________ Dawn Mitchell
Manufacturing Information Solutions
www.mis-group.com |
|
Back to top |
|
|
|