The CANopen object dictionary 6.2 The TwinCAT ADS interface to the EAP device The TwinCAT EAP device provides a TwinCAT ADS/AMS interface for other communication partners (e.g. virtual field devices or Windows programs) and acts as an ADS/AMS server. ADS stands for Automation Device Specification. It describes a device- and fieldbus-independent interface. AMS stands for Automation MessageSpecification and enables central and decentral systems to be addressed, such as PCs or bus controllers. ADS/AMS was specified by Beckhoff and is supported by the TwinCAT router. Messages that are sent in a network beyond the computer boundaries are transferred via TCP/IP .
The CANopen communication channel SDO ( Service Data Object ) can also be used via this interface. The primary purpose of the SDOs is to read and write the parameters of the CANopen Object Dictionary ( OD ). The transmission of the SDOs takes place as a confirmed data transfer in the form of a point-to-point connection between two communication partners and is embedded in ADS: Using the ADS Read or ADS Write commands on the port 0xFFFF and the NetID of the EAP device ("Protocol" tab), the parameters, or the SDO description of the CANopen OD respectively, are read or written. As listed in the table, the communication channel CANopen SDO is embedded in the ADS protocol as follows:
TE1000 67 Version: 1.7.1 Index Name Meaning Data type Flags Default E002+n*4:0 Number of used Elements Number of entries in the RxPD Info object UINT8 RW 0x06 (6 ) dec E002+n*4:01 Image Config Coding indicating which input/output variables of the process image belong to this object Lo-Word = Input process image Bit 0 = 1: State Hi-Word = output Process image Bit 0 = 1: Control / Cycle Index Bit 1 = 1:
ProcessData ID UINT32 RO 0x00010001 (65537 ) dec E000+n*4:02 Control Offset Byte offset within the output process image UINT32 RO - E002+n*4:03 State Offset Byte offset within the input process image UINT32 RO - E002+n*4:04 ID Offset Byte offset within the output process image UINT32 RO - E002+n*4:05 Quality Offset Byte offset within the input process image UINT32 RO - E002+n*4:06 Cycle Index Offset Byte offset within the input process image UINT32 RO -