Appendix | Appendix C: Network variables Basic principles of Beckhoff network variables Quality : Time in [100 µs] by which this NWV arrived too late at the publisher. Referred arrival location: Input process image of the TwinCAT system Referred arrival time: Time that the input image will be loaded in the next cycle, The displayed "delay" is determined in such a finely scaled manner because the NWV management is managed directly by the I/O driver, independent of the cycle. Regardless of this, the data of an NWV that arrived too late by a few percent of the cycle time is only taken into account in the next task cycle when the input process image is read. EL6601/EL6614:
Even when using the EL66xx, the arrival time of the NWV is when the data is present in the input process image of the RT device, not when it arrives at the EL66xx or in the input image of the EtherCAT device. Variable ID The variable ID (16-bit) is used for global identification of the individual process data – therefore an ID may not be used more than once within a TwinCAT device in the publisher or subscriber group, see Fig. 2: Publisher 1 and 2 on PC1 must have different IDs (10 and 8), but both Publisher 2 and Subscriber 1 may have ID = 8. In order to achieve unambiguous allocation we recommend using different IDs for each data transmission between connected PCs. Justification: In Fig.
2, PC2/Subscriber2 not only receives the designated ID=8-variable from PC1/Publisher2, but, since it is sent as a broadcast (!), it also receives the NWV from PC3/Publisher1. Differentiation is then no longer possible in PC2. Cycle Index The 16-bit cycle index is a counter sent by the publisher together with the data. It is generally incremented with each transmission and can therefore be used as an indicator for flawless transfer. It is generally incremented with each transmission and can therefore be used as an indicator for flawless transfer. It can be read on the subscriber side as CycleIndex . Its occurrence differs depending on the publisher platform: - Publisher on a PC:
the variable CycleIndex is not visible and is automatically incremented cyclically by the System Manager - Publisher on an EL66xx: the variable CycleIndex is visible and must be incremented/operated by the user so that it is not equal to 0 on the subscriber side. TwinCAT 2 434 Version: 1.7