PSO Output Functions

The PSO Output module allows you to select which internal PSO signal to drive onto the physical output of the drive. You can select a variety of signals, including the PSO Pulse waveform, the PSO Window module output, or the PSO Bit module active bit. The PSO Output Module also allows you to specify conditions to mask the output. Finally, the module also allows you to specify which physical drive output pin the PSO output should utilize.

Configuring the Output Pin

Use the PsoOutputConfigureOutput() function to select which physical output of your drive to use. If your drive has a single dedicated PSO output pin, the PSO Output module will always drive that pin, regardless of the output pin you select with this function. In this case, you can use this function to specify an additional output pin to use. Each PSO output pin has a maximum switching frequency. For more information, refer to the hardware manual for your drive.

function PsoOutputConfigureOutput($axis as axis, $output as PsoOutputPin)

Selects the output pin on which to drive the PSO output.

Arguments

$axis  The axis on which to select the PSO output pin.

$output  The selected output pin.

Use the PsoOutputPin enumeration to select the PSO output pin for your drive.

Configuring the Output Source

By default, the PSO Output module drives the selected physical output to its inactive state. Use the PsoOutputConfigureSource() function to select which PSO signal to drive onto the output. Specify the desired output by selecting the appropriate option of the PsoOutputSource enumeration. After you select a valid output source, the PSO Output module will drive the physical output to the state of the selected PSO signal.

function PsoOutputConfigureSource($axis as axis, $outputSource as PsoOutputSource)

Selects which internal PSO signal to drive onto the output pin.

Arguments

$axis  The axis on which to select the PSO output source.

$outputSource  The selected output source.

Overriding the Output

You can use the PsoOutputOn() function to immediately drive the selected physical output to the active state. You can also use the PsoOutputOff() function to immediately drive the selected physical output to the inactive state. Once you use either of these functions, the PSO Output module requires you to use the PsoOutputConfigureSource() function again if you want to output a PSO signal to the physical outputs.

function PsoOutputOn($axis as axis)

Immediately activates the PSO output.

Arguments

$axis  The axis on which to activate the PSO output.

function PsoOutputOff($axis as axis)

Immediately deactivates the PSO output.

Arguments

$axis  The axis on which to deactivate the PSO output.

Data Collection Sync Pulse

The data collection sync pulse generates a 50% duty cycle pulse that is synchronized with data collection. This pulse can be used to configure an external measurement instrument to sample at the same time as data collection on the drive.

To enable the data collection sync pulse, use PsoOutputConfigureSource() to configure the data collection sync pulse as the PSO output source. Use PsoOutputConfigureOutput() to select the output pin that you want the output pulse to go to.