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

PDAT, LDAT, and FDAT Parameter Definitions

  • micahstuh
  • February 17, 2021 at 8:22 PM
  • Thread is Unresolved
  • micahstuh
    Reactions Received
    7
    Trophies
    3
    Posts
    31
    • February 17, 2021 at 8:22 PM
    • #1

    I can't figure out the shortened names for many of the parameters in these STRUCs. Can someone give a quick definition to each, or point out a reference document that describes them?

    STRUC PDAT REAL VEL,ACC,APO_DIST,APO_MODE_T APO_MODE,REAL GEAR_JERK

    STRUC LDAT REAL VEL,ACC,APO_DIST,APO_FAC,AXIS_VEL,AXIS_ACC,ORI_TYPE ORI_TYP,CIRC_TYPECIRC_TYP,REAL JERK_FAC,GEAR_JERK,INT EXAX_IGN,CIRC_MODE CB


    STRUC FDAT INT TOOL_NO,BASE_NO,IPO_MODE IPO_FRAME,CHAR POINT2[24],BOOL TQ_STATE

  • Go to Best Answer
  • Online
    panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,079
    • February 17, 2021 at 9:37 PM
    • #2

    can you be specific?

    highlighted ones are basic data types

    REAL = 32-bit number, floating point

    INT = 32-bit number, signed, integer

    BOOL = boolean (TRUE/FALSE)

    CHAR = character (8-bit)

    PDAT and LDAT are PTP and CP motion parameters, store motion parameters for inline form motion instructions (PDAT for PTP motions, LDAT for LIN and CIRC motions, because units are different)

    FDAT is Frame info for some point (tool, base etc)

    VEL = velocity (first derivative, dx/dt)

    ACC = acceleration (second derivative)

    JERK = jerk (third derivative)

    APO = approximation

    ORI = orientation

    TQ = Torque

    EXAX = external axis

    IPO = interpolation, IPO_MODE tells what frame is the reference frame (usually 'stationary')

    suffix _T and _TYPE indicate that this is TYPE of some sort (ENUM or STRUC)

    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

  • micahstuh
    Reactions Received
    7
    Trophies
    3
    Posts
    31
    • February 18, 2021 at 4:23 PM
    • #3

    I understand most of the parameters out of context, but some of these I can't figure out, such as:

    APO_FAC
    JERK_FAC
    GEAR_JERK

    EXAX_IGN
    CIRC_MODE
    POINT2[24]
    TQ_STATE

    Can you help shed some light on precisely what each of these parameters do? Maybe even some units where applicable?

  • Online
    SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,423
    • February 18, 2021 at 4:55 PM
    • #4

    Opening up BAS.SRC will show you exactly what the system does with these variables. Particularly, which system variables they get passed into.

    Several of these variables either don't get used for anything, are only used for particular special motion modes, or are obsolete but kept in order to maintain backwards compatibility.

    CIRC_MODE is a variable type -- the actual variable is CB.

    POINT1 and POINT2 are not part of LDAT or PDAT -- they're part of BASIS_SUGG_T, which is only used by the user interface to suggest new point names as you create new ILF points.

  • Fubini
    Reactions Received
    278
    Trophies
    9
    Posts
    1,886
    • February 18, 2021 at 4:56 PM
    • #5

    Open bas.src lookup where these variables are used and figure out to what system variable (variables starting with $) and how they map. Afterwards lookup the system variables manual to understand it completely.

    Ok skyefire Beat me to it. 😂

    Fubini

  • micahstuh
    Reactions Received
    7
    Trophies
    3
    Posts
    31
    • February 19, 2021 at 12:57 PM
    • #6

    Yeah forgive me. I understand the value of investigating, but in most programming languages it's bad practice to have functions, structures, classes, etc without documentation that is completely exhaustive. The system variables document is pretty good but I saw that these structures didn't make the cut.

  • hermann
    Reactions Received
    406
    Trophies
    9
    Posts
    2,609
    • February 19, 2021 at 1:18 PM
    • Best Answer
    • #7
    Quote from micahstuh

    .. bad practice to have functions, structures, classes, etc without documentation..

    You are right, but those structures are used only in Inline forms and are filled with values from the input fields in the inlines.

    So Kuka employees seem to think it's not necessary to document them, I can understand that point of view.

  • Online
    SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,423
    • February 19, 2021 at 2:37 PM
    • #8

    There's a divide here -- system variables are an inherent part of KSS, and start with $. It's impossible to remove them from a KRC.

    But these variables are user-space variables that just happen to come by default with every robot -- they can actually be deleted entirely, without harming the operation of the robot. They are only used by the user interface, to support the Inline Forms. It's entirely possible to delete the entire contents of $CONFIG.DAT and still have an operable KRC, you'll just have to hand-program everything in KRL"raw".

    Documentation of these variables seems to fall into this divide -- the KSS engineers are pretty good about documenting the core system variables and functions (with a few, odd, glaring exceptions), but there seems to be an assumption that if you using Inline Form programming, you're working in "amateur mode" and don't need (or aren't interested in) any more detail. So the documentation seems to split into two categories: manuals for people who only use the menus and ILFs and never dig any deeper, and manuals for "real" programmers who do everything in raw KRL with a text editor.

    The good news here is that KUKA (unlike, say, Fanuc) exposes the entirety of $CONFIG.DAT, BAS.SRC, and the other "factory option" files (like IR_STOPM) to anyone willing to dig a bit, and the code is entirely open to being reverse-engineered and even modified.

  • micahstuh
    Reactions Received
    7
    Trophies
    3
    Posts
    31
    • February 19, 2021 at 2:51 PM
    • #9

    Thank you all for clearing that up for me. I hadn't thought of that perspective before SkyFire, good point.

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

  • PDAT
  • LDAT
  • FDAT
  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