Basler raL2048-48gm User Manual Page 155

  • Download
  • Add to my manuals
  • Print
  • Page
    / 238
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 154
AW00118302000 Acquisition Control
Basler racer GigE 145
Case 2
In this case, assume that:
A shaft encoder is attached to a conveyor belt that normally moves continuously in the forward
direction past a camera.
The conveyor occasionally "jitters" and when it jitters, it moves in reverse for 4 or 5 ticks.
For this case, the Shaft Encoder Module Mode parameter should be set to Forward Only. The Shaft
Encoder Module Reverse Counter Max should be set to a value that is higher than the jitter we
expect to see. We decide to set the value to 10.
Given this situation and these settings, the series of diagrams below explains how the encoder
software module will act:
By suppressing trigger signals when the conveyor was moving in reverse and then suppressing an
equal number of trigger signals when forward motion is resumed, we ensure that the conveyor is in
its "pre-jitter" position when the module begins generating trigger signals again.
Note in step two that if the conveyor runs in reverse for a long period and the reverse counter
reaches the max setting, the counter simply stops incrementing. If the conveyor continues in
reverse, no output triggers will be generated because the Shaft Encoder Mode is set to Forward
only.
1
Camera
The conveyor is moving forward and the
encoder is generating forward ticks.
Whenever the module receives a
forward tick, it outputs a trigger signal.
The reverse counter is at 0.
Forward
2
Camera
The conveyor jitters and moves briefly in reverse.
During this reverse movement, the shaft encoder
generates 5 reverse ticks.
The reverse counter will increment by 1 for each
reverse tick and when the reverse motion stops, the
reverse counter count will be 5.
While the reverse counter is incrementing, the output
of trigger signals from the module is suppressed.
Reverse
3
Camera
Forward
The conveyor resumes forward motion and the shaft
encoder module begins generating forward ticks.
The reverse counter will decrement by 1 for each
forward tick. While the reverse counter is
decrementing, the output of trigger signals from the
module is suppressed.
When the reverse counter decrements to 0,
decrementing stops and suppression of the trigger
signals stops. The module will begin outputting a
trigger signal for each forward tick received.
Page view 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 237 238

Comments to this Manuals

No comments