I am developping UI application which communicates between UR and an external device via PLC.
I want to make the following features:
・While they are connected, exchange status through the eip-iomessge
・Retrieve the value stored in the address map into Java Program
URScript has an API that can access the address map but only during program execution.
(ProgramNodeContribution and InstallationNodeContribution have generateScript function.)
I am looking for something simular of:
・Execute the URScript when PolyScope is launched or when the InstallationNode is clicked by any button.
or:
・Access the address map dirrectly from the PolyScope API
It is possible to control and change ethernet/IP IO if you use RTDE(30004) or Real-Time Client(30003).
I created the urcap to do these for our product lines.
I looked into RTDE and looked at example_control_loop.py but couldn’t figure it out.
I want to start RTDE when I press the start button on the installation node, but I don’t know how to install it.
Should I make the Python script run when the start button is pressed?
To do that, I need to put the RTDE library in my eclipse workspace, right?
Hello if you would like to have the python code start automatically you will need to look at the damean ur cap for help. You would start a damean automatically which will run you python or c++. In your python code you would have the rtde exchange.