PSO Transformation Functions

Optional Purchase Necessary: On some Aerotech drives, more than one transformation module is a paid option because your drive must support two and three dimensional PSO distance tracking. Review your ordering information to see the number of dimensions that your drive supports.

The PSO Transformation module has up to four transformation channels, which let you do simple mathematical operations on two feedback sources. The output of each transformation channel can then be selected as an input to the PSO Distance and PSO Window modules. You can also select each transformation channel output as an input to another transformation channel.

Configuring the Transformation Module

HARDWARE: When you specify the input to PSO as primary or auxiliary feedback, the drive that you use with PSO will only support encoders that give you incremental feedback. This condition applies to the PsoDistanceConfigureInputs(), PsoTransformationConfigure(), and PsoWindowConfigureInput() functions.

Table: Supported Feedback Types

Input (Enum Values) Feedback Type Encoder Multiplier Options
IncrementalEncoderSquareWave Primary Encoder multiplier options do not apply.
Auxiliary Encoder multiplier options do not apply.
IncrementalEncoderSineWave Primary -MX2, -MX3, and -MX4 (for XR3 drives only)
Auxiliary -MX4 (for XR3 drives only)
AbsoluteEncoderEnDatwithSineWaveIncremental Primary -MX2, -MX3, and -MX4 (for XR3 drives only)
AbsoluteEncoderBiSSwithSineWaveIncremental Primary -MX2, -MX3, and -MX4 (for XR3 drives only)

Use the PsoTransformationConfigure() function to specify the source of the feedback signals that you want the module to transform and the transformation functions that you want to apply on the specified feedback signals. Automation1 supports up to four transformation channels. Use the PsoTransformationConfigure() function arguments to specify the transformation components:

  • $transformationChannel - selects the transformation output channel

  • $inputA and $inputB - selects the feedback signals to transform

  • $transformationFunction - specifies the function to apply on the inputs

function PsoTransformationConfigure($axis as axis, $transformationChannel as integer, $inputA as PsoTransformationInput, $inputB as PsoTransformationInput, $transformationFunction as PsoTransformationFunction)

Configures a PSO input transformation channel.

Arguments

$axis  The axis on which to configure the transformation channel.

$transformationChannel  The transformation channel to configure.

$inputA  The first input to the transformation.

$inputB  The second input to the transformation.

$transformationFunction  The function of the transformation.

Use the PsoTransformationInput enumeration to select the PSO transformation inputs for your drive.

Use the PsoTransformationFunction enumeration to select the transformation function for the inputs.

Enabling the PSO Transformation Module

Use the PsoTransformationOn() function to enable a transformation channel. Each PSO Transformation module channel is disabled by default, even if you issue the PsoTransformationConfigure() function.

function PsoTransformationOn($axis as axis, $transformationChannel as integer)

Enables a PSO input transformation channel.

Arguments

$axis  The axis on which to enable the transformation channel.

$transformationChannel  The transformation channel to enable.

Use the PsoTransformationOff() function to disable the transformation channel.

function PsoTransformationOff($axis as axis, $transformationChannel as integer)

Disables a PSO input transformation channel.

Arguments

$axis  The axis on which to disable the transformation channel.

$transformationChannel  The transformation channel to disable.