I have a problem about pickandplace robot in plant simulation.
I want to use a global variable(tag1) to control the pickandplace robot's motion.For exmple,when tag1=false,the robot stop immediately ,no matter what motion it is doing.When tag1=true, the robot start to do the motion remainly.
How to write the code in simtalk?
Solved! Go to Solution.
Thank you for your reply.I have solved my problem.And you provide some new ideas for me.Thank you.
There is other problem,in this model, I find that the robot rotate itself to take MU from a singleproc to another singleproc ,no matter whether it collides with other thing.It is very terrible,do you have any way to solve this problem?
double click the icon of the robot to open its dialog and just define a blocking angle. From now on, the robot can not turn in the direction of the blocking angle. This can be used to define obstacles for the robot.