4

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.

The term local PLC is used here to identify the clientPLC-the PLC that initiates the communications request.

The term SRTP Serveris used here to identify the Host server.

 

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

4-18

TCP/IP Ethernet Communications User's Manual ± January 1996

GFK-1004B

Page 106
Image 106
GE GFK-1004B user manual Send Information Report, Example Command Block