Hi,
I'm working with an Epson robot. I'm using the the connect to Robot feature with the EpsonDriver.py on RoboDK.
When I initially press Connect I get this error:
When I go into Command and click Reset, the robot shows ready, but if I use any other command I get an error like this
I'm using the remote ethernet connection in RC5.0+ with the CRLF terminator. I looked inside the EpsonDriver.py file and it have the CRLF labelled as default.
RoboDK is able to ping the controller. When I try "Send program to Robot", it says "No connection could be made because the target machine actively refused it". This program works when I export it and put it directly into the RC5.0+ software.
The reason I'd like to be able to connect directly from RoboDK is that I'd like to be able to program the robot from Python so I can use a Raspberry Pi as a vision system.
I think it may be a driver issue because of all the errors that are thrown. I made the .robot file myself using a step file and the manual, as well as copying the existing Epson G6-651s in the RoboDK library.
If anyone has any experience with these issues I'd appreciate any help. Let me know if there's any more details I can give that would be helpful.
Best wishes,
Kilian
Epson-G6-451s_Fixed_Base.robot (Size: 690.93 KB / Downloads: 17)
I'm working with an Epson robot. I'm using the the connect to Robot feature with the EpsonDriver.py on RoboDK.
When I initially press Connect I get this error:
Code:
Connecting to robot 192.168.1.5:5000
Unexpected length of status_flags (10, expected 10) or error_code (4, expected 4Code:
Custom command: POWER LOW
Sending command...
Waiting...
Unexpected error: Traceback (most recent call last):
Unexpected error: File "C:\RoboDK\api\robot\EpsonDriver.py", line 34, in <module>
Unexpected error: RunMain()
Unexpected error: File "C:\RoboDK\api\robot\EpsonDriver.py", line 1845, in RunMain
Unexpected error: File "C:\RoboDK\api\robot\EpsonDriver.py", line 1384, in RunDriver
Unexpected error: File "C:\RoboDK\api\robot\EpsonDriver.py", line 1719, in RunCommand
Unexpected error: File "C:\RoboDK\api\robot\EpsonDriver.py", line 1033, in set_low_power
Unexpected error: File "C:\RoboDK\api\robot\EpsonDriver.py", line 590, in execute
Unexpected error: File "C:\RoboDK\api\robot\EpsonDriver.py", line 470, in get_status
Unexpected error: File "C:\RoboDK\api\robot\EpsonDriver.py", line 168, in __init__
Unexpected error: ValueError: Unexpected length of status_flags (10, expected 10) or error_code (4, expected 4"I'm using the remote ethernet connection in RC5.0+ with the CRLF terminator. I looked inside the EpsonDriver.py file and it have the CRLF labelled as default.
RoboDK is able to ping the controller. When I try "Send program to Robot", it says "No connection could be made because the target machine actively refused it". This program works when I export it and put it directly into the RC5.0+ software.
The reason I'd like to be able to connect directly from RoboDK is that I'd like to be able to program the robot from Python so I can use a Raspberry Pi as a vision system.
I think it may be a driver issue because of all the errors that are thrown. I made the .robot file myself using a step file and the manual, as well as copying the existing Epson G6-651s in the RoboDK library.
If anyone has any experience with these issues I'd appreciate any help. Let me know if there's any more details I can give that would be helpful.
Best wishes,
Kilian
Epson-G6-451s_Fixed_Base.robot (Size: 690.93 KB / Downloads: 17)

