disabling the path of conveyor when sensor signal is turned ON

Hello everyone,
How can I disable the path of the conveyor or stop the conveyor only when the product reaches to the sensor of the conveyor and the sensor is triggered and then the path is disabled?
Looking for some solutions. Regarding this matter.

I think you use the sensor conveyor component.
There should be exist a component property “OnSensor”.
Change it to “StopConveyor”:

grafik

by doing that it will stop permanently and i guess i won’t be able to keep it moving again after sometimes automatically unless i put some kind of condition in python script. Can you suggest?

You can set StartStop-Signal on True