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.
enum PsoOutputPin
GL4None = 100 GL4LaserOutput0 = 101 XL4sNone = 102 XL4sLaserOutput0 = 103 XR3None = 104 XR3PsoOutput1 = 105 XR3PsoOutput2 = 106 XR3PsoOutput3 = 107 XC4DedicatedOutput = 108 XC4AuxiliaryMarkerDifferential = 109 XC4AuxiliaryMarkerSingleEnded = 110 XC4eDedicatedOutput = 111 XC4eAuxiliaryMarkerDifferential = 112 XC4eAuxiliaryMarkerSingleEnded = 113 XC6eDedicatedOutput = 114 XC6eAuxiliaryMarkerDifferential = 115 XC6eAuxiliaryMarkerSingleEnded = 116 XL5eDedicatedOutput = 117 XL5eAuxiliaryMarkerDifferential = 118 XL5eAuxiliaryMarkerSingleEnded = 119 XC2DedicatedOutput = 120 XC2eDedicatedOutput = 121 XL2eDedicatedOutput = 122 XI4DedicatedOutput = 123 iXC4DedicatedOutput = 124 iXC4AuxiliaryMarkerDifferential = 125 iXC4AuxiliaryMarkerSingleEnded = 126 iXC4eDedicatedOutput = 127 iXC4eAuxiliaryMarkerDifferential = 128 iXC4eAuxiliaryMarkerSingleEnded = 129 iXC6eDedicatedOutput = 130 iXC6eAuxiliaryMarkerDifferential = 131 iXC6eAuxiliaryMarkerSingleEnded = 132 iXL5eDedicatedOutput = 133 iXL5eAuxiliaryMarkerDifferential = 134 iXL5eAuxiliaryMarkerSingleEnded = 135 iXR3None = 136 iXR3PsoOutput1 = 137 iXR3PsoOutput2 = 138 iXR3PsoOutput3 = 139 GI4None = 140 GI4LaserOutput0 = 141 iXC2DedicatedOutput = 142 iXC2eDedicatedOutput = 143 iXL2eDedicatedOutput = 144 iXI4DedicatedOutput = 145 FLEXDedicatedOutput = 146 iFLEXDedicatedOutput = 147 XA4DedicatedOutput = 148 iXA4DedicatedOutput = 149 end |
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.
enum PsoOutputSource
Waveform = 1 WindowOutput = 2 WindowOutputInvert = 3 Bitmap = 4 DataCollectionSyncPulse = 5 end |
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.
*Go to the enum PsoOutputPin drop-down on this page to see the outputs for your drive.
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.