Cnv_AdjustGet Function

Returns the follow-up delay offset value for conveyor tracking.

Syntax
Cnv_AdjustGet(conveyorNumber, modeNumber)

Parameters

conveyorNumber
Specify the conveyor number as an expression or a number (1-16).
modeNumber

  • 0: Offset acquisition result
  • 1: Offset amount
  • 2: Offset time

Return Values

  • modeNumber0: Returns a real number between 0 and 2.
    • 0: Offset value acquisition action not performed
    • 1: Offset value acquired
    • 2: Failed to acquire offset value
  • modeNumber 1: Returns a real number (unit: mm).
  • modeNumber 2: Returns a real number (unit: seconds).

Description
If the follow-up delay offset value for conveyor tracking has not been acquired using the Cnv_Adjust statement and the Cnv_QueGet function, the return value for each mode number (0 to 2) will be “0”.

Note


This command will only work if the Conveyor Tracking option is active.


See Also
Cnv_Adjust, Cnv_AdjustSet, Cnv_AdjustClear, Cnv_QueGet function

Cnv_AdjustGet Function Example

Print Cnv_AdjustGet(1, 1)