使用photoeyes的blocked procedure和cleared procedure,例如:" |& r; }5 w& Z Q* u% t
begin Conveyor.Photoeyes1 blocked procedure1 ]3 l9 u' W: x- t5 V1 Z6 D
if the load color = red then begin! I& S0 z7 ^ d7 u9 }/ X) r
travel to ........ B8 }: v9 R; g8 t" l$ }; J H end ) C/ _/ c3 P- w) u+ G& Iend * i2 H \4 m7 u9 t5 @6 e