586,121 active members*
3,100 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2014
    Posts
    3

    Problem with Fanuc O-T Macro

    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.

  2. #2
    Join Date
    Feb 2008
    Posts
    586

    Re: Problem with Fanuc O-T Macro

    Quote Originally Posted by José L. View Post
    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.

    So it doesn't like the THEN word. Did you try:

    #100 = 1
    #101 = 0

    IF[#100 GT 5]#101=5

    ??
    Beege

  3. #3
    Join Date
    Feb 2006
    Posts
    1792

    Re: Problem with Fanuc O-T Macro

    The syntax is correct on i-series control. Maybe it is a parameter issue on 0T. Look into its parameter manual.

Similar Threads

  1. Replies: 4
    Last Post: 07-28-2015, 07:20 AM
  2. Macro problem w/16i
    By marcwdci in forum Fanuc
    Replies: 13
    Last Post: 06-29-2011, 02:21 PM
  3. Macro A or Macro B On fanuc o-md
    By macrosat in forum Fanuc
    Replies: 1
    Last Post: 07-29-2009, 12:49 PM
  4. Replies: 2
    Last Post: 03-27-2009, 09:15 PM
  5. Convert Fanuc Macro to Fadal Macro
    By bfoster59 in forum Fadal
    Replies: 1
    Last Post: 11-09-2007, 06:41 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •