4

Example:

In the following example, the offsets have been set up as described in the table below.

_____

 

%T0003

%Q0003

—— ———

SER_——————————————————————————————————————————————————————————( )—

 

BIT

 

%T0001

 

——/———R

 

 

%T0002

 

—— ———T

 

_____

 

%R0100

 

For the sake of example, assume that the system has a 16-point discrete input in rack 0 slot 4, has been executing for long enough that 572 samples (512 + 60) have been taken, and that the Enable boolean input is receiving power flow but the Reset and Trigger boolean inputs are not.

Offset

Register

Parameter Description

Value (dec)

Value (hex)

 

 

 

 

 

0

%R0100

Status:

2

0002

 

 

 

 

 

1

101

Status Extra Data:

1

0001

 

 

 

 

 

2

102

Trigger mode:

0

0000

 

 

 

 

 

3

103

Trigger Time Format:

0

0000

 

 

 

 

 

4

104

Reserved:

0

0000

 

 

 

 

 

5

105

Reserved:

0

0000

 

 

 

 

 

6

106

Reserved:

0

0000

 

 

 

 

 

7

107

Reserved:

0

0000

 

 

 

 

 

8

108

# of channels:

24

0018

 

 

 

 

 

9

109

# of samples to be taken:

512

0200

 

 

 

 

 

10

110

# of samples after trigger:

12

000C

 

 

 

 

 

11

111

Input module slot:

4

0004

 

 

 

 

 

12

112

Data Block Segment Selector:

8

0008

 

 

 

 

 

13

113

Data Block Offset:

200

00C8

 

 

 

 

 

14

114

Channel description 1:

 

 

 

 

Seg. Sel. : Length

17921

4601

 

 

 

 

 

15

115

Offset

0

0000

 

 

 

 

 

16

116

Channel description 2:

 

 

 

 

Seg. Sel. : Length

-253

FF03

 

 

 

 

 

17

117

Offset

0

0000

 

 

 

 

 

18

118

Channel description 3:

 

 

 

 

Seg. Sel. : Length

3

0003

 

 

 

 

 

19

119

Offset

12

0012

 

 

 

 

 

20

120

Channel description 4:

 

 

 

 

Seg. Sel. : Length

18434

4802

 

 

 

 

 

21

121

Offset

8

0008

 

 

 

 

 

4-120

Series 90-30/20/Micro Programmable Controllers Reference Manual–September 1998

GFK-0467K

Page 201
Image 201
GE 90-30/20/Micro manual Example, Offset Register Parameter Description Value dec Value hex