Hello everyone,
Who can tell me how to get payload value in Java with the TCP Configuration under the Installation Tab.
Thanks in advance.
sko
July 21, 2020, 2:34pm
2
Hello,
you can try out the following example:
URScript Communicator
Description of functionality:
Allows the developer to:
Send URScript to URControl, i.e. by user action (button)
Extract a value calculated in URScript into the URCap (or Java in general)
What topics are covered:
Secondary Client interface, extract data from URScript, secondary program
Find it on Github!
Requirements:
URCaps SDK v. 1.3 (due to Swing UI implementation)
But *.communicator classes can run with most version of PolyScope.
This should give the needed function from the available Script Functions of the robot.
It works perfectly. Thanks to @sko and @jbm .
1 Like
Sorry for reopen once more this old question, but I think it should actually be implemented directly into the API for URCap development.
(Payload and Center of Gravity)
Summary
Add a way to associate Payload and Center Of Gravity with a TCP in both Polyscope and URCap API.
What is it?
Per-TCP Payload and Center Of Gravity settings for easier use where flange-mounted items/tools are changed either manually or dynamically (tool changer).
Currently this must be done using Set nodes (can only do payload) or URScript.
As this would be saved in the TCP settings, Move nodes, and similar, where you can change the TCP, would check if it has an associated Payload-COG …