4

BLKCLR (WORD)

Use the Block Clear (BLKCLR) function to fill a specified block of data with zeros.

The BLKCLR function has two input parameters and one output parameter. When the function receives power flow, it writes zeros into the memory location beginning at the reference specified by IN. When the data to be cleared is from discrete memory (%I, %Q, %M, %G, or %T), the transition information associated with the references is also cleared.

The function passes power to the right whenever power is received.

_____

(enable)(ok) CLR_

WORD

(word to be cleared) —IN

LEN 00001 _____

Parameters:

Parameter

Description

enable

When the function is enabled, the array is cleared.

 

 

IN

IN contains the first word of the array to be cleared.

 

 

ok

The ok output is energized whenever the function is enabled.

 

 

LEN

LEN must be between 1 and 256 words.

 

 

GFK-0467K

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

4-75

Page 156
Image 156
GE 90-30/20/Micro manual Blkclr Word, Len