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. Mitsubishi 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

I/O Trigger

  • Baymax
  • May 17, 2024 at 9:39 AM
  • Thread is Unresolved
  • Baymax
    Posts
    4
    • May 17, 2024 at 9:39 AM
    • #1

    Hi All

    I tried to Trigger the output from the robot program in RT Toolbox 3 using the program

    While M_11=1

    If (Deg(J_Curr.J6)<M30) Then

    M_out(12)=Not(M_out(12))

    M_30 = M_30 + M_31

    EndIf

    WEnd


    The problem here is the trigger does not happens at the expected points
    for example: if i move the J6 from -10 to 10 deg and the value of M_30 is -9 and M_31 is 1. The trigger should happens at every 1 deg movement of the J6. The trigger happens but not at every 1 deg movement, for some deg movement it trigger doesn't happens

    If anyone has any ideas, Thanks in advance

  • Lemster68 May 17, 2024 at 2:06 PM

    Approved the thread.
  • Lemster68
    Reactions Received
    301
    Trophies
    9
    Posts
    2,469
    Blog Articles
    7
    • May 17, 2024 at 2:07 PM
    • #2

    It might help is you were to tell us the make of robot and the version of controller.

  • kwakisaki May 17, 2024 at 11:47 PM

    Moved the thread from forum General Discussion of Industrial Robots Only to forum Mitsubishi Robot Forum.
  • Woebot
    Reactions Received
    5
    Trophies
    3
    Posts
    24
    • May 18, 2024 at 9:00 AM
    • #3

    How fast is the robot turing this axis? Maybe in the span of one scan through the program you are just missing a degree. Its not likey but you could try running it from some very slow to very fast speeds and see if you get different results depending on the rotation speed?

    You could also include a counter to tally up all the hits to see if you are getting results on all the degrees but having a signal output timing issue?

    Sorry probably not much help but its an interesting peice of code, I want to try it on a machine at my office.

  • sCZot
    Reactions Received
    6
    Trophies
    3
    Posts
    56
    • May 20, 2024 at 7:48 AM
    • #4

    Hi there, I'm just wondering what the reason for this code is? I get that you want a pulse when the J6 position changes, but what is the use of this information? It's quite possible that the robot is already equipped with some function and you won't have to reinvent the wheel.

  • Baymax
    Posts
    4
    • June 5, 2024 at 9:30 AM
    • #5

    Hey, My sincere apologies for the quiet ate reply. The robot model is RV-7FRL-D with CR800D controller

    Quote

    It might help is you were to tell us the make of robot and the version of controller

  • Baymax
    Posts
    4
    • June 5, 2024 at 9:40 AM
    • #6
    Quote from Woebot

    How fast is the robot turing this axis? Maybe in the span of one scan through the program you are just missing a degree. Its not likey but you could try running it from some very slow to very fast speeds and see if you get different results depending on the rotation speed?

    You could also include a counter to tally up all the hits to see if you are getting results on all the degrees but having a signal output timing issue?

    Sorry probably not much help but its an interesting peice of code, I want to try it on a machine at my office.

    yes I tried to run the robot from min to max speeds but the same results.
    Even I added a counter to the program to verify the number of triggers sent from the program, and I get the exact value as expected.

  • Baymax
    Posts
    4
    • June 5, 2024 at 9:44 AM
    • #7
    Quote from sCZot

    Hi there, I'm just wondering what the reason for this code is? I get that you want a pulse when the J6 position changes, but what is the use of this information? It's quite possible that the robot is already equipped with some function and you won't have to reinvent the wheel.

    Exactly as you said that I need the pulse for 0.5 deg change in J6. I'm new to robots and I'm unable to find any kind of builtin function related to this. If you know anything please let me know where to find :smiling_face:

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

Similar Threads

  • Functions for ArcTech Commands

    • spacebots
    • May 3, 2024 at 12:52 AM
    • KUKA Robot Forum
  • Advance run stop and Trigger When

    • aknezevi.proton
    • April 15, 2024 at 1:12 PM
    • KUKA Robot Forum
  • Approximating acceleration profiles for PTP motions

    • nicok
    • November 6, 2023 at 5:16 PM
    • KUKA Robot Forum
  • Moving at the same speed indipendently of the percent my robot is running.

    • ToccoEnorme
    • June 1, 2023 at 8:27 AM
    • KUKA Robot Forum
  • Incorrect base shift in the adaptive program

    • DenVer
    • January 28, 2022 at 6:23 PM
    • KUKA Robot Forum
  • How to interpret Torque Monitoring parameters and stop them from updating automatically

    • Agustin Costa
    • November 24, 2021 at 4:04 PM
    • KUKA Robot Forum
  • RSI distance control with ANIN problem.

    • PiotrEDC
    • July 22, 2021 at 6:06 PM
    • KUKA Robot Forum
  • Vision inspection Auto reset code.

    • srtautomation
    • January 14, 2021 at 1:03 AM
    • Fanuc Robot Forum

Tags

  • I/O
  • TRIGGER WHEN DISTANCE
  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