SCWRITE function
in RobotStudio
Hi,
I'm trying to transfer data from the controller to a PC in the network. I have PC-Interface option available but I'm not using WebWare.
I read through the manual and it describes it pretty easy, by just typing "SCWrite ToNode := "138.221.228.4", cycle_done;". I tried but I couldn't make it work. Where does the data go on the target computer? I'm totally lost, and any help will be very much appreciated.
Thank you.
I'm trying to transfer data from the controller to a PC in the network. I have PC-Interface option available but I'm not using WebWare.
I read through the manual and it describes it pretty easy, by just typing "SCWrite ToNode := "138.221.228.4", cycle_done;". I tried but I couldn't make it work. Where does the data go on the target computer? I'm totally lost, and any help will be very much appreciated.
Thank you.
0
Comments
-
Basically you need WebWare Server on the other end to receive the SCWrite message.As far as I know there is no published specification for how to do a client application, but if I remember correctly you might be able to open a socket and listen on port 3001 and receive that message. With the far more powerful tools that are available like Socket Messaging and PC Interface, however, SCWrite is pretty obsolete.Russell Drown0
-
Thanks for the reply Russell.
I will try to do it without using Webware. It is so funny that you see the stored data on the Flexpendant, but transferring it to a PC is such a pain.
0 -
-gianluigi-I need to do a similiar application where I need to see data values on a PC screen....and maybe a user defined clock value. Have you gotten anywhere with your struggles?Jay0
-
[QUOTE=tacnurt]-gianluigi-I need to do a similiar application where I need to see data values on a PC screen....and maybe a user defined clock value. Have you gotten anywhere with your struggles?Jay[/QUOTE]
Not really. I have been trying to figure out another way to do that. I will try saving the data on the controller as an array, then assigning each member of the array to a numeric variable, then I will try to write each individual entry into a .CSV file. It will take a while I guess but I just need the data, so it doesn't have to be real-time in my case.
I will update you as soon as I get something.
--Gianluigi
0 -
[QUOTE=tacnurt]-gianluigi-I need to do a similiar application where I need to see data values on a PC screen....and maybe a user defined clock value. Have you gotten anywhere with your struggles?Jay[/QUOTE]
Hi Jay,
I was able to get what I needed somehow. It is not the best way for sure but looks like it is working. I'm trying to obtain jointtarget data, robtarget data, and also forcevector data by using a force torque sensor. I create an array for these data types, and I try to write them in a .CSV file by using "open" and "write" commands. However, write command doesn't allow you to write arrays on the file, so I assign each array member to a numeric value and write those numeric values into the file inside a FOR loop.
Hope this helps for your case as well,
Gianluigi
0 -
It seems that a RAB application is the solution on your problems.You can also use the ABB OPC server it's free. On www.kepware.com there is greate samples in both VB and C# too make a OPC client to get data from the OPC server.Both one time scan or eventbased system where data is updated when they changesBR KlausBest Regards
Klaus Soenderhegn
www.cadalysator.dk0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings