使用photoeyes的blocked procedure和cleared procedure,例如:) E+ I/ o) |6 O( X9 Y* i
begin Conveyor.Photoeyes1 blocked procedure U9 w, S+ U1 n0 }
if the load color = red then begin( ^: V4 q7 J% |% a9 s; K
travel to ......... Y, }7 a4 x+ n: X
end / C9 G( Q8 w' ^3 a* ~end 5 C2 T' n1 W7 M7 Z- F. i