4

The Sequential Event Recorder function block is a 78-word array defining information about the data capture and trigger mechanism for the SER function. Perform these steps to configure parameters for the SER function block.

1.Set up the stored values for the array as defined in the table below. You can use block moves to initialize the registers, or initialize the data in the register table and store the table prior to activating the SER function.

2.Add the SER function to your ladder.

Parameter(Offset)

Description

Status(0)

Read only variable which indicates the current state of the SER function

 

block. Additional information is provided in Status Extra Data, Offset 1 in

 

the SER control block. NOTE: If an error is detected in the Control Block,

 

The status will be set to 6, the OK output will be cleared and no action will

 

occur. Valid settings for Status include:

 

0

= Reset

 

1

= Inactive

 

2

= Active

 

3

= Triggered

 

4

= Complete

 

5

= Overrun Error

 

6

= Parameter error

 

 

Status Extra Data(1)

A read-only variable that provides additional state information about the

 

SER function. Click on “Status Extra Data” valid settings for this

 

parameter.

 

Trigger Mode(2)

Defines the enabling action for the trigger condition: To select the Trigger

 

boolean input as the enabling condition, set this parameter to 0. To select

 

Full buffer as the enabling condition, set this parameter to 1.

 

If the trigger condition is enabled by power flow to the Trigger boolean

 

input, the OK boolean output will not pass power flow until the Number of

 

Samples After Trigger has been satisfied.

 

If the trigger condition is enabled by a Full buffer, the OK boolean output

 

will pass power flow when the user's buffer is full. The buffer size is set

 

through the Number of Samples parameter.

Trigger Time

Determines how the Trigger Time will be displayed. For BCD (Binary

Format(3)

Coded Decimal) display, set this parameter to 0. For POSIX format

 

display, set this parameter to 1.

Reserved (4—7)

Words 4 through 7 are reserved and should be set to zero(0)

Num of Channels(8)

Specifies the number of bits of data that will be sampled and returned to the

 

sample buffer for each execution of the function block. Valid choices are 8,

 

16, 24 or 32 bits. The increment is in byte size (8 bits) and any unused

 

channels must be configured with a null channel description.

GFK-0467K

Chapter 4 Series 90-30/20/Micro Instructions Set

4-115

Page 196
Image 196
GE 90-30/20/Micro manual ParameterOffset Description