The Festo_PartDetector.lib library
12
Input Type Description
InvertEncoderValue BOOL If this flag has the value TRUE, the encoder value is multiplied by
–1 during loading.
Example
If the conveyor moves in the direction in which the position value
of the camera is increased and the encoder value is reduced,
InvertEncoderValue = TRUE should be set.
Alternatively, a negative conversion factor
(IncToPosNum / IncToPosDenom) can also be selected.
ResetEncoder BOOL If there is a rising edge, the current encoder value of the encoder
card is set to the value EncoderResetValue. This is important in
order to synchronise all system components that work with the
encoder card signal.
EncoderResetValue DINT  ResetEncoder
1.6.4 Parameters for the graphical display of the conveyor
Note
These values are required solely for visualisation of the conveyor. The easiest way to determine
them is using the CheckOpti program. All values use the unit of the Compact Vision System
(e.g. mm).
Input Type Description
CamXPosMinValue LREAL Range of the field of vision in the operating direction of the
conveyor.
Default values:
– CamXPosMinValue: 0
– CamXPosMaxValue: 500
CamXPosMaxValue LREAL
CamYPosMinValue LREAL Range of the field of vision orthogonal to the operating direction of
the conveyor.
Default values:
– CamYPosMinValue: 0
– CamYPosMaxValue: 500
CamYPosMaxValue LREAL