I use simulink to link to TwinCAT3.01. System target I choose "TwinCAT.tlc" and I access the ADS to work varibles.
My model runs correct, but cannot generate the code I want.
When I click on generate code it gives an error "Unable to retrieve the current TwinCAT version via ADS. ADS error...