beckhoff TE1000 — 2.2.1 EAP telegram structure

Product description Pre-Operational (Pre-Op) During the transition from Init to Pre-Op, the EAP device checks whether the mailbox was initialized correctly. In Pre-Op state, mailbox communication is possible, but not process data communication. Safe-Operational (Safe-Op) During the transition from Pre-Op to Safe-Op, the EAP device checks the internal object references and updates: the cycle time-based configuration parameters, the reference pointers to the input and output variables of the process image, and the mapping of each Publisher/Subscriber variables to its process variables from the PLC. In Safe-Op state, mailbox communication and sending of Publisher variables takes place.

No EAP telegrams are received yet. Operational (Op) During the transition from Safe-Op to Op , the EAP device checks once again whether an error has occurred during startup. In Op state the EAP device receives incoming EAP telegrams and copies the received process data to the input variables, if required. Mailbox communication takes place, Publisher variables are sent, and Subscriber variables are received. If an error occurs in one of the state transitions, the EAP device remains either in the last reached state, or it is reset to Safe-Op state. At the same time, the error bit and a corresponding error code are set (cf.

section The CANopen object dictionary [ } 52] in the documentation for the TwinCAT EAP device). Typical errors occur due to inconsistencies in the CANopen object dictionary, for example, so that the configuration is invalid. 2.2 Technical concept 2.2.1 EAP telegram structure An EAP telegram can be transmitted by Ethernet (Ethertype = 0x88A4, corresponds to the EtherCAT protocol) or by UDP/IP (UDP port 0x88A4). If EAP is based on the EtherCAT protocol, the EAP-specific telegram parts are embedded in the user data of the EtherCAT protocol. The EAP telegram consists of a Process Data Frame Header and one or more ProcessData (PD) . A PD is the main unit in the exchange of data via EAP.

A PD is composed of the so-called PDO Header and at least one Process Variable (PV). On the whole, the Process Variables of a PD form the ProcessDataObject (PDO) . See the following illustration. TE1000 17 Version: 1.7.1