14
For example, if Line1 is used as the input source of direction A, then connect A+ to the red
line (Line1+), connect A- to the black line (Line1-). If Line2 is used as the input source of
direction B, then connect B+ to the blue line (Line2+), and connect B- to the orange line
(Line2-).
2.
Click
RotaryEncoderSelector
to select an encoder.
3.
Click
RotaryEncoderLineSelector
to select the encoder phase.
Select line of rotary encoder. You can select from
PhaseA
and
PhaseB
. This parameter
influences the forward and reverse direction of the movement platform.
4.
Click
RotaryEncoderMode
to set the encoder direction.
ForwardOnly
and
AnyDirection
are available. When the trigger signal reaches the defined
line height, a frame of image will be triggered.
ForwardOnly
: Images will be generated when the encoder rotates forward. When it
rotates in reverse, the number of reverse signals will be displayed in
RotaryEncoderReverseCounter
. When it rotates forward continuously, the reverse
count will decrease, and an image will be generated when the count reduces to zero,
eliminating dithering.
The value of
RotaryEncoderReverseCounterMax
must be greater than the maximum
of actual reverse signals; otherwise, the dithering will fail.
AnyDirection
: Images will be generated when the encoder rotates in any direction.
Encoder trigger mode
Figure 3-16
Advantages of encoder trigger:
The output signal frequency of the encoder is proportional to the speed of the object, ensuring
that the signal frequency is synchronized with the speed of the object's movement.
The output pulse is used as the trigger signal of the line scan camera to synchronize the
acquisition frequency of the camera with the movement speed of object.
Images can be captured normally in the scene of non-uniform motion.
When objects jitter in the application environment, set
RotaryEncoderMode
to
ForwardOnly
to eliminate the image impact caused by jitter.