Bmov (Block Move) - IDEC MICROSmart FC6A Series Ladder Programming Manual

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

BMOV (Block Move)

BMOV(W)
*****
N blocks of 16-bit data
S1
S1+1
S1+2
S1+N–1
Valid Devices
Device
Function
S1 (Source 1)
First device address to move
N-W (N words)
Quantity of blocks to move
D1 (Destination 1)
First device address to move to
For valid device address ranges, see "Device Addresses" on page 2-1.
*1 When T/C is used as S1 or NW, this is the current value area.
*2 You can specify the number between 1 and 6,000.
*3 Special internal relays cannot be used.
*4 When T/C is used as D1, this is the preset value area.
Make sure that the last source data determined by S1+N–1 and the last destination data determined by D1+N–1 are within the valid device range.
If the derived source or destination device exceeds the valid device range, a user program execution error will result, turning on special internal relay
M8004 and the ERR LED on the FC6A Series MICROSmart. For user program execution errors, see "User Program Execution Errors" on page 3-10.
Valid Data Types
W (word)
X
I (integer)
D (double word)
L (long)
F (float)
Special Internal Relay M8024: BMOV/WSFT Executing Flag
While the BMOV or WSFT is executed, M8024 turns on. When completed, M8024 turns off. If the CPU is powered down while
executing BMOV or WSFT, M8024 remains on when the CPU is powered up again.
Example: BMOV
BMOV(W)
SOTU
I0
D10 through D14 → D20 through D24
When input I0 is turned on, data of 5 data registers, starting with D10 assigned by source device
S1, is moved to 5 data registers starting with D20 assigned by destination device D1.
S1
N-W
D1
*****
*****
First 16-bit data
Second 16-bit data
Third 16-bit data
Nth 16-bit data
When a bit device such as I (input), Q (output), M (internal relay), or R (shift register) is assigned as the source,
N-W, or destination, 16 points (word data) are used.
When a word device such as T (timer), C (counter), or D (data register) is assigned as the source, N-W, or
destination, 1 point (word data) is used.
S1
N-W
D10
5
D20
FC6A S
MICROS
ERIES
MART
S1, S1+1, S1+2, ... , S1+N–1 → D1, D1+1, D1+2, ... , D1+N–1
When input is on, N blocks of 16-bit word data starting with device assigned by S1 are
moved to N blocks of destinations, starting with device assigned by D1. N-W specifies
the quantity of blocks to move.
D1+1
Block Move
D1+2
D1+N–1
I
Q
X
X
X
X
X
D1
L
P
M
ADDER
ROGRAMMING
5: M
N blocks of 16-bit data
D1
First 16-bit data
Second 16-bit data
Third 16-bit data
Nth 16-bit data
M
R
T
C
D
P
*1
*1
X
X
X
X
X
*1
*1
X
X
X
X
X
*3
*4
*4
X
X
X
X
X
D10
2005
D11
12
25
D12
12
D13
D14
30
FC9Y-B1726
ANUAL
I
OVE
NSTRUCTIONS
Constant
Repeat
*2
X
D20
2005
D21
12
25
D22
12
D23
D24
30
5-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents