Reputation: 11
I've tried to read the information of an EtherCAT slave device from ADS server with TcAdsClient.ReadAny()
method but couldn't. Below is the prototype of the method. I don't know what to use for indexGroup
and indexOffset
for "Manufacturer Device Name" at index 0x1008
(see attached image). Any suggestion to point me into the right direction would be appreciate.
public Object ReadAny(
uint indexGroup,
uint indexOffset,
Type type
)
Best,
Hoai
I don't know if this is the right way to get that information or not but I could communicate to the EtherCAT slave and access its read/write registers in "Config Mode" without any issue using ADS .NET interface as described above. I don't want to use PLC program because I don't want to get into "Run Mode" with TwinCAT.
Upvotes: 1
Views: 356