Work with a sensor——革命制度党ntable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API) +——线程:使用一个传感器(/Thread-Work-with-a-sensor) |
Work with a sensor-Tadeas-03-17-2020 Hi, I would like to ask you how to work properly with the sensor (Sensor SICK WL4S). I created a program with a sensor attached to a conveyor that detects components. How to write a program using Python which, when it detects a part, stops the conveyor and starts the program where I programmed the robot path. RE: Work with a senzor-Jeremy-03-18-2020 Hi Tadeas, The project you can find in this thread should help you://www.sinclairbody.com/forum/Thread-Continuous-Part-Generator (It was not the main subject of the threat though.) Jeremy RE: Work with a senzor-Kevin-03-18-2020 (03-18-2020, 01:14 PM)Jeremy Wrote:Hi Tadeas, Jeremy, I have the same problem. In the reference file, the conveyor keeps moving despite of part being detected. I tried to stop it using if sensor.Collision(part) >0, con.moveJ([0]), but it didn't work. Kev |