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

Insert instruction code not sent in Run On Robot mode

#13
Yes, this is possible, you should be able to send a program ID that you'll receive in the driver script. However, you should customize your driver script.

More specifically, you should customize the MSG_RUNPROG section of the UR side of the driver given the number of the program name:

Code:
elif mtype == MSG_RUNPROG:
prog_num = socket_read_binary_integer(1)
prog_name = socket_read_string()
如果prog_num = = 1:
Program1()
elif prog_num == 2:
Program(2)
end
break


Messages In This Thread
RE: Insert instruction code not sent in Run On Robot mode - byAlbert- 07-09-2020, 01:09 PM



Users browsing this thread:
1 Guest(s)