EPICS TwinCAT-ADS
Getting started
Requirements
Build
Link the module to your IOC
Configure the PLC route to your IOC host
Method 1 — TwinCAT systray (remote desktop)
Method 2 — StaticRoutes.xml
Method 3 — TwinCAT XAE
Verifying the route
IOC configuration
Startup script
iocsh
commands
adsAsynPortDriverConfigure
adsSetLocalAddress
adsPollInfo
Records
Link syntax
Options
Special symbols
Data types
Scalars
Arrays
Strings
Common patterns
Plain input (notification driven)
Write-only output
Output with readback
Output with polled readback (recommended for slow control)
Fast values with explicit sample and delay times
Periodic scan instead of
I/O
Intr
Exposing the timestamp as a string
Notifications, polling and timestamps
When to use which
Choosing parameters
A measured example
Timestamps
Troubleshooting
Connection supervision
Monitoring the PLC state from EPICS
Bulk read statistics
asyn tracing
Common problems
Release notes
Release v2.2.1 (2026-08-06)
Release v2.2.0 (2026-06-09)
Release v2.1.3 (2025-11-06)
Release v2.1.2 (2025-09-11)
Release v2.1.1 (2025-09-02)
Release v2.1.0 (2020-01-23)
Release v2.0.2 (2020-01-23)
Older releases:
Licence
Third-party components
EPICS TwinCAT-ADS
Index
Edit on GitHub
Index