Product description 2 Product description The EtherCAT Automation Protocol (EAP) device enables the cyclic, highly deterministic exchange of any desired variables between PCs that are connected by Ethernet. Communication between EAP devices takes place according to the Publisher/Subscriber principle and is specified by the EtherCAT Technology Group (ETG) (ETG 1005 – see webpage www.ethercat.org ). The real-time Ethernet driver for TwinCAT must be installed for the TwinCAT EAP device in order for highly deterministic communication to take place.
Comparison with TwinCAT 2 network variables The TwinCAT EAP device is based on the network variables (NWV) familiar from TwinCAT 2 and contains some extensions. Among other things the EAP telegram also slightly expands the NWV telegram. However, this expansion concerns only the contents of the telegram. The structure of the EAP telegram remains identical to the NWV telegram. For this reason network variables are compatible with the EtherCAT Automation Protocol and vice versa. Further details concerning EAP communication between TwinCAT 2 and 3 can be found in chapter EAP between TwinCAT 2 and 3 [ } 50] .
Requirements The full functional scope of the TwinCAT EAP device as described in this documentation is available from TwinCAT version 3.1 (build 4018.13) or higher. 2.1 Basic principles The TwinCAT EAP device enables data transfer from any variables from a TwinCAT controller A to a TwinCAT controller B via a network. These variables are typically used for controlling the processing operation within a machine. They are therefore also referred to as process variables ( PV ). For a TwinCAT EAP device, sending and receiving can take place via a standard network adapter, which is supported by the TwinCAT real-time Ethernet driver.
The communication between EAP devices takes place based on the Publisher/Subscriber principle. The senders, referred to as Publishers, send messages to all or several network devices; as a rule, a Publisher does not know the receivers or whether a receiver exists at all. On the other side there are receivers, referred to as Subscribers, which are interested in certain messages and receive these, without knowing from which Publisher they originate or whether such a Publisher exists at all. Structure of an EAP Publisher An EAP Publisher consists of a number of nested elements, as illustrated in the following figure. The basic element at the lowest level is a TxVariable .
It defines an output variable, which is linked to a process variable and has several further properties, such as a data type. The data type can be freely selected; it may be a complex data type, with a size of several hundred bytes. It should be ensured that the maximum size of an EAP frame is not exceeded (the size of an EAP frame corresponds to that of a standard Ethernet frame). If the size of the standard Ethernet frame is exceeded, several packages are sent, which can also arrive at the recipient in a different order. In TwinCAT 3.1 Build 4024, splitting into several packages is not supported. An error message appears during engineering.
During operation, the process variable provides the values to be sent by the Publisher. TE1000 8 Version: 1.7.1