beckhoff TE1000 — 2.2.1 EAP telegram structure

Product description The Process Data Frame Header The Process Data Frame Header consists of five fields (see lines 2 and 3 in the illustration above). The latter field (EAP SM) extends the NWV telegram of twincat 2 with regard to contents.This field contains among other things information about the current state of the EAP device. Publisher ID The sender of a telegram is identified on the basis of the Publisher ID. It contains the AMS NetID of the sender. If a receiver is configured so that it only processes telegrams from a certain sender, a check is carried out on the basis of the Publisher ID field as to whether the EAP telegram originated from this sender.

Cnt PDO This field contains the number of ProcessData contained in the telegram, so that the receiver can fully process the telegram. Cycle The value of this field is incremented with each task cycle of the sender. On the receiving side the contents of this field can be used as a sequential number in order, for example, to check whether a telegram has been lost. This field should be monitored on the server side in Polled Data Exchange mode. Res reserved for future extensions. EAP SM This field is composed of 4 subentries. Res: reserved for future extensions. Toggle: This bit is toggled for each new EAP telegram. Err:

This field indicates whether an error has occurred with the EAP State Machine. State: This field contains the value for the current state of the EAP State Machine. 1 : Init 2 : Pre-Operational 4 : Safe-Operational 8 : Operational Values other than these are not allowed The PDO Header The PDO Header consists of 4 fields, each of which has a data length of 2 bytes (see lines 3 and 4 in the illustration above). PD ID The PD ID (16-bit) serves as the global identification of the EAP variables and should be unique in the network.

Selection of the ProcessData Identifier (PD ID) In order to achieve unambiguous allocation we recommend using different IDs for each data communication between connected PCs. Reason : In the following illustration, PC 2 in Box 2 (Subscriber) receives not only the intended variables as Box 2 (Publisher) with the ID 8 from PC 1 , but also, since they are sent as a broadcast(!), the variables from Box 2 (Publisher) from PC 3. It is then no longer possible to make a distinction in PC 2 ! TE1000 18 Version: 1.7.1