07-09-2020, 01:09PM
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:
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