Product description 2.1.2 Remote station monitoring via ARP The EAP is based on the connection-less protocols (Ethernet protocol and UDP/IP). These protocols do not return acknowledgements for messages. The TwinCAT EAP device uses the Address Resolution Protocol (ARP) for remote terminal monitoring, in order to enable the sender of an EAP telegram to detect that the receiver is no longer available. The ARP Retry Interval can be used in an EAP Publisher to configure the time frame for checking whether the receiver is still accessible. Remote terminal monitoring ( Subscriber Monitoring ) can only be enabled if a unicast connection is configured.
If Subscriber Monitoring is enabled, the Publisher sends an ARP Request telegram to the configured target device, based on the configured time interval. If the receiver still operates as expected, it responds with an ARP reply telegram. Otherwise there is no response. In the diagnostic variable FrameState (see Publisher), the third bit (0x0004) is set in the event of an error. ARP handling The ARP handling for assigning MAC addresses to network addresses (IP addresses) is treated by the operating system (Windows). The ARP handling for assigning MAC addresses to AMS NetIDs is handled by the TwinCAT system.
2.1.3 EAP send mechanism Sending of an EAP telegram is triggered based on a trigger mechanism. The configuration of an EAP device is used to determine how this trigger mechanism works. For each TxData a trigger condition is defined. If this trigger condition is met, TxData are sent via an EAP telegram. In other words: In each EAP device, trigger conditions are used for each TxData to configure the operation of the trigger mechanism. There are 5 different types of trigger conditions, which are described here. Superposition of trigger conditions The explanations of the individual trigger conditions indicate which other trigger conditions need to be deactivated.
In other words, which conditions are not allowed in combination. The example further below shows that several active trigger conditions mutually overlap. How they overlap is not clearly defined. It is therefore advisable to disable all trigger conditions that are not permitted. 1. Poll Request Rx PD The trigger condition Poll Request Rx PD controls the sending of a response telegram in Polled Data Exchange mode (see section Communication methods [ } 10] ). Once a TxData has a valid entry for the trigger condition Poll Request Rx PD , the respective TxData operates in this mode. A valid entry is present, if it matches the object index of an RxData configured in the EAP device.
This RxData then defines the expected request for returning the TxData as response. When the EAP device receives an EAP telegram containing the expected process data , in the next cycle the TxData is returned in a new EAP telegram to the sender of the request telegram. Consequently, the EAP device serves as Polled Data Exchange server for this TxData , when the trigger condition Poll Request RxData is enabled. All other conditions (2 to 5) have to be disabled, if the Poll Request Rx PD condition is enabled. 2. Divider/Modulo A Divider/Modulo condition is used to specify the frequency with which a TxFrame or a TxData is sent (see illustration below).
The frequency is always a multiple of the task cycle time driving the EAP device. The divider value defines the multiple. The Modulo value specifies the start cycle at which the TxFrame or the TxData is sent for the first time. If the Divider has the value 0, this condition is disabled. Conditions 3, 4 and 5 are not relevant if the Divider/Modulo condition is enabled; they should TE1000 13 Version: 1.7.1