Originally Posted by
José L.
Hello,
I've started recently with Macro programing on a Victor V-turn 26 with Fanuc O-T control, but I'm having an issue.
When I try to use IF and THEN, machine doesn't allow THEN and it automatically replaces the letters with this: "T H END". It doesn't matter if I write it directly in the machine, or if I write it in the computer. It's always the same.
I'd like to do this line for example:
#100 = 1
#101 = 0
IF[#100 GT 5] THEN #101=5
....
--------
But I have to do it this way instead:
#100 = 1
#101 = 0
IF[#100 GT 5] GOTO400
N1
....
N400 #101=5
GOTO1
Any help will be aprecciated.
Thanks.