Commreq Status For The Egd Commands; Commreq Status Values - GE RX3i User Manual

Pacsystems
Hide thumbs Also See for RX3i:
Table of Contents

Advertisement

Enable: Control logic for activating the COMMREQ Function Block.
IN: The location of the Command Block. The Command Block contains the parameters of the COMMREQ
request. It can be located at any valid address within a word-oriented memory area (%R, %AI, %AQ, %P, %L, or
%W) in the PACSystems PLC. Parameters for the EGD commands are described on the following pages.
SYSID: A hexadecimal word value that gives the rack (high byte) and slot (low byte) location of the Ethernet
Interface. For example, an Ethernet Interface in rack zero, slot six would use the value 6 for this parameter. For
the PACSystems CPU embedded Ethernet interface, enter the rack/slot location of the CPU module.
TASK: For the PACSystems CPU embedded Ethernet interface, Task must be set to the value 65536 (10000H) to
address the CPU's Ethernet daughterboard. For a PACSystems Ethernet module, Task must be set to zero.
FT Output: The FT output is set if the PLC CPU is unable to deliver the COMMREQ to the Ethernet interface.
When the FT output is set, the Ethernet Interface is unable to return a COMMREQ status word to the PLC logic
application.

COMMREQ Status for the EGD Commands

6.4
Words 3 and 4 of every COMMREQ Command Block specify a memory type and location to receive status
information about the execution of the command.
Word 3 specifies the memory type for the COMMREQ status word. The memory types are listed in the table
below:
Value
Type
(Decimal)
%R
8
%AI
10
%AQ
12
%I
16
70
%Q
18
72
%T
20
74
%M
22
76
%G
56
86
%W
196
Word 4 of the COMMREQ Command Block specifies the offset within the memory type selected. The status
word address offset is a zero-based number. For example, if %R1 should be the location of the status word,
you must specify a zero for the offset. The offset for %R100 would be 99 decimal. (When using %W memory,
the maximum offset value that can be entered is 65535, signifying %W65536.)

COMMREQ Status Values

The Ethernet Interface reports the status of the COMMREQ back to the status location. See Chapter 12,
Diagnostics, for COMMREQ status values that may be reported for the EGD commands.
GFK-2224Q
Value
(Hex.)
08H
Register memory (word mode)
0AH
Analog input memory (word mode)
0CH
Analog output memory (word mode)
10H
Discrete input memory (byte mode)
46H
Discrete input memory (bit mode)
12H
Discrete output memory (byte mode)
48H
Discrete output memory (bit mode)
14H
Discrete temporary memory (byte mode)
4AH
Discrete temporary memory (bit mode)
16H
Discrete momentary internal memory (byte mode)
4CH
Discrete momentary internal memory (bit mode)
38H
Discrete global data table (byte mode)
56H
Discrete global data table (bit mode)
C4H
Word memory (word mode; limited to %W1-%W65536)
January 2017
Chapter 6. Programming EGD Commands
Description
95

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx7i

Table of Contents