RobotStudio event

Simulation for SearchL\Stop

Hello

I have a SearchL\Stop command in my rapid program to move object until it reaches laser sensor, and robot stop moving
i created a line sensor in simulation, but problem is robot keeps moving and crosses line sensor, i have to keep triggering the active signal on and off,
so that the sensor out signal turns on at the exact time object reaches laser.

This is the rapid command i need to simulate
SearchL\Stop,I23_Laser,sp1,Offs(pmess1,20,0,0),v50,gripper\WObj:=Laser_tcp;

can someone point me in the right direction so that sensor out signal turns on automatacly when object reaches laser?

Best regards

Answers

  • Hello!

    I usually sets a signal from the robot to deactivate and activate the line sensor at the beginning of the program. 

    Make sure the startpoint of the line sensor is outside the graphic of the part you are searching for and that the stoppoint is inside when the robot moves over.

    /Erik