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

Change asynchronous axis to synchronous axis

  • Ladislav
  • February 5, 2013 at 7:23 PM
  • Thread is Resolved
  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,041
    • October 17, 2019 at 8:06 PM
    • #21

    $ASYNC_AXIS = 'B000000' or 0 means none are asynchronous

    $ASYNC_AXIS = 'B000001' or 1 means E1 only is asynchronous, other external axes are synced

    $ASYNC_AXIS = 'B000010' or 2 means E2 only is async, other external axes are synced

    $ASYNC_AXIS = 'B010011' or 19 means E1, E2 and E5 are async, other extern axes are synced with robot

    from last example it is obvious why binary format is preferred in this case.

    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

  • Shubham Jain
    Trophies
    3
    Posts
    33
    • October 17, 2019 at 8:32 PM
    • #22
    Quote from panic mode

    'B000000' or 0 means none

    'B000001' or 1 means E1 only

    'B000010' or 2 means E2 only

    'B010011' or 19 means E1, E2 and E5

    from last example it is obvious why binary format is preferred in this case.

    $ASYNC_AXIS = $ASYNC_AXIS B_OR 'B000001' ; set E1 in ASYNC mode

    $ASYNC_AXIS = $ASYNC_AXIS B_AND 'B111110' ; set E1 in SYNC mode

    $ASYNC_AXIS = $ASYNC_AXIS B_OR 'B100000' ; set E6 in ASYNC mode

    $ASYNC_AXIS = $ASYNC_AXIS B_AND 'B011111' ; set E6 in SYNC mode


    $ASYNC_AXIS = 'B000001' ; E1 ASYNC

    $ASYNC_AXIS = 'B000000' ; E1 SYNC why you write B000000 E1 sync according to you this should be none.

    and 0 = sync

    1 = async , is it write ? :question_mark::question_mark:


    and where and when we use this variable, can you give any example. :question_mark::question_mark:

    SHUBHAM JAIN

  • Shubham Jain
    Trophies
    3
    Posts
    33
    • October 17, 2019 at 8:42 PM
    • #23
    Quote from SkyeFire

    Yes, it is normally possible to switch an external axis between SYNC and ASYNC modes, by turning its respective bit in $ASYNC_AXIS on or off.

    $ASYNC_AXIS is an INT variable, but is usually manipulated as a bit code for clarity in programming.

    Code
    $ASYNC_AXIS = $ASYNC_AXIS B_OR 'B000001' ; set E1 in ASYNC mode
    $ASYNC_AXIS = $ASYNC_AXIS B_AND 'B111110' ; set E1 in SYNC mode
    $ASYNC_AXIS = $ASYNC_AXIS B_OR 'B100000' ; set E6 in ASYNC mode
    $ASYNC_AXIS = $ASYNC_AXIS B_AND 'B011111' ; set E6 in SYNC mode

    This approach, using B_AND and B_OR, allows you to control the status of one axis without changing any of the others. If you only have one external axis, then a simple

    Code
    $ASYNC_AXIS = 'B000001' ; E1 ASYNC
    $ASYNC_AXIS = 'B000000' ; E1 SYNC


    will suffice

    $async_axis = 'b0001' in this step, how can we define that this is for E1 and this for async or sync

    $ov_async = 30

    asyptp {e1 -180}

    END

    Can you help me in this ??:question_mark:or is it wrong, which is wrote in the step.:question_mark::question_mark:

    SHUBHAM JAIN

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,041
    • October 17, 2019 at 9:03 PM
    • #24
    Quote from Shubham Jain

    $ASYNC_AXIS = $ASYNC_AXIS B_OR 'B000001' ; set E1 in ASYNC mode

    $ASYNC_AXIS = $ASYNC_AXIS B_AND 'B111110' ; set E1 in SYNC mode

    $ASYNC_AXIS = $ASYNC_AXIS B_OR 'B100000' ; set E6 in ASYNC mode

    $ASYNC_AXIS = $ASYNC_AXIS B_AND 'B011111' ; set E6 in SYNC mode


    $ASYNC_AXIS = 'B000001' ; E1 ASYNC

    $ASYNC_AXIS = 'B000000' ; E1 SYNC why you write B000000 E1 sync according to you this should be none.

    and 0 = sync

    1 = async , is it write ? :question_mark::question_mark:


    and where and when we use this variable, can you give any example. :question_mark::question_mark:

    Display More

    0=sync

    1=async

    Code
    $ASYNC_AXIS = 'B000001' ; 

    E1 ASYNC ----> Not entirely true...

    Yes this does set E1 to ASYNC but that is only 16.67% of what this command does. Because it also sets E2...E6 to SYNC. This is why masking with use of B_OR and B_AND is done as you have shown already.

    You can read the manual. It has examples....

    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

  • Shubham Jain
    Trophies
    3
    Posts
    33
    • October 17, 2019 at 9:09 PM
    • #25
    Quote from panic mode

    0=sync

    1=async

    Code
    $ASYNC_AXIS = 'B000001' ; 

    E1 ASYNC ----> Not entirely true...

    Yes this does set E1 to ASYNC but that is only 16.67% of what this command does. Because it also sets E2...E6 to SYNC. This is why masking with use of B_OR and B_AND is done as you have shown already.

    You can read the manual. It has examples....

    can you share the manual ??

    SHUBHAM JAIN

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,041
    • October 17, 2019 at 9:33 PM
    • #26

    i could and did... did you read pinned topic READ FIRST?

    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