How do the String Registers work?
Can I send a message from the PLC to a String Register of a FANUC robot?
How do the String Registers work?
Can I send a message from the PLC to a String Register of a FANUC robot?
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.
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
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?
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?
I can do it <( ̄︶ ̄)>
I miss this post(((( Thanks for link
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.
I miss this post(((( Thanks for link
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
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?
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:
It's laziest way how to leave everything on robot side. I can show you that in roboguide if you want.
Display More
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:
It's laziest way how to leave everything on robot side. I can show you that in roboguide if you want.
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
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..