This is the development version of the documentation. It may change before the next release. See 0.6.x for the latest release.
TwinCAT
TwinCATLink is a Link implementation that uses TwinCAT on Windows as the EtherCAT master.
Use it in a Windows environment where TwinCAT is already set up. For the TwinCAT setup procedure, see Installing TwinCAT.
It can also connect to a remote TwinCAT server via ADS.
TwinCATLinkOption::local();
TwinCATLinkOption::remote(addr, ams_net_id);TwinCATLinkOption.local()
TwinCATLinkOption.remote(addr, ams_net_id)TwinCATLinkOption.Local();
TwinCATLinkOption.Remote(addr, amsNetId);| Parameter | Type | Description |
|---|---|---|
addr |
IpAddr |
IP address of the remote TwinCAT server |
ams_net_id |
AmsNetId |
AMS Net ID of the remote TwinCAT server |
To specify timeouts, use *_with_timeouts.
The default is no timeout.