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

Reset additional axis position

  • 12ph
  • July 2, 2019 at 8:44 AM
  • Thread is Resolved
  • 12ph
    Trophies
    3
    Posts
    11
    • July 2, 2019 at 8:44 AM
    • #1

    Hello. I need to programmatically reset the position of the additional axis.
    I tried this:


    I changed the value of variable $brk_mode from B1010 to B1101 in mada

    Program code:
    $async_axis='B000001' ; to make the e1 axis asynchronous
    wait sec 1
    $async_ex_ax_decouple= 'B111110' ;to decouple the eternal axis
    $axis_act.e1=0
    WAIT FOR $AXIS_JUS.E3==TRUE
    $async_axis='B000001' ; to couple it again

    But it does not work. Gives an error message
    Tell me please, how can I do this?

  • Fubini
    Reactions Received
    272
    Trophies
    9
    Posts
    1,872
    • July 2, 2019 at 1:55 PM
    • #2

    https://www.robot-forum.com/robotforum/kuk…rum/read-first/

    What software?
    What error message?
    Why E3 in your wait for if you decouple e1?
    ...


    Fubini

    Edited once, last by Fubini (July 2, 2019 at 1:57 PM).

  • 12ph
    Trophies
    3
    Posts
    11
    • July 18, 2019 at 8:33 AM
    • #3

    KUKA, KR C v8.3.39, KS V8.3.483

    I changed the code. Now he is:
    DEF RESET_E2()
    ptp $pos_act
    $ASYNC_AXIS='B00010'
    WAIT SEC 0.5
    $ASYNC_EX_AX_DECOUPLE='B00010'
    WAIT SEC 0.5
    $AXIS_ACT.E2=0
    WAIT SEC 0.5
    $ASYNC_EX_AX_DECOUPLE='B00000'
    WAIT SEC 0.5
    $ASYNC_AXIS='B00000'
    END

    Gives an error message:

    Ackn. de-/coupling not allowed for axis E2

    stops at this line: $ASYNC_EX_AX_DECOUPLE='B00010'

  • Online
    panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • July 18, 2019 at 1:06 PM
    • #4

    Open your working project ib WoV, open drives configuration, right click on E1 motor and enable coupling, etc

    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

  • 12ph
    Trophies
    3
    Posts
    11
    • July 27, 2019 at 2:45 PM
    • #5
    Quote from panic mode


    Open your working project ib WoV, open drives configuration, right click on E1 motor and enable coupling, etc

    I did as you said. But I had another problem.
    I could not manually move the axis E2
    Look at 1st image.

    I also had to change the terminals from 1 and 2 to 7 and 8. Since when I switched on the coupling in WorkVisual, they changed from 1 and 2 to 7 and 8. Look at 2nd and 3rd image.

    When I go into the proposal proposal, WorkVisual wants to remove RDC. Look at video. :icon_wink:

    Images

    • 1.jpg
      • 102.11 kB
      • 949 × 1,280
      • 31
    • 2.jpg
      • 194.42 kB
      • 720 × 1,280
      • 27
    • 3.jpg
      • 167.38 kB
      • 720 × 1,280
      • 19

    Files

    1.jpg_thumb 25.57 kB – 220 Downloads 2.jpg_thumb 24.77 kB – 219 Downloads 3.jpg_thumb 23.59 kB – 218 Downloads video_2019-07-27_19-32-21.mp4 10.53 MB – 26 Downloads
  • Online
    panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • July 27, 2019 at 5:39 PM
    • #6

    topic started with assumption that all axes are configured and working, only one of the external axes needs position reset.
    suggestion was to enable coupling. that is all.
    but you did complete drives reconfiguration, and now wonder why things don't work... what is your point? i don't follow.

    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

  • 12ph
    Trophies
    3
    Posts
    11
    • July 28, 2019 at 1:10 PM
    • #7
    Quote from panic mode

    [size=2]topic started with assumption that all axes are configured and working, only one of the external axes needs position reset.[/size]
    [size=2]suggestion was to enable coupling. that is all.[/size]
    [size=2]but you did complete drives reconfiguration, and now wonder why things don't work... what is your point? i don't follow.[/size]


    After all, I wrote, and even shot a video. When I include the coupling in WorkVisual, the contacts change from 1 and 2 to 7 and 8. If I set the project as it is, then nothing works. Therefore, I had to switch contacts to RDC from 1 and 2 to 7 and 8

  • Viktor W
    Trophies
    3
    Posts
    1
    • April 27, 2020 at 2:36 PM
    • #8

    Hi, i am looking for a solution to this topic.

    My Goal: After finishing the code i want to reset the value of the Extern Axis, without rotating all the way back.

    Quote from panic mode

    Open your working project ib WoV, open drives configuration, right click on E1 motor and enable coupling, etc

    I followed your advice and enabled coupling correctly.

    When i run the code following happens:

    //The Axis is finished with the program, the E2 value is 60, and before it goes back to home position, where the E2 value is 0 we want to reset without rotating.

    DEF RESET_E2()

    ptp $pos_act

    $ASYNC_AXIS='B00010'

    WAIT SEC 0.5

    $ASYNC_EX_AX_DECOUPLE='B00010'

    WAIT SEC 0.5 // Until here everything is fine lets say the axis has the value 60

    $AXIS_ACT.E2=0 // Here i expect the value to change back to 0 without rotating but the value does not change.

    WAIT SEC 0.5

    $ASYNC_EX_AX_DECOUPLE='B00000' // Here the the value changes to 0 and the unwanted rotation happens.

    WAIT SEC 0.5

    $ASYNC_AXIS='B00000'

    END

    I really want to find a solid solution to this problem.

    Thank you!

    Quote from 12ph

    KUKA, KR C v8.3.39, KS V8.3.483

    I changed the code. Now he is:
    DEF RESET_E2()
    ptp $pos_act
    $ASYNC_AXIS='B00010'
    WAIT SEC 0.5
    $ASYNC_EX_AX_DECOUPLE='B00010'
    WAIT SEC 0.5
    $AXIS_ACT.E2=0
    WAIT SEC 0.5
    $ASYNC_EX_AX_DECOUPLE='B00000'
    WAIT SEC 0.5
    $ASYNC_AXIS='B00000'
    END

    Gives an error message:

    Ackn. de-/coupling not allowed for axis E2

    stops at this line: $ASYNC_EX_AX_DECOUPLE='B00010'

    Display More
  • Online
    panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • April 27, 2020 at 2:52 PM
    • #9

    don't know what you have there....

    if $ASNC_OPT is FALSE, you cannot programmatically switch axis async. this is in $OPTION.DAT in controller MADA

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