Skip to content

Conversation

@MaikTheWay
Copy link

Install twincat-ads separating modules and IOC

  • Recursive clone of twincat-ads to include Beckhoff ADS sources (download/binary doesn't bring this submodule).
  • Split twincat into two folders: ads-modules (modules) and ads-ioc (example IOC), and adapt configure/RELEASE (-include).

Copy link
Contributor

@gustavosr8 gustavosr8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please squash 36dbfda in the one adding those lines.

You can rewrite your branch history to accomplish this.

@gustavosr8
Copy link
Contributor

Github dropped some of my review comments 🫠. Will try to remember then again.

@gustavosr8
Copy link
Contributor

In 1a125c6:

I think that this commit can be split in two: The first one adding the module and the second one adding the new IOC image.
The one adding the image could absorb the changes from 48b607e. Also, please refer to a previous commit adding new IOC images so you don't forget any step. For reference: eb29d7a

Marcos Alcino Ribeiro Cussioli added 2 commits October 28, 2025 09:18
Add twincat-ads repository and separate modules from the example IOC.

- Clone twincat-ads recursively to include the BeckhoffADS submodule (traditional download .tar.gz does not contain this submodule).
- Split repository into two folders:
  - ads-modules: EPICS modules (libraries)
  - ads-ioc: minimal example IOC
- The twincat-ads repo does not provide the standard IOC layout (configure/, Makefile, iocBoot/), so a minimal example IOC is generated with makeBaseApp.pl.
- Copy compiled modules and startup scripts from ads-modules into ads-ioc to produce a buildable IOC and avoid EPICS build errors.

This keeps the module sources intact while providing a consistent, EPICS-compatible IOC structure.
Add related files for the TwinCAT ADS IOC.
@henriquesimoes
Copy link
Collaborator

As we discussed in depth in person, we'd like to move forward a more generic and reusable manner of dealing with IOCs inside epics-in-docker; especially in this case where the upstream doesn't provide a standard example IOC.

I'm marking this PR as draft until we can tackle such improvements (in another PR), which would be directly applicable for this module's IOC.

@henriquesimoes henriquesimoes marked this pull request as draft October 28, 2025 16:18
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.

4 participants