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. Yaskawa Motoman 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

Motoman DX100 P Variables

  • sherhold1
  • January 11, 2023 at 6:21 AM
  • Thread is Unresolved
  • sherhold1
    Trophies
    2
    Posts
    6
    • January 11, 2023 at 6:21 AM
    • #1

    New to Motoman and trying to understand the P Variable. I would like to share P variables between jobs and the since they are global that seems like a simple task. What is throwing me is that when I look at an archived job using a text editor I see the P variable position listed in the job making it appear to be a local variable. I would expect a separate file to hold the P variables similar to the way it is done in Fanuc Robots. I want to make sure that if the P variable is changed in one job that change is reflected in another job. Thanks in advance for any assistance.

  • Go to Best Answer
  • ljuba
    Reactions Received
    33
    Trophies
    5
    Posts
    281
    • January 11, 2023 at 6:54 AM
    • #2

    try searching here on fórum. That has been mentiined couple months ago. If I remember well, in order to P variable not be written in job file it needs to br P[].

    But however, if you have P variable in a job, once you change it in "variables" that change will affect all the programs that are using it.

  • TSGIR
    Reactions Received
    81
    Trophies
    6
    Posts
    713
    • January 11, 2023 at 7:29 AM
    • #3

    Hi

    There are two type of variables in Yaskawa robots, global and local.

    It is depends on what type you are using.

    The global Position variables show with P and the local Position with LP.

    If you are using normal position variables that are under VARIABLES menu, it is global variables therefore any change in this variables have effect on all job. If you change this variables in a job, it have effect on other jobs too.

    But if you use the LP variables, the change of this variables have effect only on job that are using it. The local variables must select and active in each job separate.

  • DCNETWORX
    Trophies
    1
    Posts
    1
    • January 18, 2023 at 1:03 AM
    • #4

    If you want to use global P variables has to not have LP in the job

    To view Variables go Main menu, variables, Position variables

    Send a screenshot of job if you wish

  • Reintz
    Reactions Received
    20
    Trophies
    4
    Posts
    122
    • January 23, 2023 at 7:56 AM
    • Best Answer
    • #5

    When you save a job to external memory the values of those global position variables that are used in that job get stored in the .jbi file. But the values are whatever they are at the time on saving (not from when you last ran that job). So the values in the job backup file may have nothing to do with that specific job.

    Use global variables wherever you want. Just keep in mind that when using the same variables in different jobs (which is totaly ok) you need to think of them as something not permanent. So before each time you use the variable in a job something should define it's value (SET instruction, touch sence etc).

    BTW when you load a backup job from external memory the position variable values in the controller will be overwritten with whatever values the backup file has, so be careful when you load a backup. Choose a time when it's ok to overwrite position variable values.

    Thread

    Programs becoming corrupted after transferring from USB

    We have a large library of weld programs for large programs that have 2-3 hour run times.

    Since we are a high mix low volume facility, we have more programs than the teach pendant can retain. To work around this we move programs onto USBs back and forth from the pendant whenever required.

    Sometimes when we transfer the program back into the pendant from the USB, the positioner/skyhook positional values associated with the weld lines only become affected. For example the original set point may be…
    ClassyBanana
    November 29, 2022 at 7:48 PM

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

Similar Threads

  • how to do communication with MOTOMAN dx100 controller and PC via "free" way?

    • npd
    • April 25, 2019 at 10:53 AM
    • Yaskawa Motoman Robot Forum
  • Motoman GETPOS dx100

    • jlynaugh
    • May 14, 2019 at 3:41 PM
    • Yaskawa Motoman Robot Forum

Tags

  • motoman
  • dx100
  • P variables
  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