Phaser

Names

Description

MLPhaInit

Initializes a phaser Pipe Block.

MLPhaReadActPhase

Gets the actual phase value of a phaser block.

MLPhaReadPhase

Gets the phase value of a phaser block.

MLPhaReadSlope

Gets the phase slope value of a phaser block.

MLPhaWritePhase

Sets the phase value of a phaser block.

MLPhaWriteSlope

Sets the phase slope value of a phaser block.


  • There is a delay when using an external encoder.
    The delay is five cycles:
         2 cycles to read the encoder from the AKD via EtherCAT,
         1 cycle for computing,
         2 cycles for sending the new position set point to the AKD).
    This lag error is speed proportional (5 cycles * speed).
    A Phaser block can be used to compensate for this lag.

Purpose

Parameters

Examples: Phaser Function

Associated Data

  • OutputValue: Output value of the data flows.
  • IsReady: Boolean set to TRUE when the pipe block is ready.