(Word 4) COMMREQ Status Word Address Offset:
(Word 3) COMMREQ Status Word Memory Type:
COMMREQ Status Word:

4

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.

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)

This word contains the offset within the

memory type selected. The status word address offset is a zero-based number. For example, 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 decimal. Note, however, that this is the only zero-based field in the Channel commands.

(Word 5): Reserved. Set to zero.

(Word 6): Reserved. Set to zero.

(Words 7 and up) Data Block: The Data Block defines the Channel command to be performed. For information on how to fill in the Channel command information, see the next section.

GFK-1541B

Chapter 4 Programming Modbus/TCP Channel Commands

4-7

Page 122
Image 122
GE GFK-1541B manual Type Value Description Decimal Hex