使用photoeyes的blocked procedure和cleared procedure,例如:0 l; W1 \& S1 {6 G: A( a
begin Conveyor.Photoeyes1 blocked procedure+ @7 R" U/ Q8 y5 M( a5 R3 U# D
if the load color = red then begin0 o% T* _ f2 k3 Z0 c# X6 k
travel to ........ 0 V% G3 B1 Z4 y3 l end3 `0 M# j/ m0 S r" x% u
end $ s/ t1 ~- m! S3 E$ L: k