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

Writing messages using RunMessage() to UR5 Teach Pendant

#2
You can do the following:
robot.RunInstruction("Your popup message (pause execution)", INSTRUCTION_SHOW_MESSAGE)

More information here:
//m.sinclairbody.com/doc/en/PythonAPI/robo...nstruction

the robot variable can also be a program generated using AddProgram.

So you can do things like:
program.RunInstruction('Setting the spindle speed', INSTRUCTION_COMMENT)
program.RunInstruction('SetRPM(25000)', INSTRUCTION_INSERT_CODE)
program.RunInstruction('Done setting the spindle speed. Ready to start!', INSTRUCTION_SHOW_MESSAGE)
program.RunInstruction('Program1', INSTRUCTION_CALL_PROGRAM)


确保更新RoboDK has been improved recently:
//m.sinclairbody.com/download


Messages In This Thread
RE: Writing messages using RunMessage() to UR5 Teach Pendant - byAlbert- 05-03-2018, 10:56 PM



Users browsing this thread:
1 Guest(s)