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

Enable/Disable outputs

  • Fabian Munoz
  • June 5, 2015 at 3:54 PM
  • Thread is Resolved
  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • June 5, 2015 at 3:54 PM
    • #1

    Hi

    I have (let say) a cylinder extending by DO[6] or R0[4]. Doesn't matter

    I want/need to extend it only when robot is in running condition
    I know I can use background,etc, etc but the problem still remains because I can go to the DO and turn it on (pushing the "green" button).

    So, How do I take that feature out ? I want to control that output 120% automatically , no human can change status in manual mode

    Retired but still helping

  • andreic
    Reactions Received
    24
    Trophies
    4
    Posts
    282
    • June 5, 2015 at 7:35 PM
    • #2

    Hello,

    Can you elaborate? Do you mean turning the DO manually from the DO screen on the TP? Why bglogic is not possible or even interconnect? The DO will be turned to the necessary state, even if somebody wants to change it.

  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • June 5, 2015 at 7:58 PM
    • #3

    Thanks for the answer

    This is for Waterjet.

    I want the waterjet gun with 100.000 psi to be on, only when the robot is in auto and running the cycle . So, it is safe
    I dont want a human to be able to turn that output on ever (not in teach , not in auto) never

    Retired but still helping

  • andreic
    Reactions Received
    24
    Trophies
    4
    Posts
    282
    • June 5, 2015 at 8:32 PM
    • #4

    Maybe use an USB password file? And setup custom password levels to fully protect DO's?

    Or shell + password protect system variables (to not be able to stop shell).

    Edited once, last by andreic (June 5, 2015 at 8:40 PM).

  • Sergei Troizky
    Reactions Received
    70
    Trophies
    6
    Posts
    658
    • June 5, 2015 at 8:33 PM
    • #5

    BG logic RO=DO AND Condition, where the DO is the control and RO is the valve.
    You may run 2 BG programs with the same logic for redundancy.
    Of course, the BG logic should ignore pause conditions.

    Do it well right away. It will become bad by itself.

  • SBrousseau
    Guest
    • June 5, 2015 at 9:44 PM
    • #6

    Aren't there DO (In Menu->Setup->General) that could be use with background logic that would do just that, on our arcmate when the selector was on Auto the "Weld enabled" came on and green lights were flashing when a cycle was running

  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • June 5, 2015 at 11:40 PM
    • #7

    andreic Could work but I see complications with customers

    SBrousseau and Sergei. Your idea doesnt stop anybody from just selecting I/O, Digital and turn the DO on (make it green)

    Let me put it on another way. On Motoman, to solve this issue I use Concurrent I/O. Not only I disable the output from user, I make to go on/off under certain conditions

    Retired but still helping

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • June 6, 2015 at 1:36 AM
    • #8

    I've set up a similar safeguard to prevent a tool changer from being unlocked.

    BG logic:

    If UO[3], DO[5] =F[5]
    If !UO[3], DO[5] = off

    Use F[5] in your program to turn on/off the waterjet. If the program is not running it will not let it turn on, even if you manually force the DO on, it will turn back off immediately (couple msec). Set F[5] off at initialization of main program in case operator accidentally turned it on. If program is paused then resumed, so will the waterjet.

    Sent from my VS985 4G using Tapatalk

  • andreic
    Reactions Received
    24
    Trophies
    4
    Posts
    282
    • June 6, 2015 at 10:30 AM
    • #9

    HawkME, and what happens when somebody will stop bglogic?

  • suganthyadav
    Reactions Received
    1
    Trophies
    4
    Posts
    111
    • June 6, 2015 at 10:30 AM
    • #10

    Hello mr. Fabian Munoz,

    I used this concept for triggering an alarm. If robot was idle for too long in auto mode i will generate an alarm.

    USE PMC or BG logic, what-ever you feel easy.

    U can find TP enable or disable feedback in so7 ( pls check for your robot ) it will say whether ur robot is in normal mode ( manual ) or production mode ( auto ).
    One of your DI or Do ( range between 80 -85 ) i cant remember, it will tel u whether your robot is idle or working.
    So assign on digital output as dummy ( i.e., this will be used to switch on and off your water jet output in program)

    so now u can make logic

    BG logic example:
    use mixed logic instruction.
    if so7 = on ( TP enable ) and dxx ( robot busy) = on and do = on ( dummy output, u can set this output were ever u need) then dox ( water jet output ) = on

    PMC:

    use above logic in ladder diagram.

    240% auto control... :icon_smile: :icon_smile: :icon_smile:

    Note : u cant force on and off your water jet output even in manual mode.
    u should stop ( BG or PMC logic whatever u used ) to force this output.

    hope this helps.

    Edited once, last by suganthyadav (June 6, 2015 at 10:37 AM).

  • suganthyadav
    Reactions Received
    1
    Trophies
    4
    Posts
    111
    • June 6, 2015 at 10:35 AM
    • #11

    @ mr. andreic

    Logic inside BG routine will not work.
    U can force on and off outputs inside BG logic routine...

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • June 6, 2015 at 2:45 PM
    • #12

    I use BG logic for this all the time. If a DO it's manually forced, the BG logic immediately turns it back off. If you really are worried about an operator defeating that then either password protect or run it thru a PLC.

    Sent from my VS985 4G using Tapatalk

  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • June 6, 2015 at 4:30 PM
    • #13

    Thank you Hawk and sugan

    I think I can work with your info.
    Thank you guys,I've done waterjet for many years but always with ABB or Motoman, first time with Fanuc

    Retired but still helping

  • Sergei Troizky
    Reactions Received
    70
    Trophies
    6
    Posts
    658
    • June 8, 2015 at 5:54 PM
    • #14
    Quote from Fabian Munoz


    ... Sergei. Your idea doesnt stop anybody from just selecting I/O, Digital and turn the DO on (make it green) ...


    Correct. But, if the condition is False, it will not activate the valve RO.
    The condition was specified as "robot is in auto and running the cycle" in your question.
    You did not say that even under that conditions you want to forbid manual activation.

    If so, let the running program activate two bits (e.g. flags).
    Only when both are On, the background logic will activate the valve.
    Let the background logic reset each after certain time being On alone.
    The time should be short enough to make impossible consecutive manual activation of both.

    Do it well right away. It will become bad by itself.

  • dha
    Reactions Received
    28
    Trophies
    6
    Posts
    397
    • June 9, 2015 at 7:41 AM
    • #15

    If you can endanger people by turning on WaterJet, you shoud use DCS ...

  • Luke
    Guest
    • June 12, 2015 at 2:42 AM
    • #16

    "If you can endanger people by turning on WaterJet, you shoud use DCS .."

    I'm not sure about that, dha. Indeed, "safety" is whatever the controller is engineered to do. The code runs just the same if it is safe as it is not.

    That is, there is no "safe" state except decided by logic as programmed. by a human. safety either hardware or software is determined on a case by case basis - as you know

    While I accept logic in safety plcs and dual-check-safety might be preferable to other methods, let;s accept that DCS is probably prohibitive in some cases.

    These proprietary systems are tools - just tools - to achieve the engineering safety standards your team lives by -

    The controller doesn't ask you when it arms the servo and brakes enable - it sees an input and acts on it - I don't see how we can make computers emotional - unless we tell them

  • dha
    Reactions Received
    28
    Trophies
    6
    Posts
    397
    • June 19, 2015 at 5:46 PM
    • #17
    Quote from Luke


    "If you can endanger people by turning on WaterJet, you shoud use DCS .."

    I'm not sure about that, dha. Indeed, "safety" is whatever the controller is engineered to do. The code runs just the same if it is safe as it is not.

    That is, there is no "safe" state except decided by logic as programmed. by a human. safety either hardware or software is determined on a case by case basis - as you know

    While I accept logic in safety plcs and dual-check-safety might be preferable to other methods, let;s accept that DCS is probably prohibitive in some cases.

    These proprietary systems are tools - just tools - to achieve the engineering safety standards your team lives by -

    The controller doesn't ask you when it arms the servo and brakes enable - it sees an input and acts on it - I don't see how we can make computers emotional - unless we tell them

    Display More

    I agree. But you have to secure critical functions of the machine and if the worst happens you are responsible.

    Code written in DCS cannot be stoped or modified without a password.

  • DuhbCakes
    Guest
    • June 20, 2015 at 6:55 PM
    • #18

    run your output to a safety relay and have your systems safety voltage run the coil. DCS I/O is your best bet, it is all dual-chain and can give you a safety rated signal for T1/T2/Auto. you can also set it up to ensure that it remains in an area, restrict joint positions, speeds ect.

  • ajones499
    Trophies
    3
    Posts
    7
    • June 28, 2015 at 2:46 AM
    • #19

    Fabian why don't you use a interconnect DI-DO and have the PLC condition the input to only work in Auto.

  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • June 29, 2015 at 4:25 AM
    • #20

    Hi

    Yes I could, that idea works as far as safety but there is a catch.

    Waterjet process is very fast (the ON/OFF) In the past we had problem when the output goes through the PLC and then to the valve, That takes time when you are doing a normal cycle. After many WJ cells we noticed that even putting the valve on the arm (axis 2/3) it was delaying the cuts, we actually put the valve right on top of the WJ on/off valve to avoid any delays. Then you get only few inches of the air travelling from the valve to the head to actuate.
    Believe or not that fraction of a second is important because the robot is already moving without water.when you start cutting or cutting before starts moving

    The reason for my question is that (i'm repeating myself) doing with Motoman is very simple (just using concurrent i/o) which is basically what you wrote using the PLC. I thought it was going to take no time to do something similar with Fanuc. So not only a can do the automatic part on Motoman, i actually disable the output from the screen.
    It's gotta be a way to disable the F4 (green colour) on the DO Fanuc screens

    I don't want to use DCS, and relays and PLCS and $$$ options, it should be a simple way and not only for waterjet.

    I haven't been in the shop to play with it, being on the road a lot

    Retired but still helping

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

Users Viewing This Thread

  • 1 Guest
  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