4

BLKMOV (INT, WORD, REAL)

Use the Block Move (BLKMOV) function to copy a block of seven constants to a specified location.

Note

The REAL data type is only available on 350 and 360 series CPUs, Release 9 or later, or on all releases of CPU352.

The BLKMOV function has eight input parameters and two output parameters. When the function receives power flow, it copies the constant values into consecutive locations, beginning at the destination specified in output Q. Output Q cannot be the input of another program function.

Note

For BLKMOV_INT, the values of IN1 — IN7 are displayed as signed decimals.

For BLKMOV_WORD, IN1 — IN7 are displayed in hexadecimal. For

BLKMOV_REAL, IN1— IN7 are displayed in Real format.

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

_____

(enable)

(ok)

INT

(constant value) —IN1 Q— (output parameter Q)

(constant value) —IN2

(constant value) —IN3

(constant value) —IN4

(constant value) —IN5

(constant value) —IN6

(constant value) —IN7

_____

Parameters:

Parameter

Description

enable

When the function is enabled, the block move is performed.

 

 

IN1— IN7

IN1 through IN7 contain seven constant values.

 

 

ok

The ok output is energized whenever the function is enabled.

 

 

Q

Output Q contains the first integer of the moved array. IN1 is moved to Q.

 

 

GFK-0467K

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

4-73

Page 154
Image 154
GE 90-30/20/Micro manual Blkmov INT, WORD, Real, Constant value -IN1 Q- output parameter Q