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

T1/T2/Auto - confirmation to PLC

  • sklimosz
  • March 29, 2017 at 10:03 AM
  • Thread is Resolved
  • sklimosz
    Reactions Received
    1
    Trophies
    3
    Posts
    45
    • March 29, 2017 at 10:03 AM
    • #1

    Hello,
    I would like to show on HMI the actual state of key in controller. Is it possible to get any output to PLC that robot is in T1/T2 or Auto mode?
    I am using M710-iC-50 Robot and R30-iB Controller. It is welding process.
    Thanks,

    Edited once, last by SimonPL (March 29, 2017 at 10:13 AM).

  • dha
    Reactions Received
    28
    Trophies
    6
    Posts
    397
    • March 29, 2017 at 10:14 AM
    • #2

    In robot with R-30iB you can check SOP input 8 and 9 and set digital output to PLC or HMI accordingly.

  • sklimosz
    Reactions Received
    1
    Trophies
    3
    Posts
    45
    • March 29, 2017 at 10:48 AM
    • #3

    I see that SOP 8 =ON and SOP9=ON is Automode etc. but I do not know how to rewrite this SOP to Digital Output. Can you explain it to me?

  • dha
    Reactions Received
    28
    Trophies
    6
    Posts
    397
    • March 29, 2017 at 10:53 AM
    • #4
    Code
    IF (SI[8] AND SI[9]) THEN
      DO[xx] = ON -> AUTO
    ELSE
       DO[xx] = OFF -> T1 or T2
    ENDIF
  • sklimosz
    Reactions Received
    1
    Trophies
    3
    Posts
    45
    • March 29, 2017 at 11:02 AM
    • #5

    Ok. One more question. In this solution I will have information about state of key only after this line will be done during work. I have robot as slave and PLC as master. So I need to set this SI8 SI9 all the time, not only when program cross this line. Also if robot will be waiting for some program and I change state of key to another position I wont have this information in PLC until it wll cross this line in program. I can't translate my thought to english as I would like to. I am sorry about it. If u can't understand I try onece again.
    Or maybe there is some type of program which is working all the time in background? It would be some solution.

  • dha
    Reactions Received
    28
    Trophies
    6
    Posts
    397
    • March 29, 2017 at 11:03 AM
    • #6

    You can put this code into BG logic (Setup -> BG logic) and it will run constantly...

  • Bulo
    Reactions Received
    1
    Trophies
    3
    Posts
    95
    • March 29, 2017 at 11:45 AM
    • #7

    Goto menù--> system --> config

    There you can set output for T1/T2/Automatic/etc...

  • dha
    Reactions Received
    28
    Trophies
    6
    Posts
    397
    • March 29, 2017 at 12:14 PM
    • #8
    Quote from Bulo


    Goto menù--> system --> config

    There you can set output for T1/T2/Automatic/etc...

    Nice one :top: Didn't know about it.

  • sklimosz
    Reactions Received
    1
    Trophies
    3
    Posts
    45
    • March 29, 2017 at 2:26 PM
    • #9
    Quote from Bulo


    Goto menù--> system --> config

    There you can set output for T1/T2/Automatic/etc...

    Is there something else to do except setting:
    31 Signal to set in AUTO mode DO[22] - in my case.
    Because I did it and there is no reaction at all in Digital Output [22].

  • Bulo
    Reactions Received
    1
    Trophies
    3
    Posts
    95
    • March 29, 2017 at 3:04 PM
    • #10
    Quote from SimonPL

    Is there something else to do except setting:
    31 Signal to set in AUTO mode DO[22] - in my case.
    Because I did it and there is no reaction at all in Digital Output [22].

    Sorry, you're doing something wrong, this works for sure
    Where are you checking if DO[22] is ON or OFF?
    Are you sure that someone else is not writing DO[22]?

  • sklimosz
    Reactions Received
    1
    Trophies
    3
    Posts
    45
    • March 29, 2017 at 4:24 PM
    • #11
    Quote from Bulo


    Sorry, you're doing something wrong, this works for sure
    Where are you checking if DO[22] is ON or OFF?
    Are you sure that someone else is not writing DO[22]?


    I am checking it in Menu->I/O->Digital.
    I am sure that nothing more is writting DO[22], because I used free DO. If this has to work then I will try it tomorrow with other empty DO[xx].
    Thanks

  • dewitm
    Reactions Received
    3
    Trophies
    3
    Posts
    99
    • March 30, 2017 at 8:44 AM
    • #12

    I thought that was one of the assignments where you have to put power off and on before it works.

  • sklimosz
    Reactions Received
    1
    Trophies
    3
    Posts
    45
    • March 30, 2017 at 4:07 PM
    • #13
    Quote from dewitm


    I thought that was one of the assignments where you have to put power off and on before it works.


    Yes, I have just checked it and you are right. Power off and on helped.

  • bidzej
    Reactions Received
    23
    Trophies
    4
    Posts
    592
    • April 4, 2017 at 11:49 AM
    • #14

    exactly as said above, you can use MENU - System - Config to set the DO signals that the robot will control automatically - not only for AUTO/T1/T2, but also for other conditions like E-Stop, Override = 100%, simulated IOs etc.
    You might want to check the MENU - IO - F1 [Type] - Cell IO - you can set a few more signals out there...

    EDIT:

    PM me for help in Polish :smiling_face:

    Edited once, last by bidzej (April 4, 2017 at 11:54 AM).

  • Barqs1968
    Trophies
    2
    Posts
    4
    • April 27, 2021 at 6:53 PM
    • #15

    What do you do when after setting them and cycled power, they still do not work? Worse yet they operate there old values but still have the new ones in the configuration.

  • Roboticien12
    Reactions Received
    2
    Trophies
    3
    Posts
    15
    • April 28, 2021 at 2:45 PM
    • #16

    You can use also

    if ($MSKKEY=3) Then DO[ Auto] = ON

    if ($MSKKEY=2) Then DO[ T2] = ON

    if ($MSKKEY=1) Then DO[ T1] = ON

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