Fill Vector

Fill Vector enables you to set a range of registers. The function copies a value from a desired operand or constant value (source), then writes that value into every operand within the range (target vector).

You can fill a vector of MI registers or Database registers by selecting the appropriate function.

Note that since there is no Ladder element for this function; you perform it by storing values into:

To use Fill Vector:

Function #
(SI 140)

Description

30

Fill MI Vector

31

Fill DB Vector

36

Fill MB vector

Note that when you run Test (Debug) Mode, the current value in SI 140 will not be displayed.