Skip to content

Add position compare output#248

Draft
MarkRivers wants to merge 5 commits intomasterfrom
add_position_compare_output
Draft

Add position compare output#248
MarkRivers wants to merge 5 commits intomasterfrom
add_position_compare_output

Conversation

@MarkRivers
Copy link
Copy Markdown
Member

This adds the modifications to the asynMotorController and asynMotorAxis base classes to support position compare output (PCO). This is a feature supported by a number of controllers to output pulses at specific distance intervals over a specified window while the motor moves. The Aerotech, Newport XPS, Galil, and ACSMotion controllers support this capability.

To use this feature drivers need to implement the virtual function asynMotorAxis::enablePCO.

The Aerotech Automation1 driver currently implements this on its add_position_compare_output branch.

@MarkRivers MarkRivers marked this pull request as draft March 21, 2026 21:53
@MarkRivers
Copy link
Copy Markdown
Member Author

This implements the functionality described in #230

@MarkRivers
Copy link
Copy Markdown
Member Author

This is a screenshot of the medm screen for configuring PSO on one axis. This is a working example from the Automation1 driver on the add_position_compare_output branch

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants