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

Jogging external axes

  • Razzzhead
  • February 10, 2021 at 6:09 PM
  • Thread is Unresolved
  • Razzzhead
    Reactions Received
    2
    Trophies
    3
    Posts
    22
    • February 10, 2021 at 6:09 PM
    • #1

    KSS 8.6

    Is there a way to know when an external axis is being jogged by means of an axis key in $T1?

    The robot has E1 and E2 which will normally be driven synchronously from the program using E6POS moves, or asynchronously using ASYPTP moves. In some parts of the program due to mechanical reasons, these external axes will normally always have positions that are synchronous to each other much like a master/slave configuration but with both axes being driven from a common position command such as PTP {X 0, Y100, Z 0, E1 90, E2 90}, or ASYPTP {E1 75, E2 75}. However during external axis jogging, unless both keys are pressed simultaneously, the two axes will become separated and then the other axis would need to be jogged to catch up with the first one. I can't declare a proper master/slave configuration and only use one external axis. as in some instances the two axes will be mechanically independent, so will need to be driven separately.

    I have considered some logic in the SPS.sub which could determine that say E1 is being jogged and command its partner E2 to "keep up". This could be done by using the command ASYPTP MyVar , where MyVar is an E6AXIS variable so that MyVar.E2 = $AXIS_ACT.E1. But for this to work I would need to determine which axis is being jogged and which one not. I don't mind that during the actual jog movement of E1, E2 lags a distance behind, but when the E1 jog key is released and E1 stops, E2 should then "catch up" and again have the same position as E1. What I don't want to happen is for E1 to reverse movement and go back to where E2 was when the jog key was released.

    I should be able to figure out the logic to do this, but Ideally I need a pair of variables to tell me when E1 is being jogged and another when E2 is being jogged. I have found $KDO_ACT to indicate axes being jogged or commanded, but that doesn't tell me which one. I suppose I could log both positions during standstill and then determine which one moves first and call that the leader, but its dirty. I also thought about IS_KEY_PRESSED ( nn) to determine which axis key was pressed but again probably equally dirty.

    Does anyone have any ideas of how this could be accomplished?

  • micahstuh
    Reactions Received
    7
    Trophies
    3
    Posts
    31
    • February 10, 2021 at 10:05 PM
    • #2

    As far as I am aware, *.SUB files cannot execute motion internally. They can call functions or put programs into run mode, but the program would still have to be ran using the [deadman + go button] in T1.

    So Assuming you are in T1 and a *.SUB program is running, you COULD (though I wouldn't) have the *.SUB detect an external jog, then call a program, waiting for the user to run said program in order to make the external joints equal again.

    I think it would be best to track axis velocity in the *.SUB. $VEL_AXIS_ACT[7] will track the velocity of E1 and $VEL_AXIS_ACT[8] will track the velocity of E2. You will have to write code in the SBS.SUB to track when one is moving.

    If the external axis is being jogged, a flag is set. When the axis becomes still, the SBS.SUB calls a function that will move the other axis, AND the flag is reset.

  • panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,083
    • February 10, 2021 at 11:24 PM
    • #3

    SPS can do motions of external axes if they are asynchronous.

    to distinguish which axis is being jogged, you could check which of the smartPad keys is pressed or which of the two axes started moving first (by checking velocity or position).

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

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

  • KRC2 SafeOp -- KL1500 vs Cartesian Workspaces

    • SkyeFire
    • November 16, 2020 at 8:52 PM
    • KUKA Robot Forum
  • KRC4 Controlling external brakes in parallel with E1 brakes

    • SkyeFire
    • March 28, 2019 at 5:04 PM
    • KUKA Robot Forum
  • The wrong moves of the axes x and y in the Cartesian coordinates

    • km427
    • July 18, 2018 at 8:23 PM
    • KUKA Robot Forum
  • Weird mastering position and method, bad TCP accuracy, measurement problems

    • Spirit532
    • July 21, 2018 at 1:18 AM
    • KUKA Robot Forum
  • Kr100 L80-2 HA External axis won’t jog

    • RobotsRock
    • December 12, 2017 at 8:55 PM
    • KUKA Robot Forum
  • Parameter for delaying drives off

    • Terzi
    • September 8, 2017 at 3:01 PM
    • KUKA Robot Forum
  • KRC 4 : jog functions from plc

    • Plc_User
    • May 27, 2017 at 6:05 PM
    • KUKA Robot Forum
  • IRB1500 S3 - 509 SYNC ERROR 2101 - 538 SAFETY STOP

    • georgetsag
    • November 10, 2014 at 12:51 PM
    • ABB Robot Forum
  • Stop jogging with signal in manual mode

    • Terzi
    • February 14, 2017 at 2:36 PM
    • ABB 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