The commreq function block – GE 90-30 PLC User Manual

Page 39

Advertising
background image

3

3-6

TCP/IP Ethernet Communications User’s Manual - August 1997

GFK-1084B

Section 2: The COMMREQ Function Block and Command Block

This section describes the programming structures common to all Communications
Requests: the COMMREQ Function Block and the Command Block.

The COMMREQ Function Block

The Communications Request is triggered when the logic program passes power to the
COMMREQ Function Block. For the Series 90-30 PLC, the COMMREQ Function Block
has four inputs and two outputs:

(Enable )

––––––––––––––

COMM

REQ

(Command Block Pointer)

(Rack/Slot Location of
the Ethernet Interface)

(Always zero)

00000000

IN FT

SYSID

TASK

– Function Faulted (logic)

Each of the inputs and the output are discussed in detail below. It is important to under-
stand that the Command Block pointer points to the location in memory you are using
for the Command Block.

Enable:

Control logic for activating the COMMREQ Function Block. See Section 5 and

Appendix D for tips on developing your program.

IN:

The location of the Command Block. It may be any valid address within a word-ori-

ented area of memory (%R, %AI, %AQ, %P, or %L).

SYSID:

A hexadecimal value that gives the rack (high byte) and slot (low byte) location

of the Ethernet Interface.

Examples:

Rack

Slot

Hex Word Value

0

4

0004h

3

4

0304h

2

9

0209h

4

2

0402h

Advertising