Chapter 6. Programming EGD Commands
GFK-2224Q
January 2017
97
(Word 7) EGD Command Number:
Word 7 requests that a read PLC memory operation occur. If the command
is processed successfully, it will result in PLC reference memory data being retrieved from the server to the
client.
(Word 8) Command Retry Time:
Word 8 specifies the time (in milliseconds) the Ethernet Interface will wait
between retries when transferring the command. A total of four tries will be made to send the command. If no
response is received after the four tries (i.e. after four times the retry time value), an error status will be returned
in the COMMREQ status word. If the command retry is specified as zero, the default value of one second is used.
(Word 9) Local PLC - Memory Type:
Words 9-11 specify the location in the local PLC where the Ethernet
Interface will store data received from the remote PLC. Valid values for Word 9 are listed below. The amount of
data to be transferred is specified by the number of memory units of the data read from the remote PLC (Word
15).
Type
Value (Decimal)
Description
%W
196
Word memory (word mode)
%R
8
Register memory (word mode)
%AI
10
Analog input memory (word mode)
%AQ
12
Analog output memory (word mode)
%I
16
70
Discrete input memory (byte mode)
Discrete input memory (bit mode)
%Q
18
72
Discrete output memory (byte mode)
Discrete output memory (bit mode)
%T
20
74
Discrete temporary memory (byte mode)
Discrete temporary memory (bit mode)
%M
22
76
Discrete momentary internal memory (byte mode)
Discrete momentary internal memory (bit mode)
%SA
24
78
Discrete system memory group A (byte mode)
Discrete system memory group A (bit mode)
%SB
26
80
Discrete system memory group B (byte mode)
Discrete system memory group B (bit mode)
%SC
28
82
Discrete system memory group C (byte mode)
Discrete system memory group C (bit mode)
%S
30
84
Discrete system memory (byte mode)
Discrete system memory (bit mode)
%G
56
86
Discrete global data table (byte mode)
Discrete global data table (bit mode)
(Words 10 - 11) Local PLC - Memory Starting Address:
Words 10 and 11 determine the starting address in the
local PLC in which the data from the remote PLC is to be stored. The value entered is the 32-bit offset (1-based)
from the beginning of PLC memory for the memory type and mode specified in Word 9. Word 10 contains the
least significant 16 bits of the offset; word 11 contains the most significant 16 bits of the offset. This offset will
be either in bits, bytes, or words depending on the mode specified. (For example, if Word 9=16 and Words 10,
11 = 2, 0 then the starting address will be %I9.) Valid ranges of values depend on the PLC’s memory ranges.
The user is responsible for assuring that this area is large enough to contain the requested data without
overwriting other application data.
(Word 12) Remote PLC - Memory Type:
Words 12–14 specify the memory type and starting address in the
remote PLC from which the data is to be read. Valid values for Word 12 are listed above.
14
%W memory is supported on PACSystems clients and servers only.
15
Read-only memory, cannot be written to.
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: ......