GE GFK-1004B Manuel D’Utilisation

Page de 268
4
4-18
TCP/IP Ethernet Communications  User’s Manual – January 1996
GFK-1004B
Send Information Report  (2010)
The Send Information Report COMMREQ requests that a particular block of memory
within the PLC CPU reference tables be transferred periodically from an Ethernet
Interface (SRTP Client) to a Host Application SRTP Server.  The Command Block
specifies the repetition period, the number of transfers to the server to perform, and the
timeout allowed in waiting for each transfer to complete.  The first send is performed
immediately, regardless of the period specified.
Example Command Block
Establish a channel (channel 7) to a remote Host application server at IP address 3.0.0.1.
Return the COMM_REQ Status word to %R10.  Send local PLC registers %R50–%R57 to
remote host.  Repeat the send 10 times once every 7 seconds with a timeout of 500 ms
for each read.
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
Dec     (Hex)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
Word 1
ÁÁÁ
ÁÁÁ
00017
ÁÁÁÁ
ÁÁÁÁ
(0011)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Length of Send Information Report Data Block (17 words)
ÁÁÁÁ
ÁÁÁÁ
Word 2
ÁÁÁ
ÁÁÁ
00000
ÁÁÁÁ
ÁÁÁÁ
(0000)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Always 0 (no–wait mode request)
ÁÁÁÁ
ÁÁÁÁ
Word 3
ÁÁÁ
ÁÁÁ
00008
ÁÁÁÁ
ÁÁÁÁ
(0008)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Memory type of CRS word (%R)
ÁÁÁÁ
Word 4
ÁÁÁ
00009
ÁÁÁÁ
(0009)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
CRS word address minus 1 (%R10)*
ÁÁÁÁ
ÁÁÁÁ
Word 5
ÁÁÁ
ÁÁÁ
00000
ÁÁÁÁ
ÁÁÁÁ
(0000)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Reserved
ÁÁÁÁ
ÁÁÁÁ
Word 6
ÁÁÁ
ÁÁÁ
00000
ÁÁÁÁ
ÁÁÁÁ
(0000)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Reserved
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
Word 7
ÁÁÁ
ÁÁÁ
ÁÁÁ
02010
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
(07DA)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Send Information Report Channel Command number
ÁÁÁÁ
Word 8
ÁÁÁ
00007
ÁÁÁÁ
(0007)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Channel number (7)
ÁÁÁÁ
ÁÁÁÁ
Word 9
ÁÁÁ
ÁÁÁ
00010
ÁÁÁÁ
ÁÁÁÁ
(000A)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Number of repetitions (send 10 times)
ÁÁÁÁ
ÁÁÁÁ
Word 10
ÁÁÁ
ÁÁÁ
00003
ÁÁÁÁ
ÁÁÁÁ
(0003)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Time units for send period (3=seconds)
ÁÁÁÁ
ÁÁÁÁ
Word 11
ÁÁÁ
ÁÁÁ
00007
ÁÁÁÁ
ÁÁÁÁ
(0007)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Minimum interval between host accesses (every 7 seconds)
ÁÁÁÁ
ÁÁÁÁ
Word 12
ÁÁÁ
ÁÁÁ
00050
ÁÁÁÁ
ÁÁÁÁ
(0032)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Timeout on each individual transfer response (500 ms)
ÁÁÁÁ
ÁÁÁÁ
Word 13
ÁÁÁ
ÁÁÁ
00008
ÁÁÁÁ
ÁÁÁÁ
(0008)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Local PLC CPU - memory type from which to send data (%R)
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
Word 14
ÁÁÁ
ÁÁÁ
ÁÁÁ
00050
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
(0032)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Local PLC CPU - starting address from which to send data (%R50)
 
ÁÁÁÁ
ÁÁÁÁ
Word 15
ÁÁÁ
ÁÁÁ
00008
ÁÁÁÁ
ÁÁÁÁ
(0008)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Local PLC CPU - number of memory units (8 registers)
ÁÁÁÁ
ÁÁÁÁ
Word 16
ÁÁÁ
ÁÁÁ
00000
ÁÁÁÁ
ÁÁÁÁ
(0000)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Reserved
ÁÁÁÁ
ÁÁÁÁ
Word 17
ÁÁÁ
ÁÁÁ
00000
ÁÁÁÁ
ÁÁÁÁ
(0000)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Reserved
ÁÁÁÁ
ÁÁÁÁ
Word 18
ÁÁÁ
ÁÁÁ
00001
ÁÁÁÁ
ÁÁÁÁ
(0001)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
SRTP Server Host Address Type (IP Address)
ÁÁÁÁ
ÁÁÁÁ
Word 19
ÁÁÁ
ÁÁÁ
00004
ÁÁÁÁ
ÁÁÁÁ
(0004)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
SRTP Server Host Address Word Length (4)
ÁÁÁÁ
ÁÁÁÁ
Word 20
ÁÁÁ
ÁÁÁ
00003
ÁÁÁÁ
ÁÁÁÁ
(0003)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
SRTP Server Host Address Data Word 1 (3)
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
Word 21
ÁÁÁ
ÁÁÁ
ÁÁÁ
00000
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
(0000)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
SRTP Server Host Address Data Word 2 (0)
ÁÁÁÁ
ÁÁÁÁ
Word 22
ÁÁÁ
ÁÁÁ
00000
ÁÁÁÁ
ÁÁÁÁ
(0000)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
SRTP Server Host Address Data Word 3 (0)
ÁÁÁÁ
ÁÁÁÁ
Word 23
ÁÁÁ
ÁÁÁ
00001
ÁÁÁÁ
ÁÁÁÁ
(0001)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
SRTP Server Host Address Data Word 4 (1)
* Word 4 (CRS word address) is the only zero–based address in the Command Block.
   Only this address requires subtracting 1 from the intended address.
(Word 7) Channel Command Number: 
 Word 7 requests that a Send Information Report
channel be set up.  If the command is processed successfully, it will result in attempting
the specified number of transfers from the client to the server.
(Word 8) Channel Number:
 
 Word 8 specifies the channel to be used for the send. This
value must be in the range of 1 to 16. If the channel is out of range, a command error
The term local PLC is
used here to identify the
client PLC
-the PLC
that initiates the
communications
request.
The term SRTP
Server
 is used here to
identify the Host
server
.