Product description order in the RxPDO must be identical to the TxPDO of the Publisher variable . The Subscriber variable thus defines an object on the receiving side, for which a matching Publisher variable must be defined on the sender side, in order for data exchange to take place. Due to the design of the EtherCAT Automation Protocol, for a Subscriber it is irrelevant from which sender the received data originate. In particular, it is irrelevant which Publisher variables are sent within a frame. For this reason the Subscriber has no frame element or similar, which would consolidate certain Subscriber variables as a unit, so that they would only be received en bloc.
Nevertheless, RxData offers an option to define an AMS NetID as a filter address, in cases where a Subscriber should only receive the Publisher variables of a certain sender. In this case, at least the following properties must be defined for a Subscriber variable : ID : The ID of a Subscriber variable defines which Publisher variable should receive it. The ID is a number, which should be unique for each Publisher variable across the whole network. It is used to identify the Publisher variable at the receiving end. Link to a process variable : Finally, using a Subscriber variable only makes sense if it is linked to a process variable.
Only then will the received data actually be applied by the process variable and taken into account in the machine control. In addition, the data length of the Subscriber variable must be identical to data length of the Publisher variable . Otherwise the received Publisher variable is discarded. 2.1.1 Communication methods The TwinCAT EAP device supports two communication types: cyclic process data communication (EtherCAT type 4), and acyclic EtherCAT mailbox communication (EtherCAT type 5). For mailbox communication, the TwinCAT EAP device only supports the AoE protocol (AoE – ADS over EtherCAT).
The specification of the AoE protocol is described in the EtherCAT Protocol Enhancements (ETG 1020). For process data communication, a distinction is made between two communication modes: Pushed Data Exchange mode, in which an EAP sender sends its process information to the network either cyclically or when a change in status is detected, and an EAP receiver expects this process information and receives it accordingly. This mode corresponds to the Publisher/Subscriber principle of the network variables (NWV) of TwinCAT 2.
Polled Data Exchange mode, in which an EAP client sends a request telegram with its process information to an EAP server, which then sends its process information back to the EAP client in a response telegram. In addition, the TwinCAT EAP device supports different connection types and different addressing modes during process data communication. The supported connection types are: Unicast : The EAP message is sent from one end point to another end point, in other words: the message is addressed to precisely one PC. Multicast : The EAP message is sent from one end point to several other end points, in other words: the message is addressed to a group of PCs. Broadcast :
The EAP message is sent from one end point to all accessible end points, in other words: the message is addressed to all devices. TE1000 10 Version: 1.7.1