Discussion:
Fanuc OT error - odd
(too old to reply)
clay
2006-10-29 05:18:51 UTC
Permalink
I have a Fanuc OT-Mate control on a lathe. Today, when uploading code,
there was an error, that Ihave never had before. I also couldn't run the
last two programs that were already in the control. They worked a few
weeks ago, but now they error out on the comment lines. It works fine
with a comment / by itself, but as soon as I put any characters behind
it, I get the alarm.

Here is a snippet of the code:

%
O4805
N100 G20
/CNMG/ <--- here is where it was choking
N102 G0 X1.0 Z6.0
N104 G0 T0303 M42

the fanuc errors were either PS 005 for the newly uploaded code, or PS
009 for the programs already in memory. It was always on the comment
line where it alarmed. If there were any numbers after the comment, the
files wouldn't even upload without alarming out. If it was letters after
the comment, it would upload fine, but the program would alarm when it
got to the / line.

the OT-Mate is a pretty basic control. It doesn't even have soft keys,
and doesn't support standard {} comment characters either, but the / has
always worked. For years in fact.

so what could possible have changed. I haven't even touched the parameters.

totally stumped
ca
BottleBob
2006-10-29 12:09:56 UTC
Permalink
Post by clay
It works fine
with a comment / by itself, but as soon as I put any characters behind
it, I get the alarm.
%
O4805
N100 G20
/CNMG/ <--- here is where it was choking
N102 G0 X1.0 Z6.0
N104 G0 T0303 M42
so what could possible have changed. I haven't even touched the parameters.
Clay:

Just a total off-the-wall speculation here, but isn't the "/" symbol
used for the Block Delete or Block Skip function? Could it be that
you've been putting your comments on a block delete line and have
somehow accidentally disabled the block delete feature so the control is
now trying to interpret the numbers/letters beyond the block delete
symbol and choking?
--
BottleBob
http://home.earthlink.net/~bottlbob
Cliff
2006-10-29 13:48:37 UTC
Permalink
Post by BottleBob
Post by clay
/CNMG/ <--- here is where it was choking
N102 G0 X1.0 Z6.0
N104 G0 T0303 M42
so what could possible have changed. I haven't even touched the parameters.
Just a total off-the-wall speculation here, but isn't the "/" symbol
used for the Block Delete or Block Skip function?
IIRC It would probably have to be the first charcter of the block
(minimum -- IIRC some controls can have multiple levels of block delete)
-- and he does have it in the first character position it seems ... the second
instance might ....
--
Cliff
Anthony
2006-10-29 15:02:14 UTC
Permalink
Post by BottleBob
Just a total off-the-wall speculation here, but isn't the "/" symbol
used for the Block Delete or Block Skip function? Could it be that
you've been putting your comments on a block delete line and have
somehow accidentally disabled the block delete feature so the control
is now trying to interpret the numbers/letters beyond the block delete
symbol and choking?
That's my guess also. Normally parenthesis are used for comments,
brackets denote computation.
--
Anthony

You can't 'idiot proof' anything....every time you try, they just make
better idiots.

Remove sp to reply via email
john
2006-10-29 17:54:36 UTC
Permalink
Post by Anthony
Post by BottleBob
Just a total off-the-wall speculation here, but isn't the "/" symbol
used for the Block Delete or Block Skip function? Could it be that
you've been putting your comments on a block delete line and have
somehow accidentally disabled the block delete feature so the control
is now trying to interpret the numbers/letters beyond the block delete
symbol and choking?
That's my guess also. Normally parenthesis are used for comments,
brackets denote computation.
yup


Neat way to put in comments though....


John
D Murphy
2006-10-29 19:14:29 UTC
Permalink
Post by BottleBob
Post by clay
It works fine
with a comment / by itself, but as soon as I put any characters
behind it, I get the alarm.
%
O4805
N100 G20
/CNMG/ <--- here is where it was choking
N102 G0 X1.0 Z6.0
N104 G0 T0303 M42
so what could possible have changed. I haven't even touched the parameters.
Just a total off-the-wall speculation here, but isn't the "/" symbol
used for the Block Delete or Block Skip function? Could it be that
you've been putting your comments on a block delete line and have
somehow accidentally disabled the block delete feature so the control
is now trying to interpret the numbers/letters beyond the block delete
symbol and choking?
That's what I'm thinking too. On our lathes the state of the block delete
can be affected by the bar feed by commanding M95 and M96. M95 looks to
the bar feed for an end of bar signal, if there is none it turns block
skip on. If there is an end of bar signal it turns block skip off. M96
resets block skip to its previous state.

The 0T control can use comments inside parentheses (sp?). But there are
no () keys on the control pad uness you have the extended editing option
turned on. Then they are available as soft keys. But you can use them if
you put them in offline.

Clever use of block skip though. I never thought of it.

I also wonder if it just plain doesn't like the second "/". Just one at
the begining ought to do it. You can use them in the middle of a block on
that control, but I don't know about using two in one line. That could
also be the problem.
--
Dan

Scopulus est usquequaque nefas
Cliff
2006-10-29 23:15:33 UTC
Permalink
Post by D Murphy
I also wonder if it just plain doesn't like the second "/". Just one at
the begining ought to do it. You can use them in the middle of a block on
that control, but I don't know about using two in one line. That could
also be the problem.
You should see what UG's old MDFG posts do when they get an "INSERT # .."
statement (# denotes beginning of a comment for the K&T Mark Gemini
control with the APL option IIRC).
<GAK>
--
Cliff
clay
2006-11-02 06:14:20 UTC
Permalink
Ding Ding Ding! we have a winner. I guess I must have turned off the
block delete, by accident. But the strangest thing of all was, trying to
load a program in , with the block delete disabled, caused the control
to choke.... really odd..

The OT-Mate control won't recognize any non alphanumeric characters
except for / and , and #. But only the / doesn't cause an error in the
program when running. And I still can't use the letters like "O" behind
the /, or it reads them as regular code. Using a {} causes anything
behind them to get stripped out during upload.

I really hate this control... Ok, well it's not anywhere as bad as a GE,
but still annoying...

c
Post by BottleBob
Post by clay
It works fine
with a comment / by itself, but as soon as I put any characters behind
it, I get the alarm.
%
O4805
N100 G20
/CNMG/ <--- here is where it was choking
N102 G0 X1.0 Z6.0
N104 G0 T0303 M42
so what could possible have changed. I haven't even touched the parameters.
Just a total off-the-wall speculation here, but isn't the "/" symbol
used for the Block Delete or Block Skip function? Could it be that
you've been putting your comments on a block delete line and have
somehow accidentally disabled the block delete feature so the control is
now trying to interpret the numbers/letters beyond the block delete
symbol and choking?
Cliff
2006-11-02 10:43:09 UTC
Permalink
Post by clay
Ok, well it's not anywhere as bad as a GE,
but still annoying...
What was wrong with the GE-1050 or 2000?
--
Cliff
Beege
2006-11-02 13:14:21 UTC
Permalink
Post by clay
Ding Ding Ding! we have a winner. I guess I must have turned off the
block delete, by accident. But the strangest thing of all was, trying to
load a program in , with the block delete disabled, caused the control
to choke.... really odd..
The OT-Mate control won't recognize any non alphanumeric characters
except for / and , and #. But only the / doesn't cause an error in the
program when running. And I still can't use the letters like "O" behind
the /, or it reads them as regular code. Using a {} causes anything
behind them to get stripped out during upload.
I really hate this control... Ok, well it's not anywhere as bad as a GE,
but still annoying...
c
Clay,

You've written about the {} brackets an how they get stripped. I have an
OT, an I use regular parentheses () (shift 9 and shift 0 on your computer
keyboard). Have you used these? or is {} a typo?

Beege
c***@lycos.com
2006-11-03 19:49:21 UTC
Permalink
Post by Beege
You've written about the {} brackets an how they get stripped. I have an
OT, an I use regular parentheses () (shift 9 and shift 0 on your computer
keyboard). Have you used these? or is {} a typo?
() is what we use on our OT's. Mori SL25's.

Wes S
clay
2006-11-04 02:45:07 UTC
Permalink
Post by Beege
Post by clay
Ding Ding Ding! we have a winner. I guess I must have turned off the
block delete, by accident. But the strangest thing of all was, trying to
load a program in , with the block delete disabled, caused the control
to choke.... really odd..
The OT-Mate control won't recognize any non alphanumeric characters
except for / and , and #. But only the / doesn't cause an error in the
program when running. And I still can't use the letters like "O" behind
the /, or it reads them as regular code. Using a {} causes anything
behind them to get stripped out during upload.
I really hate this control... Ok, well it's not anywhere as bad as a GE,
but still annoying...
c
Clay,
You've written about the {} brackets an how they get stripped. I have an
OT, an I use regular parentheses () (shift 9 and shift 0 on your computer
keyboard). Have you used these? or is {} a typo?
Beege
I have tried every other puctuation symbols. they all get stripped
except for the /. The OT-Mate control is really basic.

Anyone know what the # and , symbols are used for on a Fanuc controlled
lathe?

ca
D Murphy
2006-11-04 04:30:26 UTC
Permalink
Post by clay
Post by Beege
Post by clay
Ding Ding Ding! we have a winner. I guess I must have turned off the
block delete, by accident. But the strangest thing of all was, trying
to load a program in , with the block delete disabled, caused the
control to choke.... really odd..
The OT-Mate control won't recognize any non alphanumeric characters
except for / and , and #. But only the / doesn't cause an error in
the program when running. And I still can't use the letters like "O"
behind the /, or it reads them as regular code. Using a {} causes
anything behind them to get stripped out during upload.
I really hate this control... Ok, well it's not anywhere as bad as a
GE, but still annoying...
c
Clay,
You've written about the {} brackets an how they get stripped. I have
an OT, an I use regular parentheses () (shift 9 and shift 0 on your
computer keyboard). Have you used these? or is {} a typo?
Beege
I have tried every other puctuation symbols. they all get stripped
except for the /. The OT-Mate control is really basic.
Anyone know what the # and , symbols are used for on a Fanuc
controlled lathe?
# is for variables. #100 would be macro variable 100, #5041 would be
system variable 5041. That control was only available with Macro "A"
which is next to useless.

The comma can be used for several different things on a Fanuc. On that
control it is likely for the "Direct Input of Drawing Dimensions" option.

With it you can program an angle like this:

G01 X.5 ,A15.0;

Which will generate a 15 degree angle. IOW, you don't need to trig the
angle out and give both the X and Z end point. Just one or the other a
comma and an A value for the angle.

The comma can also be used to tool change another slide or turret while
you are in the cut with another tool. Example:

G97 M03 S3000 T0505;

G99 G0 X.5 Z-.04;

G01 Z1.2 F.002 ,T1605 <--- Tool change other slide/turret while cutting

X.6;
Etc..

This all depends on how the geometry offsets are set up by their related
parameters. I've worked on some machines where you can tool change
without the comma, some need the comma. The comma makes the control
ignore the geometry offset if it's tied to the first two digits of the T-
code, IIRC.

I also remember another case where you could tool change two tools
simultaneously by commanding ,T051616 In this case it would call up tool
five and sixteen, both tools would use offset 16.
--
Dan

Scopulus est usquequaque nefas
Cliff
2006-11-04 06:32:00 UTC
Permalink
Post by clay
I have tried every other puctuation symbols. they all get stripped
except for the /. The OT-Mate control is really basic.
Are you using EIA or ASCII?
--
Cliff
clay
2006-11-06 15:41:02 UTC
Permalink
Post by Cliff
Post by clay
I have tried every other puctuation symbols. they all get stripped
except for the /. The OT-Mate control is really basic.
Are you using EIA or ASCII?
I don't remember anymore, but good suggestion. I'll look into that.

ca
BottleBob
2006-11-03 04:11:16 UTC
Permalink
Post by clay
Ding Ding Ding! we have a winner. I guess I must have turned off the
block delete, by accident. But the strangest thing of all was, trying to
load a program in , with the block delete disabled, caused the control
to choke.... really odd..
Clay:

I'm glad that amc was a resource that was able to help you with your
problem.
--
BottleBob
http://home.earthlink.net/~bottlbob
Cliff
2006-10-29 13:42:15 UTC
Permalink
Post by clay
/CNMG/ <--- here is where it was choking
N102 G0 X1.0 Z6.0
N104 G0 T0303 M42
the fanuc errors were either PS 005 for the newly uploaded code, or PS
009 for the programs already in memory. It was always on the comment
line where it alarmed. If there were any numbers after the comment, the
files wouldn't even upload without alarming out. If it was letters after
the comment, it would upload fine, but the program would alarm when it
got to the / line.
the OT-Mate is a pretty basic control. It doesn't even have soft keys,
and doesn't support standard {} comment characters either, but the / has
always worked. For years in fact.
so what could possible have changed. I haven't even touched the parameters.
totally stumped
There may be a parameter that controls what character(s) enclose
comments?
BTW, Did you try "(" & ")"? I'd think that "/" might be reserved for
division on some controls with some options ... and if someone
tried to turn on a new option ...
--
Cliff
b***@gmail.com
2015-11-12 23:36:27 UTC
Permalink
Post by clay
I have a Fanuc OT-Mate control on a lathe. Today, when uploading code,
there was an error, that Ihave never had before. I also couldn't run the
last two programs that were already in the control. They worked a few
weeks ago, but now they error out on the comment lines. It works fine
with a comment / by itself, but as soon as I put any characters behind
it, I get the alarm.
%
O4805
N100 G20
/CNMG/ <--- here is where it was choking
N102 G0 X1.0 Z6.0
N104 G0 T0303 M42
the fanuc errors were either PS 005 for the newly uploaded code, or PS
009 for the programs already in memory. It was always on the comment
line where it alarmed. If there were any numbers after the comment, the
files wouldn't even upload without alarming out. If it was letters after
the comment, it would upload fine, but the program would alarm when it
got to the / line.
the OT-Mate is a pretty basic control. It doesn't even have soft keys,
and doesn't support standard {} comment characters either, but the / has
always worked. For years in fact.
so what could possible have changed. I haven't even touched the parameters.
totally stumped
ca
"/" is an illegal character
use parentheses for comments
(CNMG);
Gunner Asch
2015-11-14 05:52:49 UTC
Permalink
Post by b***@gmail.com
Post by clay
I have a Fanuc OT-Mate control on a lathe. Today, when uploading code,
there was an error, that Ihave never had before. I also couldn't run the
last two programs that were already in the control. They worked a few
weeks ago, but now they error out on the comment lines. It works fine
with a comment / by itself, but as soon as I put any characters behind
it, I get the alarm.
%
O4805
N100 G20
/CNMG/ <--- here is where it was choking
N102 G0 X1.0 Z6.0
N104 G0 T0303 M42
the fanuc errors were either PS 005 for the newly uploaded code, or PS
009 for the programs already in memory. It was always on the comment
line where it alarmed. If there were any numbers after the comment, the
files wouldn't even upload without alarming out. If it was letters after
the comment, it would upload fine, but the program would alarm when it
got to the / line.
the OT-Mate is a pretty basic control. It doesn't even have soft keys,
and doesn't support standard {} comment characters either, but the / has
always worked. For years in fact.
so what could possible have changed. I haven't even touched the parameters.
totally stumped
ca
"/" is an illegal character
use parentheses for comments
(CNMG);
Ayup!

Loading...