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

Help Needed on DPM Dynamic Path Modification

  • 4wheeled
  • December 6, 2020 at 2:50 AM
  • Thread is Resolved
  • 4wheeled
    Reactions Received
    1
    Trophies
    3
    Posts
    50
    • December 6, 2020 at 2:50 AM
    • #1

    We are recently testing the DPM option on a Fanuc M10iD robot with 30iB controller. We got it moving with offset sent from the socket. However, unless the speed is really low, the robot movement is very jerky, almost violent, for example, 1mm for cycle, and the jerk frequency seem to be consistent with the 8msec ITP.

    From the outer set, it seems that the robot moved too fast at each offset command. The robot seem to be stopped before the next offset command, so it starts and stops at each cycle, resulting in violent vibration.

    I am familiar with similar function with Kuka, the RSI, where it has a PID setting that we can adjust the servo response. But for DPM, I don't see this option. Is there anyway we can adjust?

    Thanks in advance and have a good weekend!

    Jay

    Edited once, last by 4wheeled (December 6, 2020 at 2:59 AM).

  • Famous_Fella
    Reactions Received
    25
    Trophies
    4
    Posts
    131
    • December 7, 2020 at 9:57 AM
    • #2

    I guess you have implemented a KAREL routine with socket messaging. How many positions do you stream ? is it only one position at a time ?

  • 4wheeled
    Reactions Received
    1
    Trophies
    3
    Posts
    50
    • December 7, 2020 at 3:16 PM
    • #3

    Yes, I implemented a KAREL routine with socket messaging. I streamed about 100 offsets, one at a time, every ITP, I guess 8msec.

  • Famous_Fella
    Reactions Received
    25
    Trophies
    4
    Posts
    131
    • December 7, 2020 at 4:37 PM
    • #4

    I guess from using an offset that your Pos. Registers are unlocked? I have never used DPM but from what you describe the only thing similar that comes to my mind is trying to run a path when your moves all have offset to PR motion command and your Pos Regs are unlocked. Can you separate your commands into segments of commands, unlock your Pos Regs recieve the offset from the socket, lock Pos Regs, run the motion commands unlock P Regs update from socket etc ?

    When your Pos Registers are unlocked the robot cannot make use of its look ahead function as a safety measure. (your Pos Regs are unlocked so they can change anytime from any source, so the robot's motion planner reads the position register you use for offset and applies it to the motion line by line)

    Edited once, last by Famous_Fella (December 7, 2020 at 4:50 PM).

  • Nation
    Typical Robot Error
    Reactions Received
    542
    Trophies
    9
    Posts
    1,924
    • December 7, 2020 at 6:00 PM
    • #5

    Do you have filtering enabled after the offset on the DPM screen? Also, have you played around with the $a1 and $a2 filter vars in each channel? The manual lists them as exponential filters, but fails to go into more detail.

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

  • 4wheeled
    Reactions Received
    1
    Trophies
    3
    Posts
    50
    • December 8, 2020 at 2:33 AM
    • #6
    Quote from ps0f0r

    I guess from using an offset that your Pos. Registers are unlocked? I have never used DPM but from what you describe the only thing similar that comes to my mind is trying to run a path when your moves all have offset to PR motion command and your Pos Regs are unlocked. Can you separate your commands into segments of commands, unlock your Pos Regs recieve the offset from the socket, lock Pos Regs, run the motion commands unlock P Regs update from socket etc ?

    When your Pos Registers are unlocked the robot cannot make use of its look ahead function as a safety measure. (your Pos Regs are unlocked so they can change anytime from any source, so the robot's motion planner reads the position register you use for offset and applies it to the motion line by line)

    I am not familiar with Pos lock and it is not mentioned in the DPM manual. I also don't know the inner work of DPM, but I'm guessing it is feeding the offsets received every ITP into its servo loop.

    The point I want to make is that, in my mind, traditionally, servo = PID. I think the jerk motion is a PID problem, but I don't see where I can tune the PID.

    I will definitely look up the Pos Reg. So thanks!

    Jay

  • 4wheeled
    Reactions Received
    1
    Trophies
    3
    Posts
    50
    • December 8, 2020 at 2:42 AM
    • #7
    Quote from Nation

    Do you have filtering enabled after the offset on the DPM screen? Also, have you played around with the $a1 and $a2 filter vars in each channel? The manual lists them as exponential filters, but fails to go into more detail.

    Yes I noticed that, but I don't know what they are for as it is never explained. But I'm guessing it is something of the exp(-a1*t/tau1) type, probably influences some kind of impulse response.

    I did try to change the _cfg.$bef_jbf from FALSE to TRUE. But when I did that, it stopped moving. So I changed it back.

  • 4wheeled
    Reactions Received
    1
    Trophies
    3
    Posts
    50
    • December 8, 2020 at 2:48 AM
    • #8

    Thanks for the helps, but I have another thought. Is there a way I can change the acceleration setting that WILL affect the DPM motion?

  • Nation
    Typical Robot Error
    Reactions Received
    542
    Trophies
    9
    Posts
    1,924
    • December 8, 2020 at 12:11 PM
    • #9

    You could change the scale of your channel inputs. Increasing it will cause the robot to respond slower.

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

  • 4wheeled
    Reactions Received
    1
    Trophies
    3
    Posts
    50
    • December 11, 2020 at 7:02 AM
    • #10
    Quote from Nation

    You could change the scale of your channel inputs. Increasing it will cause the robot to respond slower.

    Isn't the analog channel of which scale you can change?

  • tboekhorst
    Reactions Received
    3
    Trophies
    2
    Posts
    24
    • December 12, 2020 at 1:51 PM
    • #11
    Quote from 4wheeled

    I am not familiar with Pos lock and it is not mentioned in the DPM manual. I also don't know the inner work of DPM, but I'm guessing it is feeding the offsets received every ITP into its servo loop.

    Haven't worked with DPM myself. But would like to read more about it. I did look on the internet for a DPM manual, but couldn't find any. It would be very kind if you could send me the manual please; i will PM you my e-mail adress.

  • Nation
    Typical Robot Error
    Reactions Received
    542
    Trophies
    9
    Posts
    1,924
    • December 12, 2020 at 5:04 PM
    • #12
    Quote from 4wheeled

    Isn't the analog channel of which scale you can change?

    No, its the scale of input to the DPM schedule. It could be analog, or in your case a Karel var. In my case it was a group input sent from the PLC. My pitch correction wasn't responding quick enough, so I dropped the scale, and that solved the issue.

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

  • 4wheeled
    Reactions Received
    1
    Trophies
    3
    Posts
    50
    • December 13, 2020 at 1:53 AM
    • #13
    Quote from tboekhorst

    Haven't worked with DPM myself. But would like to read more about it. I did look on the internet for a DPM manual, but couldn't find any. It would be very kind if you could send me the manual please; i will PM you my e-mail adress.

    The PDF is attached.

    ** PDF removed by Moderator - Please do not post Fanuc documentation **

  • 4wheeled
    Reactions Received
    1
    Trophies
    3
    Posts
    50
    • December 13, 2020 at 1:59 AM
    • #14
    Quote from Nation

    No, its the scale of input to the DPM schedule. It could be analog, or in your case a Karel var. In my case it was a group input sent from the PLC. My pitch correction wasn't responding quick enough, so I dropped the scale, and that solved the issue.

    I double checked the manual, it looks like the SCALE would apply to the group digital input, the GI type. But in my case, it is the SV type, system variable from Karel. For the SV type, since the offset is already expressed through the system variable, I don't see how and why we need to apply a scale factor to it.

  • 4wheeled
    Reactions Received
    1
    Trophies
    3
    Posts
    50
    • December 29, 2020 at 1:25 AM
    • #15

    Happy Holidays, anyone still reading the tech forum?

    It looks like very few people actually have much experience with DPM. But I still hoping someone with the real experiences could give us a hand.

    Thanks and very much appreciated!

  • Nation
    Typical Robot Error
    Reactions Received
    542
    Trophies
    9
    Posts
    1,924
    • December 29, 2020 at 4:33 AM
    • #16

    You are correct, this option is implemented rarely. I've only used in on one job out of my entire career. You may have to contact Fanuc directly.

    It would help if you posted what your settings and use case are. Also how are writing to the DPM system vars with your Karel program. You may have to write a software PID in there.

    Did you end up messing with the $a1 and $a2 filtering variables?

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

  • 4wheeled
    Reactions Received
    1
    Trophies
    3
    Posts
    50
    • December 31, 2020 at 9:36 AM
    • #17
    Quote from Nation

    You are correct, this option is implemented rarely. I've only used in on one job out of my entire career. You may have to contact Fanuc directly.

    It would help if you posted what your settings and use case are. Also how are writing to the DPM system vars with your Karel program. You may have to write a software PID in there.

    Did you end up messing with the $a1 and $a2 filtering variables?

    No we haven't tried the $a1 & $a2 yet. We can try it after the holiday.

    As for the settings, we followed this demo: https://github.com/gavanderhoorn/fanuc_dpm_mouse_demo

  • dha
    Reactions Received
    28
    Trophies
    6
    Posts
    397
    • January 4, 2021 at 11:12 AM
    • #18

    I've used DPM on R-30iB Plus without problems.

    I set 2 GIs for correcting robot path in tool frame (Z an Y).

  • fatemeh
    Trophies
    1
    Posts
    3
    • February 3, 2023 at 2:05 AM
    • #19
    Quote from 4wheeled

    The PDF is attached.

    ** PDF removed by Moderator - Please do not post Fanuc documentationH

    Hello, I couldn't find the DPM manual in the internet. could you please let me know how can I find it?

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • February 3, 2023 at 3:55 AM
    • #20

    We are not allowed to post the manual on this forum. Please reach out to your local Fanuc rep or authorized integrator.

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

Tags

  • Fanuc
  • DPM
  • dynamic path modification
  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