-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beckhoff: switch to using AdsDriver #7522
Comments
PRs for this- i propose that we switch from tcioc to adsdriver as it seems to work well and does not rely on the TPY file. Below should be a drop-in replacement for using tcioc, instead of using a tpy file we now just have a template file for each axis. ioc: ISISComputingGroup/EPICS-ioc#760 |
As a developer I would like to try and use https://github.com/Cosylab/adsDriver as a replacement for tcioc as this means we can avoid having to use a TPY file/fixed PLC memory addresses and instead use some sort of mapping file to just serve the PLC vars we need.
The TPY file has given us grief a few times, i spent ages (more than a whole week) trying to figure out why it wasn't working when working on #6097 so decided to give AdsDriver a try. It has proved to work fairly well against the PLC in r106 as well as a local PLC after a fix which has been submitted upstream. Overall AdsDriver is much simpler as it is only really doing 1 thing (serving ADS vars) rather than 3 (parsing a TPY, mapping these to epics types, then serving them ads read/write)
Acceptance criteria
The text was updated successfully, but these errors were encountered: