1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. Fanuc Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

Need help to edit a line of TP logic

  • rich43
  • June 23, 2017 at 7:11 PM
  • Thread is Resolved
  • rich43
    Trophies
    3
    Posts
    16
    • June 23, 2017 at 7:11 PM
    • #1

    Fanuc R-30iB Controller.

    I know this is very basic to many but requesting steps for best / easiest method to edit a line of TP logic?

    Logic is as follows: WAIT (F[103:Nose Blnk @ Feeder]=ON AND DI[27:Nose Lift UP]=ON

    Want to remove F portion in the WAIT statement and change logic to WAIT for only DI 27: WAIT DI[27:Nose Lift UP]=ON

    thank you

  • BigFrank612
    Trophies
    3
    Posts
    79
    • June 23, 2017 at 7:36 PM
    • #2

    Stop the bg logic go to the macro and edit that line then restart the bg logic.

    Sent from my SM-G930P using Tapatalk

  • andreic
    Reactions Received
    25
    Trophies
    4
    Posts
    282
    • June 24, 2017 at 9:04 AM
    • #3

    It's not about BGLOGIC. You cannot use WAIT instructions in BGLOGIC.

    If it's about a standard TP program you can do:
    1. Go to the line and position on "AND" with arrow keys.
    2. Choose "CHOICE" and select "FOREVER". This will delete the "AND DI[27:Nose Lift UP]=ON"
    3. Position yourself on F[103:Nose Blnk @ Feeder]=ON and hit CHOICE.
    3. Modify (F[103:Nose Blnk @ Feeder]=ON with DI[27:Nose Lift UP]=ON.

    Always make a backup of your program at least on the beginning, when you modify something.

  • bidzej
    Reactions Received
    23
    Trophies
    4
    Posts
    592
    • June 26, 2017 at 8:44 AM
    • #4

    ...or you could just change F[...] to DI[...] by highlighting the F's index, pressing CHOICE and selecting DI[...]. Then highlight AND and press CHOICE again, and select <no choice> (or <no option> or --- or ..., don't remember the exact name and can't check it now) - this will clear the second part of the statement.

  • rich43
    Trophies
    3
    Posts
    16
    • June 26, 2017 at 8:08 PM
    • #5

    thank you for your comments and appreciate your suggestions>

    Ended up inserting a new line above the existing line that I wanted to modify and eliminate the F statement, added on the new line a new Wait statement for DI[27] =ON, deleted the exising line that had the Wait F and DI statements and renumbered.

    It worked!!!

    I have to believe there is a way to modify the existing line without going through the number of steps I did. Maybe something as simple as placing the cursor and backspacing to remove the unwanted statement.

    Thanks Again

  • bidzej
    Reactions Received
    23
    Trophies
    4
    Posts
    592
    • June 26, 2017 at 8:28 PM
    • #6

    well, it works exactly as I've described above :justice:

  • hermann
    Reactions Received
    411
    Trophies
    9
    Posts
    2,621
    • August 3, 2021 at 8:47 AM
    • #7

    ktmark: Crossposting (not a good idea) , see answer at How to Delete a line

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download