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

Can current position registers be updated from a program?

  • robool
  • November 5, 2022 at 6:57 AM
  • Thread is Unresolved
  • robool
    Trophies
    1
    Posts
    1
    • November 5, 2022 at 6:57 AM
    • #1

    I'm very new to robots and especially fanuc robots. We have R-30iB controller.

    Our software communicates with the robot via a Kepware server. To get the robot's current position, we have 8 tag names mapped to robot registers that are updated as the robot moves.

    1. I want to write a program on the robot controller to be able to set these robot registers through the program. I need this to simulate my robot - the program will update these positions without actually moving the robot. Is it possible? What do I need to do?
    2. I tried updating these values manually from the Kepware client, but they didn't change. So I assumed it was impossible. Or maybe I need to enable something on the controller for this?

  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • November 7, 2022 at 12:42 AM
    • #2

    Search the forum for Explicit Message

    Retired but still helping

  • Sergei Troizky
    Reactions Received
    67
    Trophies
    6
    Posts
    650
    • November 7, 2022 at 2:52 PM
    • #3

    What does the explicit messaging have with the OP question?
    His problem is not reading the data, but the impossibility to override these data in the robot.

    Do it well right away. It will become bad by itself.

  • HawkME
    Reactions Received
    568
    Trophies
    10
    Posts
    3,268
    • November 7, 2022 at 6:36 PM
    • #4

    I not 100% sure but don't think you can simulate the current position data in the robot. Can you just create a program where the robot moves back and forth for testing?

  • Nation
    Typical Robot Error
    Reactions Received
    529
    Trophies
    9
    Posts
    1,910
    • November 10, 2022 at 9:17 PM
    • #5
    Quote from robool

    I want to write a program on the robot controller to be able to set these robot registers through the program. I need this to simulate my robot - the program will update these positions without actually moving the robot. Is it possible? What do I need to do?

    If this is something that doesn't need to happen all the time, you could turn off motion in the test menu. I believe the CURJPOS will updated with where the robot "believes" it is, not where it actually is.

    Quote from robool

    I tried updating these values manually from the Kepware client, but they didn't change. So I assumed it was impossible. Or maybe I need to enable something on the controller for this?

    They may have updated for a scan on the robot side, but then your background program probably immediately overwrote it.

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

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

  • avnishoza
    Trophies
    3
    Posts
    17
    • December 25, 2022 at 11:19 AM
    • #6
    Quote from robool

    I'm very new to robots and especially fanuc robots. We have R-30iB controller.

    Our software communicates with the robot via a Kepware server. To get the robot's current position, we have 8 tag names mapped to robot registers that are updated as the robot moves.

    1. I want to write a program on the robot controller to be able to set these robot registers through the program. I need this to simulate my robot - the program will update these positions without actually moving the robot. Is it possible? What do I need to do?
    2. I tried updating these values manually from the Kepware client, but they didn't change. So I assumed it was impossible. Or maybe I need to enable something on the controller for this?

    Hello ,

    To understand your requirements -

    1.Do you want those reg value to be updated with out executing any robot porgram ? - well you can do by creating background program which update robot current position from robot variable --- that has robot current position or you can use instruction JPOS to get currnet joint positon ... this program could update all register value in real time --- some miliseconds delay !!

    also , mask out any group in program details so your program can run in background wiht our affecting any other motion program

    Also , does your software has difficutiles to read register value or your robot program can not update register values

    If you can not update your tags with current updated register values , you can do some reasearch on explicit messaging ... we did get use those messaging to read and write direct postion register / register from Allen bradley PLC .. or you may need PCDK to get live robot data

    Hope this helps ..

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

  • I/O Communication problem wiith PLC

    • Dalin
    • September 27, 2018 at 9:23 PM
    • Kawasaki Robot Forum
  • Transfer files from robot to robot

    • TexDino
    • March 13, 2019 at 9:53 AM
    • Fanuc Robot Forum

Tags

  • Fanuc
  • Position Registers
  • Program Control
  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