How to get payload in Java

Hello everyone,

Who can tell me how to get payload value in Java with the TCP Configuration under the Installation Tab.

Thanks in advance.

Hello,

you can try out the following example:

This should give the needed function from the available Script Functions of the robot.

Thank you very much.

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)