beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 165

background image

8Ć7

8.2.1

Input Parameters for the Move Bits Between Integers/Double Integers Instruction

This table lists the inputs for the MVB instruction and the variable type and date

type/range that each input supports.

Parameter

Description

Variable Type

Data/Type Range

EN

While this input is true, the instruction executes. When this

input is false, the instruction is not executed and ENO is

false.

Connect a Boolean input or output.

In

Enter a constant or variable from which you want to move

bits, the source of the bit move operation.

D simple
D constant
D element of an array

D integer
D double integer
D timer

(name.TPreset and

name.Elapsed)

D counter

(name.CPreset

and name.Current)

In_Bit

Enter the number of the bit within In from which the

copying should start.

integer (0 31)

Out_Bit

Enter the number of the bit within Out that the instruction

copies the bits to.

integer (0Ć31)

Length

Enter the quantity of bits to be moved from In to Out.

When defining a length, keep in mind the following:
D Bits written to Out that extend beyond Out's data type

boundary are lost.

D Bits you copy from In that extend beyond bit 15 for

integers and bit 31 for double integers are set to 0.

integer (0Ć32)