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

KUKA KRC2 SERVOFLOAT

  • Gustavo Silvestro123
  • June 20, 2023 at 3:34 PM
  • Thread is Unresolved
  • Gustavo Silvestro123
    Trophies
    1
    Posts
    3
    • June 20, 2023 at 3:34 PM
    • #1

    Hello,

    how do i use servofloat on KUKA KRC2?

    Thanks

  • panic mode June 20, 2023 at 3:36 PM

    Approved the thread.
  • SkyeFire
    Reactions Received
    1,060
    Trophies
    12
    Posts
    9,456
    • June 20, 2023 at 7:14 PM
    • #2

    Very carefully.

    This is a simple program I used to put the E2 axis into soft-servo mode and drive it to close a gripper onto a pallet (the pallets changed size, so I had to use a force-based gripper).

    Code
    GLOBAL DEF Force_Grip (Force:IN, Position:IN)
      INT Force
      INT Position
    
      ;Break Advance Pointer
      WAIT FOR TRUE
    
      ;Select which axis to put into Torque Mode (binary, Axis1 is LSB)
      $TORQUE_AXIS='B10000000'
    
      ;Set % of Max Current that Torque-sensing will trip at
      $CURR_RED[8,1] = Force
    
      ;FOLD Drive E2 towards closure
      IF (($MODE_OP==#EX) OR ($MODE_OP==#AUT)) THEN
        $VEL_EXTAX[2]=Torque_Speed
      ELSE
        $VEL_EXTAX[2]=100
        IF $OV_PRO>90 THEN
        ;  $OV_PRO=90
        ENDIF
      ENDIF
    
    wait for true
    
      ; oscilloscope troubleshooting triggers
      TRIGGER WHEN DISTANCE=0 DELAY=-100 DO $OUT[200]=TRUE
      TRIGGER WHEN DISTANCE=1 DELAY= 100 DO $OUT[200]=FALSE
    
      ; Close E2 to Position while holding current position otherwise
      Next_Pos=$POS_ACT
      Next_Pos.E2=Position
      PTP Next_Pos
      ;ENDFOLD
    
      ;Reset Current limit
      $CURR_RED[8,1]=100
      
      ;Disengage Torque Mode
      $TORQUE_AXIS=0
      
    END
    Display More

    You should not use Soft Servo for any axis that has potential to fall -- A2 and A3 most especially, and the wrist axes are... questionable. And the motion of an axis in Soft mode is a bit odd -- the axis will stop moving physically once the torque limit is reached, but if you watch the live Joint Position display, the axis keeps moving "virtually" until the motion command is complete. So $POS_ACT and $AXIS_ACT will not be accurate until you force a move after exiting Torque mode (the Next_Pos move in the above example).

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

Tags

  • KUKA
  • KRC2
  • Servofloat
  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