(09-14-2021, 09:13 AM)Albert Wrote:You can take the dependencies from the ZIP file attached. You should unzip all its contents here:
C:/RoboDK/api/robot/
Let us know if you still have issues.
The dlls and bat: Same as the ones in RoboDK v5.2.5, so I assume it doesn't actually fix the issues I described in post #3 with missing pythonnet and MS VC++ 2010 (You should be able to replicate those issues by installing RoboDK on a new installations of Windows 10).
Anyway replaced the .py file and experienced the same problem as before. Changed the ip-address and port number, pressed "Connect". It seemed to connect but when I pressed "Get Position" it got stuck in "Working...".
Code:
Disconnected
Stopped
Starting robot driver: C:/RoboDK/api/robot/KawasakiDriver.py
Starting...
Python version
3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]
sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0)
RoboDK Driver for kawasaki v1.0.1
Disconnected
Sending command...
Connecting to robot IPADDRESS:PORT
Working...
Robot Name TCP as@IPADDRESS PORT
Not connected
Not connected
Ready
Sending command...
Working...
Sniffing the TCP connection with Wireshark shows RoboDK logs in, runs command 'type""'. And when I press "Get Position" RoboDK gives the command "WHERE 1" and the Robot returns the joint value and it keeps on going. As is expected. "WHERE 1" will continue to give you the JOINT values until the client presses ENTER.
A cleaned up version of the TCP communication:
Code:
Robot: login:
Client: as
Robot: This is AS monitor terminal "AUX5"
Client: type ""
Client: WHERE 1
The rest is from the robot:
Joint value
JT1 JT2 JT3 JT4 JT5 JT6
109.412 68.660 -56.637 0.071 -64.624 0.340
109.412 68.660 -56.637 0.071 -64.624 0.340
109.412 68.660 -56.637 0.071 -64.624 0.340
109.412 68.660 -56.637 0.071 -64.624 0.340
109.412 68.660 -56.637 0.071 -64.624 0.340
109.412 68.660 -56.637 0.071 -64.624 0.340
109.412 68.660 -56.637 0.071 -64.624 0.340
109.412 68.660 -56.637 0.071 -64.624 0.340
109.412 68.660 -56.637 0.071 -64.624 0.340
109.412 68.660 -56.637 0.071 -64.624 0.340
109.412 68.660 -56.637 0.071 -64.624 0.340
109.412 68.660 -56.637 0.071 -64.624 0.340
(etc. One line every second)
And "Send program to robot" fails silently.
Anyway, I think I'm done for now. I dont have the time. Good luck @dennisgt I your problem is going to get solved