Originally developed for use with EEE (ESS EPICS Environment). Can also be compiled unde for "normal" EPICS
git clone --recursive https://github.com/EuropeanSpallationSource/epics-twincat-ads
TwinCAT plc source example can be found in TwinCAT/demo_project/
Start EPICS ioc with: iocsh adsOnlyIO.cmd iocsh adsMotorRecord.cmd
Start EPICS ioc with (E3): iocsh.bash adsOnlyIO.cmd iocsh.bash adsMotorRecord.cmd iocsh.bash adsMotorRecordOnly.cmd
Contact: [email protected]
See issue: Beckhoff/ADS#98
For TwinCAT release 4024 the ADS route needs to be added manually (dialog not working) by adding:
<Route>
<Name>epics</Name>
<Address>192.168.114.129</Address>
<NetId>192.168.114.129.1.1</NetId>
<Type>TCP_IP</Type>
<Flags>32</Flags>
</Route>
Note: Update with correct address and NetId..
to the static route file on the target cpu:
C:\TwinCAT\3.1\Target\StaticRoutes.xml