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 Jog speed

  • PunchPowerRobin
  • October 12, 2023 at 1:21 PM
  • Thread is Unresolved
  • PunchPowerRobin
    Trophies
    1
    Posts
    5
    • October 12, 2023 at 1:21 PM
    • #1

    Hi

    I made a background program to control the speed from a siemens PLC.

    IF UO8=off

    THEN

    $MCR.$genoverride = GI 5

    ENDIF

    Something like the above program is runing.

    In auto mode this works great, it does what it must.

    When we switch to T1 and set the TP to hand then the speed stays at 100% and doesn't go to 10% like it should.

    Something after switching te TP to auto and hand a few times it does go to 10%.

    Does anyone have an idea what cause this might have?

  • panic mode October 12, 2023 at 2:25 PM

    Approved the thread.
  • hermann
    Reactions Received
    412
    Trophies
    9
    Posts
    2,629
    • October 12, 2023 at 3:09 PM
    • #2
    Quote from PunchPowerRobin

    Something like the above program is runing.

    You really should post not something like your code, but the exact code. :winking_face:

  • gpunkt
    Reactions Received
    138
    Trophies
    6
    Posts
    494
    • October 13, 2023 at 8:47 AM
    • #3

    Hi,

    1) There is a system variable that dictates the default override value when enabling the TP. I think that this is set to 10% by default. $SCR.$tpenbleovrd

    2) Your BG-logic checks if UO[8] is OFF, in that case it will set the override to whatever the PLC sends through the Group Input.

    When you ENABLE the TP with the TP ENABLE SWITCH (note, this is NOT the same as the AUTO/T1/T2-MODE SELECTOR ), your UO[8] will per definition be TRUE, thus your BG-logic IF-condition will not be satisfied.

    These 2 facts are probably the explanation for the behavior you are experiencing.

  • PunchPowerRobin
    Trophies
    1
    Posts
    5
    • October 18, 2023 at 8:42 PM
    • #4

    The system variable seems to be programmed like is should. $SCR.$tpenableovrd is set at 10%

    Any ideas about what else could cause this behavior?

    Is the BG-logic correct or is there something wrong with how i programmed it?

  • RockemSockem
    Reactions Received
    13
    Trophies
    2
    Posts
    81
    • October 18, 2023 at 10:27 PM
    • #5

    From the description, it sounds like a BG logic issue. I would suggest using condition handlers instead, but you can try to keep using the BG logic. I think the issue is that there is a race, of sorts, between when the controller changes the speed to 10% and when UO8 turns off. If the controller sets the speed to 10% before turning off the UO8 signal, then the speed will be set to GI5. You need a different set of conditions to prevent that from happening. For example, you could have it conditioned off of UO3 so that it is controlling the speed whenever the program is running (you could run into the same issue if you enabled the teach pendant while running though).

  • Shellmer
    Reactions Received
    53
    Trophies
    5
    Posts
    161
    • October 18, 2023 at 10:46 PM
    • #6
    Quote from RockemSockem

    From the description, it sounds like a BG logic issue. I would suggest using condition handlers instead, but you can try to keep using the BG logic. I think the issue is that there is a race, of sorts, between when the controller changes the speed to 10% and when UO8 turns off. If the controller sets the speed to 10% before turning off the UO8 signal, then the speed will be set to GI5. You need a different set of conditions to prevent that from happening. For example, you could have it conditioned off of UO3 so that it is controlling the speed whenever the program is running (you could run into the same issue if you enabled the teach pendant while running though).

    I was going to say exactly the same, it's likelly an issue with the temporitation of the signals.

    The event triggered by switching the robot from Auto to Manual or enabling the TP is likelly occouring before the UO signal is updated, so the override is likelly put to 10% by the controller but inmediatelly afterwards, the BG logic loop is putting it to 100% again.

    I neved tried to do this using the GI directly to write the overriide, I usually use the "Override select" function, there you can select 4 different speeds using 2 bits, it fits the major part of the applications, if this is not ennough, i suggest you to check this other signals instead of the UO8 as they are internal system variables that are probably updated faster than the UO signals.

    Code
    $CR_AUTO_DO
    $CR_T1_DO
    $CR_T2_DO
  • PunchPowerRobin
    Trophies
    1
    Posts
    5
    • October 20, 2023 at 6:29 PM
    • #7

    Thanks for the help.

    I programmed UO3 in there and seems to be working.

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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • 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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Similar Threads

  • SYSTEM CONFIG SYSTEM VARIABLES

    • jbrown.wa
    • June 21, 2023 at 9:55 PM
    • Fanuc Robot Forum
  • KRC5 Micro with Agilus KR6

    • SkyeFire
    • June 17, 2022 at 5:04 PM
    • KUKA Robot Forum
  • DCS Joint Speed Check with External Axis

    • Shearzy
    • September 20, 2023 at 10:01 PM
    • Fanuc Robot Forum
  • Jog & Program Speed Issues

    • jonl692022
    • September 6, 2022 at 8:47 PM
    • Fanuc Robot Forum
  • R30İB Auto Mode

    • byrol
    • June 2, 2022 at 1:06 PM
    • Fanuc Robot Forum
  • How to ensure robot constant speed during data matrix printing?

    • neighbour1
    • May 6, 2021 at 12:14 PM
    • Fanuc Robot Forum
  • Changing the Jog Speed Programmatically

    • micahstuh
    • April 30, 2021 at 2:12 PM
    • KUKA Robot Forum
  • Jogging a group with a digital input

    • joshrice1
    • November 3, 2020 at 5:40 PM
    • Fanuc Robot Forum
  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