A/B Trigger For Incremental Encoder - Photon Focus MV1-D1280-L01-1280-G2-12 User Manual

Mv1-d1280-l01 camera series cmos camera with gige interface
Table of Contents

Advertisement

5 Functionality

5.2.9 A/B Trigger for Incremental Encoder

An incremental encoder with A/B outputs can be used to synchronize the camera triggers to
the speed of a conveyor belt. These A/B outputs can be directly connected to the camera and
appropriate triggers are generated inside the camera.
The A/B Trigger feature is is not available on all camera revisions, see Appendix
B for a list of available features.
In this setup, the output A is connected to the camera input ISO_INC0 (see also Section 7.7.4
and Section A.1) and the output B to ISO_INC1.
In the camera default settings the PLC is configured to connect the ISO_INC inputs to the A/B
camera inputs. This setting is listed in Section 8.10.3.
The following parameters control the A/B Trigger feature:
TriggerSource Set TriggerSource to ABTrigger to enable this feature
ABMode Determines how many triggers should be generated. Available modes: single,
double, quad (see description below)
ABTriggerDirection Determines in which direction a trigger should be generated: fwd: only
forward movement generates a trigger; bkwd: only backward movement generates a
trigger; fwdBkwd: forward and backward movement generate a trigger.
ABTriggerDeBounce Suppresses the generation of triggers when the A/B signal bounce.
ABTriggerDeBounce is ignored when ABTriggerDirection=fwdbkwd.
ABTriggerDivider Specifies a division factor for the trigger pulses. Value 1 means that all
internal triggers should be applied to the camera, value 2 means that every second
internal trigger is applied to the camera.
EncoderPosition (read only) Counter (signed integer) that corresponds to the position of
incremental encoder. The counter frequency depends on the ABMode. It counts up/down
pulses independent of the ABTriggerDirection. Writing to this property resets the counter
to 0.
A/B Mode
The property ABMode takes one of the following three values:
Single A trigger is generated on every A/B sequence (see Fig. 5.18). TriggerFwd is the trigger
that would be applied if ABTriggerDirection=fwd, TriggerBkwd is the trigger that would be
applied if ABTriggerDirection=bkwd, TriggerFwdBkwd is the trigger that would be applied if
ABTriggerDirection=fwdBkwd. GrayCounter is the Gray-encoded BA signal that is shown as an
aid to show direction of the A/B signals. EncoderCounter is the representation of the
current position of the conveyor belt. This value is available as a camera register.
Double Two triggers are generated on every A/B sequence (see Fig. 5.19).
Quad Four triggers are generated on every A/B sequence (see Fig. 5.20).
.
56 of 139
MAN077 11/2017 V1.0

Advertisement

Table of Contents
loading

Table of Contents