使用photoeyes的blocked procedure和cleared procedure,例如: & L& I8 j% W5 y5 Y0 ?begin Conveyor.Photoeyes1 blocked procedure " z5 N( [( g& s if the load color = red then begin ) a' M6 Z2 L# S$ y travel to ........; U9 K [+ w) p1 G( H0 B+ ?
end2 c) ~. I: w, `( |- L$ g) q
end 5 i1 A/ D& y$ U6 K