Good evening, I’m new in the forum, my name is Andrea calling from Italy. We have an IRB 1200 programmed via flexpendant making always the same movements, thus, we don’t need any pc connected. Sometimes I need to change the value of a variable to adjust some eventual imperfections of the object to take. To do this, I have to turn the key in manual position, change the variable, turn again the key, engage motors, reset robot position etc etc. So, is there a simple way to send a command to change that variable without doing the above actions? Something like an UDP message or something like that.
Many thanks in advance,
You could connect via the service port with robotstudio and make edits. You could also view the data on the teach pendant and make changes without changing to manual mode. You might need to stop program execution for a moment while doing so.
Many thanks, Lee. Sorry for the late in my answer but I was around for work. I would like to avoid the presence of the pendant in order to avoid unwanted touch by workers. I read about the socket mode or writing a file that the controller reads at every start but I didn’t find how to do it
If you want to work with file based variables, you could FTP the file to the controller and then use the Load command in rapid to load the module which contains the variables that you need changed.
Start with an FTP client. Oh, and make sure that the robot has the option FTP and NFS. I use Filezilla. Get connected to the main computer via ethernet connection on the cpu port. Try to send your file. Look up in the forum examples for using the load command. I am pretty sure that I have already posted some examples, as well as have some other users.
Ok I will try. Just another question: until now, I’ve used WaitDI command but how can I check an input without holding the execution? Something like
If DI1=1 then
do something
end if
You could do that or TestDI function. But if the input is not on, it is not on regardless of how you check for it. If you must wait, then you must. But if it is the case that you can do something else instead of wait doing nothing, then your suggestion would be best.
I’m sorry but I don’t have the TestDI function on my pendant? Where it would be? And, I have to check only if it on and do an operation only if so. I DON’T want to wait
Good morning, I didn’t find anything about FTP but I have devicenet. At this point I have to use the disk file option. I’ve connected the IRC5 with the WANport to my ethernet. I’ve modified the ip settings and I can ping it but I cannot see it as a phisical disk (using windows \192.168.0.15).
If you don’t have FTP and NFS option you would need the option PC interface to connect RS to the main computer ethernet port. Otherwise, it is limited to the service port.
I have the pc interface. I’ve downloaded the trial version of RobotStudio and I can see and sync it. I would like to avoid robot studio and create my own app in order to simplify the operation for any person who need to change that parameter instead of calling me every time.
Hallo, option PCInterface includes socket messaging where you can communicate on a permanet ethernet connection using a c/C++ program running on a remote PC. You might use this to transfer data.
Do you have screenmaker or flex pendant interface option? You could whip something up for the pendant to do what you want. Otherwise, you could be about to go deep into a rabbit hole with learning SDK or other methods of interfacing a computer with the robot.
I have the flexpendant. At the moment I use that to change a constant value that is passed to a variable in the program. So I can change the screen of the flexpendant as I want?