Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

INTP-311 (RDK_S3, 507) Uninitialized dat

#4
(08-19-2021, 01:29 PM)Phillip Wrote:The current implementation of the driver errors out when the socket is disconnected, so it errors out at the end when robodk and by extension the driver is closed.

Many thanks! This is confirmed!

By the way, may I drive your attention to this thread//m.sinclairbody.com/forum/Thread-online-p...49#pid5149.

It seems a problem for at least three users in this forum.

问题是:

How to call external programs/macros in the robot controllers from RoboDK?

I have tried the following code without success:

Code:
connection = robot.ConnectSafe()

rdk.setRunMode(robolink.RUNMODE_RUN_ROBOT)
program = rdk.AddProgram('Program')
program.setRunType(robolink.PROGRAM_RUN_ON_ROBOT)

# I expect this line set R[52]=6, but it does not
program.RunInstruction('Program(6)', robolink.INSTRUCTION_CALL_PROGRAM)

Best,
Agajan


Messages In This Thread
再保险:INTP-311 (RDK_S3, 507) Uninitialized dat - bytorayeff- 08-19-2021, 01:39 PM



Users browsing this thread:
2 Guest(s)