21 Appendix
(2) C1.prg
21-116 Chart of sample program
C1.prg
Start
out of
Check the
range
model number
inside of
range
out of
Check the
range
encorder number
inside of
range
Ten time loop
Clear the global
variable data
Acquire encoder data
( first time )
Acquire the workpiece
suction position
Acquire encoder data
(second time)
Store the acquiring
data in a global
variable
C1.prg
End
Error output
( 9102 )
Error output
( 9103 )