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
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