Chapter 5. Ethernet Global Data
GFK-2224Q
January 2017
75
Unicast
Transitioning from a multicast or broadcast exchange to unicast production causes samples to be sent to a
single node. Thus the exchange will now only be visible to a single remote node and processed only if that
node contains a consumed exchange with matching Producer ID and Exchange ID.
5.4
Ethernet Global Data Timing
The Ethernet Interface and PLC CPU share internal memory for Ethernet Global Data operations.
CPU
ETHERNET
INTERFACE
SHARED
MEMORY
INTERNAL
MEMORY
NETWORK
Figure 37: Memory Sharing between PLC and Ethernet Interface
In the producing PLC, the CPU updates its shared internal memory with a data sample when requested by its
Ethernet Interface. The update affects the length of the PLC sweep only for that particular exchange; it has little
effect on the PLC average sweep time. When the Ethernet Interface’s producer period expires, it produces the
data sample from shared internal memory onto the network.
In a consuming PACSystems PLC, shared internal memory is updated as soon as the Ethernet Interface gets a
data sample from the network. There is no user-configurable consumer period. The CPU updates its reference
tables from shared internal memory at the end of the sweep after it is notified by the Ethernet Interface that
fresh data has arrived for a specific exchange. The data is made available to the application on the next PLC
sweep after it is received. Some other types of Ethernet Interfaces implement a consumption period timer.
EGD Synchronization
Ethernet Global Data attempts to provide the most up-to-date process data, consistent with the configured
schedule.
The Ethernet interface maintains a timer for each produced exchange. When the timer for the exchange
expires, the Ethernet interface requests that the data for the exchange be transferred from reference memory
during the output scan portion of the CPU sweep. At the output portion of the sweep, the CPU puts the data
into the shared memory. Once the data has been transferred by the CPU sweep, the Ethernet interface
immediately formulates a sample and transfers the sample on the network. (If updated data is not available at
the next production timer expiration, the Ethernet interface produces a sample containing the previous data to
the network.)
As soon as a sample for a consumed exchange is received, it is transferred to the CPU during the next input
scan portion of the CPU sweep.
The result of this scheduling method for Ethernet Global Data is a variability of up to one producer CPU sweep
time in the interval between samples produced on the network. This variability in the time between samples is
present to assure that the most up-to-date data is being transferred.
In general, it is not useful or necessary to configure the production period to be less than the CPU sweep time. If
the producer period for an exchange is set lower than the CPU sweep time, the Ethernet interface will send a
“stale” sample (a sample containing the same data as previously sent) at the configured interval. When the
fresh CPU data becomes available at the end of the sweep, the Ethernet interface will immediately send
another sample with the fresh data. The timer of the produced exchange is not reset when this sample is sent.
This can result in more samples in the network than would be expected from the configured period.
Summary of Contents for PACSystems RX7i
Page 45: ......
Page 80: ...Chapter 4 Configuration GFK 2224Q January 2017 67 ...
Page 81: ......
Page 122: ...Chapter 6 Programming EGD Commands GFK 2224Q January 2017 109 ...
Page 147: ......
Page 211: ......
Page 262: ...Chapter 13 Network Administration GFK 2224Q January 2017 249 ...
Page 263: ......