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

TMFlow Set Variable in RoboDK

#1
Hey there,

I'm attempting to set a digital output (DO) on an Omron TM5-900, at a midpoint on a line whilst the robot maintains constant velocity.

In TMFlow, I'm using 2 threads. One for movement of the robot, and another for tracking the condition of the digital output. The reasoning for this is the SetDO function on the robot takes a moment to execute, so the robot very briefly stops where it sets the DO. Alternately, I can use a SetVariable command, which is near-instantaneous and does not interupt the robot's motion.

How do I generate the SetVariable command using the Python API?

Bonus question: Is there a way in RoboDK to generate multiple TMFlow threads?

干杯!
Sean


Attached Files Thumbnail(s)



Messages In This Thread
TMFlow Set Variable in RoboDK - bySeanG- 02-24-2021, 12:12 AM
RE: TMFlow Set Variable in RoboDK - byJeremy- 02-24-2021, 03:08 PM
RE: TMFlow Set Variable in RoboDK - bySeanG- 02-28-2021, 10:40 PM
RE: TMFlow Set Variable in RoboDK - byJeremy- 03-01-2021, 06:18 PM



Users browsing this thread:
1 Guest(s)