APX-3302 User's Manual (OM110000019A)
-71 -
6.11
Encoder operation method
APX-3302 has three kinds of encoder operation methods. Each method is explained.
6.11.1 Relative position encoder
Relative position encoder is the mode suitable for the Web inspection using Line camera, etc.
It performs 1 line-scan every time the encoder proceed fixed distance.
It generates a coincidence pulse by using 32-bit counter, Comparison Register 1 (delay pulse configuration)
and Comparison Register 2 (Length between coincidence pulses).
Coincidence pulse will be used as trigger generation factor in the internal circuit.
The relationship of pulse number, count value and coincidence pulse is as follows.
Figure6-29: Relative position encoder
Configure Comparison Register 1 to the number of delay pulses from start capturing to the first scan.
Configure Comparison Register 2 to the interval of line-scan.
Configure trigger for starting count. (Start with external trigger or Z phase, CPU)
Encoder count will be started after finishing configuration above.
Value of Comparison register 1
This value will be reset when encoder pulse
number equal to this value.
Value of Comparison register 2
This value will be reset when
encoder pulse number equal to
this value.
Time
Counter value
Coincidence pulse
Содержание APX-3302
Страница 1: ...APX 3302 User s Manual ...