Hi,
Other than Cross is there a way to read variables from the robot?
Thanks!
Hi,
Other than Cross is there a way to read variables from the robot?
Thanks!
Controller version? KSS version? Do you want to view the value of a variable? Or do you want to read that value by an external controller or other interface?
And, you can view variable via Cross? How?
KR C4, currently on 8.2. I have written an interface to cross, so i am able to read and write variables currently but I am only able to do so with a limited amount of variables.
Is OPC a way to go?
It is one way, though I'm not too familiar with how to implement OPC. You can set your variables to robot outputs and then look at them with an external controller (PLC) as inputs. So, for instance, if you wanted to report Axis 1 actual velocity in real time to the PLC, you might do the following:
In the config.dat file, you could declare a non-system variable as a group of outputs:
And then in your SPS, you could send the value of the system variable to this output group:
This combination will essentially update the output group to the actual axis 1 velocity every time your SPS is scanned (on the order of milliseconds). That group of outputs could then be read by the PLC to use as you wish in your controller program. Of course, this all depends on setting up your robot to talk to a PLC, which greatly depends on what type of controller and network you're using.
Is this what you're trying to do?