4

COMMREQ Status Word: The Ethernet Interface updates the CRS word to show success or failure of the command. Command words 3 and 4 specify the PLC memory location of the CRS word.

(Word 3) COMMREQ Status Word Pointer Memory Type: This word specifies the memory type for the CRS word. The memory types are listed in the table below.

Type

Value

Value

Description

 

(Decimal)

(Hex.)

 

%R

8

08h

Register memory (word mode)

%AI

10

0Ah

Analog input memory (word mode)

%AQ

12

0Ch

Analog output memory (word mode)

%I

16

10h

Discrete input memory (byte mode)

 

70

46h

Discrete input memory (bit mode)

%Q

18

12h

Discrete output memory (byte mode)

 

72

48h

Discrete output memory (bit mode)

%T

20

14h

Discrete temporary memory (byte mode)

 

74

4Ah

Discrete temporary memory (bit mode)

%M

22

16h

Discrete momentary internal memory (byte mode)

 

76

4Ch

Discrete momentary internal memory (bit mode)

%G

56

38h

Discrete global data table (byte mode)

 

86

56h

Discrete global data table (bit mode)

(Word 4) COMMREQ Status Word Pointer Offset: This word contains the offset within the memory type selected. The status word pointer offset is a zero-basednumber.For ex- ample, if you want %R1 as the location of the CRS word, you must specify a zero for the offset. The offset for %R100 would be 99. Note, however, that this is the only zero- based field in the Channel commands.

For information on the contents of the COMMREQ Status word, see Section 4.

(Word 5): Reserved. Set to zero.

(Word 6): Reserved. Set to zero.

(Words 7 - 31) Data Block: The Data Block defines the Channel command to be per- formed. For information on how to fill in the Channel command information, see Sec- tion 3.

4-8

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

GFK-1004B

Page 96
Image 96
GE GFK-1004B user manual Type Value Description Decimal Hex