Basler raL2048-48gm User Manual Page 153

  • Download
  • Add to my manuals
  • Print
  • Page
    / 238
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 152
AW00118302000 Acquisition Control
Basler racer GigE 143
int64_t encodercounterSize = Camera.ShaftEncoderModuleCounter.GetValue();
// Reset the shaft encoder module counter and the shaft encoder module re-
verse counter
Camera.ShaftEncoderModuleCounterReset.Execute( );
Camera.ShaftEncoderModuleReverseCounterReset.Execute( );
For detailed information about using the pylon API, refer to the Basler pylon Programmer’s Guide
and API Reference.
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon Viewer, see Section 3.1 on page 23.
For more information about the line start trigger, see Section 8.2.4 on page 87.
The Reverse Counter
The main purpose of the reverse counter is to compensate for mechanical "jitter" in the conveyor
used to move objects past the camera. This jitter usually manifests itself as a momentary change
in the direction of the conveyor.
The rules that govern the operation of the reverse counter are as follows:
If the conveyor is running in the reverse direction and the current reverse counter count is less
than the maximum (i.e., less than the current setting of the Reverse Counter Max parameter),
the reverse counter will increment once for each shaft encoder reverse tick received.
If the conveyor is running in the forward direction and the current reverse counter count is
greater than zero, the reverse counter will decrement once for each shaft encoder forward tick
received.
When the Shaft Encoder Mode is set to Forward Only:
If the reverse counter is not incrementing or decrementing, the software module will output
a trigger signal for each forward tick received from the shaft encoder.
If the reverse counter is incrementing or decrementing, trigger signal output will be
suppressed.
When the Shaft Encoder Mode is set to Any Direction:
If the reverse counter is not incrementing or decrementing, the software module will output
a trigger signal for each forward tick or reverse tick received from the shaft encoder.
If the reverse counter is incrementing or decrementing, trigger signal output will be
suppressed.
To understand how these rules affect the operation of the encoder software module, consider the
following cases:
Page view 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 237 238

Comments to this Manuals

No comments