Escolar Documentos
Profissional Documentos
Cultura Documentos
Introduction
EGD is a communication protocol based on Ethernet data packages that are sent
perodically by one device (the producer) and received by one or more other devices (the
consumers). These data packages are referred to as exchanges.
EGD is based on Internet Protocol and is ‚connection less’. That is, unlike other typical
communication protocols, reception of data exchanges is not acknowledged.
The advantage of this concept is reduced overhead-, and network bandwith utilization.
A simple EGD communication between two or more devices (targets) requires at least a
produced exchange to send data from one device, and one or more corresponding
consumed exchanges to receive this same data on other devices.
Each device can however produce and consume multiple exchanges (to-, or from multiple
other devices) at the same time.
EGD Configuration
EGD is configured in Machine Edition by adding an EGD component to a target and
setting up produced and consumed exchanges as required by the application.
Communication takes place automatically without any application program intervention.
Exchange Status
The status word is not part of the exchange data and does not count towards the exchange
data length.
Exchange Timestamp
Intelligent EGD producers (PLC- CPU, or ENIU) automatically add a timestamp to each
exchange before sending it to a network interface. Each consumed exchange data
definition includes an 8 Byte timestamp. This field may be left unused (default) or
mapped to PLC memory. The receiving CPU automatically extracts the timestamp from
the exchange into this memory location. An application can e.g. read the timestamp to
determine whether the exchange contains actual data.
The time stamp is not part of the exchange data and does not count towards the exchange
data length.
Exchange Properties / Communication Parameters
The following section describes communication parameters common to EGD exchange
configuration on all GE Fanuc products.
Please note: As far as not marked different, these parameters appear in the properties of
both, produced and consumed exchanges. Within Machine Edition configuration, the
parameters do not necessarily appear in the order given below.
1)
(Local) Producer ID
The Producer ID also appears in each consumed exchange configuration and must match
the Local Producer ID of the exchange that is to be received.
1)
Exchange ID
Adapter Name
Designates the Ethernet interface that is to produce / consume an exchange. This setting
is of special interest in systems with more than one Ethernet interface.
• On PAC Systems, the Ethernet adapter (ETM) is specified by it’s Rack.Slot
location.
• On 90-70 PLCs, the Ethernet adapter (CMM742) is specified by it’s name as
configured in the hardware configuration of the module.
• On 90-30 and VersaMax PLCs, Adapter Name can only refer to the Ethernet
daughterboard of a CPU.
A device can receive multicast exchanges that are directed to different groups. I.e. A
device can virtually belong to several groups.
2)
When sending I/O data from a controller to intelligent devices like a 90-30 ENIU or an RX3i
ENIU, the controller can send data for a whole group of devices within one exchange in
Multicast mode. The individual ENIUs are configured to receive the complete exchange and only
use their relevant data portion.
Usually, one large exchange in Multicast mode should be preferred and adds less load to the
network than many small exchanges in Unicast mode.
The time interval at which an exchange is sent on the network. A shorter production
period will typically add more load to the network. Therefore, it is a good practice to not
3)
produce exchanges faster than really needed by an application.
3)
On a controller, data from incoming (consumed) and outgoing (produced) exchanges is
transferred to the CPU at the end of the actual scan.
Appropriately, there is no benefit in producing any exchange to-, or from a controller faster than
the actual CPU scan time. This will rather result in stale data exchanges that add unnecessary
load to the network.
Only exception are 90-70 CMM742 and 90-30 CPU364. For these two modules the
Consumed Period is editable and should be set equal to the Produced Period in the
corresponding produced exchange.
The time interval at which an exchange is to be received before a refresh error is declared
in the exchange status data. This interval should be set to twice the Produced Period in
the corresponding produced exchange.
Monitoring Communication (Exchange Status)
An application can monitor the exchange status word of a produced-, or consumed
exchange to determine health of the communication.
Most common status values during normal operation are listed in the tables below. There
are more status values available that would mainly indicate configuration mismatches or
system / network errors. They may differ dependent on product line and can be read in
the controller specific TCP/IP manuals listed at the end of this document.
Consumer Status
Proper (and timely) reception of data can be monitored through the consumed exchange
status word.
Status Description
1 Data has been received within the update timeout period
6 Update timeout expired and no data has been received
7 Data has been received, but not within the update timeout period
Producer Status
Since there is no acknowledgement for data reception, a produced exchange status can at
most indicate proper production, but there is no indication that the exchange is received
at the consumer.
Status Description
1 Data has been sent correctly within the production period
References