(3) CM1.prg
CM1.prg
Start
Processing for acquiring
required data
Workpiece position writing
processing
CM1.prg
End
<Data acquisition>
Start
The data acquired with program
A.prg and C.prg is acquired.
Calculate the workpiece
position (X,Y) when the sensor
is activated
<Data acquisition>
End
<Position data writing>
Start
Check the
photoelectronic sensor
ON
Acquire the encoder number
Write data to
the tracking buffer
Check the
photoelectronic sensor
OFF
<Position data writing>
End
Chart of sample program 21-117
21 Appendix
OFF
ON