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

String Registers

  • Fer_Rdz
  • October 25, 2016 at 2:56 PM
  • Thread is Resolved
  • Fer_Rdz
    Trophies
    3
    Posts
    5
    • October 25, 2016 at 2:56 PM
    • #1

    How do the String Registers work?

    Can I send a message from the PLC to a String Register of a FANUC robot?

  • scotty
    Reactions Received
    43
    Trophies
    5
    Posts
    497
    • October 25, 2016 at 7:30 PM
    • #2

    String in Fanuc is approximately same as chars array. Where is important to predefined size of array. Also be careful if you put a lat of spaces in end of string then your string length will include this spaces.
    I didn't know that somebody can get access to memory space of strings. Usually you can set I/O, Register. But not PR, Strings, Timers, etc.

  • lexx905
    Reactions Received
    11
    Trophies
    3
    Posts
    82
    • October 25, 2016 at 8:29 PM
    • #3

    I can do it <( ̄︶ ̄)>

    https://www.robot-forum.com/robotforum/fan…nsfer-to-fanuc/

  • HawkME
    Reactions Received
    570
    Trophies
    11
    Posts
    3,269
    • October 26, 2016 at 12:39 AM
    • #4

    What robot controller and what PLC type?

    You can do it different ways, but EthernetIP and AB PLC works well. You would need to purchase the EthernetIP adapter option for your robot.

    Sent from my VS985 4G using Tapatalk

  • Fer_Rdz
    Trophies
    3
    Posts
    5
    • October 26, 2016 at 1:22 AM
    • #5

    I´m using a R-30iB controller and an Allen Bradley PLC.

    I need to write the name of the program in a Label of an HMI that I create in the iPendant. Any idea of how to do that?

  • HawkME
    Reactions Received
    570
    Trophies
    11
    Posts
    3,269
    • October 26, 2016 at 2:53 AM
    • #6

    I can't help much with the HMI part on the TP, but sending a string from the PLC to a Robot string register is easily done with an explicit message via Ethernet/IP. In order to do that you need to purchase the Ethernet IP adapter option for the robot and have an Ethernet IP capable PLc.

    On the other hand, can you just manually enter and store you HMI labels on the robot? Why do you need to message them?

  • scotty
    Reactions Received
    43
    Trophies
    5
    Posts
    497
    • October 26, 2016 at 10:39 PM
    • #7
    Quote from lexx905


    I can do it <( ̄︶ ̄)>

    https://www.robot-forum.com/robotforum/fan…nsfer-to-fanuc/


    I miss this post(((( Thanks for link :grinning_face_with_smiling_eyes:

  • scotty
    Reactions Received
    43
    Trophies
    5
    Posts
    497
    • October 26, 2016 at 10:51 PM
    • #8
    Quote from Fer_Rdz


    I´m using a R-30iB controller and an Allen Bradley PLC.

    I need to write the name of the program in a Label of an HMI that I create in the iPendant. Any idea of how to do that?


    Will be good to predefined all program names and store it in string registers. After that just copy data from your program list to some buffer string register and every time just show your buffer string register to user. It will works in case if nobody will change your string register data and program names, etc....it's easiest and laziest way how to do it.

  • lexx905
    Reactions Received
    11
    Trophies
    3
    Posts
    82
    • October 27, 2016 at 5:07 AM
    • #9
    Quote from scotty


    I miss this post(((( Thanks for link :grinning_face_with_smiling_eyes:

    Ciao Scotty.

    I was able to repeat the FANUC PC Developer's Kit (PCDK). But they did it only for .Net. I was able to adapt it to the plc

  • Fer_Rdz
    Trophies
    3
    Posts
    5
    • October 28, 2016 at 2:35 AM
    • #10
    Quote from scotty


    Will be good to predefined all program names and store it in string registers. After that just copy data from your program list to some buffer string register and every time just show your buffer string register to user. It will works in case if nobody will change your string register data and program names, etc....it's easiest and laziest way how to do it.

    I thougth about using the string registers, but when I create de HMI of the iPendant, I need to predefine de type of data in the Label and the data index, so I can't specify multiple DataIndex in just one Label. I need to configure the Label so I can send a specific text when the PLC sends a number or some data. Do you know some way to do that?

  • scotty
    Reactions Received
    43
    Trophies
    5
    Posts
    497
    • October 28, 2016 at 3:09 AM
    • #11
    Quote from Fer_Rdz


    I thougth about using the string registers, but when I create de HMI of the iPendant, I need to predefine de type of data in the Label and the data index, so I can't specify multiple DataIndex in just one Label. I need to configure the Label so I can send a specific text when the PLC sends a number or some data. Do you know some way to do that?


    You didn't understand me. I need just 1 label on HMI for program name. Which assigned to 1 SR.
    Example:
    your label is assigned to SR[1]. Where SR[1] is your buffer.
    After that you predefined from SR[5]-SR[15] program names.
    PLC tells to robot controller which name it should use. in example it's R[100]
    in your robot controller you just typed in bg logic:

    Code
    SR[1] = SR[R[100]]


    It's laziest way how to leave everything on robot side. I can show you that in roboguide if you want.

  • Fer_Rdz
    Trophies
    3
    Posts
    5
    • October 28, 2016 at 2:22 PM
    • #12
    Quote from scotty


    You didn't understand me. I need just 1 label on HMI for program name. Which assigned to 1 SR.
    Example:
    your label is assigned to SR[1]. Where SR[1] is your buffer.
    After that you predefined from SR[5]-SR[15] program names.
    PLC tells to robot controller which name it should use. in example it's R[100]
    in your robot controller you just typed in bg logic:

    Code
    SR[1] = SR[R[100]]


    It's laziest way how to leave everything on robot side. I can show you that in roboguide if you want.

    Display More

    I think I just got you, but it would be great if you can show me in Roboguide how to do that and how can I change the label depending of the program that is running please.

    I justo got it!! Thank you very very much

    Edited once, last by Fer_Rdz (October 28, 2016 at 4:56 PM).

  • scotty
    Reactions Received
    43
    Trophies
    5
    Posts
    497
    • November 11, 2016 at 4:10 PM
    • #13
    Quote


    I think I just got you, but it would be great if you can show me in Roboguide how to do that and how can I change the label depending of the program that is running please.

    I justo got it!! Thank you very very much


    Send me mail/message in pm please. After that we can set some skype call/etc..

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
  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