EasyManuals Logo

IDEC OpenNet series User Manual

IDEC OpenNet series
427 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #155 background image
9: MOVE INSTRUCTIONS
9-8 OPENNET CONTROLLER USERS MANUAL
BMOV (Block Move)
Valid Operands
For the valid operand number range, see page 6-2.
Internal relays M0 through M2557 can be designated as D1. Special internal relays cannot be designated as D1.
When T (timer) or C (counter) is used as S1 or N-W, the timer/counter current value is read out. When T (timer) or C
(counter) is used as D1, the data is written in as a preset value which can be 0 through 65535.
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 operand range. If the derived source or destination operand is out of the valid operand range, a user program exe-
cution error will result, turning on special internal relay M8004 and the ERROR LED on the CPU module.
Valid Data Types
When a bit operand such as I (input), Q (output), M (internal relay), or R (shift register) is designated as the source, N-W,
or destination, 16 points (word data type) are used.
When a word operand such as T (timer), C (counter), D (data register), or L (link register) is designated as the source, N-
W, or destination, 1 point (word data type) is used.
Example: BMOV
Operand Function I Q M R T C D L Constant Repeat
S1 (Source 1) First operand number to move XXXXXXXX ——
N-W (N words) Quantity of blocks to move XXXXXXXX X
D1 (Destination 1) First operand number to move to X XXXXX ——
W (word) I (integer) D (double word) L (long)
X ——
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 operand
designated by S1 are moved to N blocks of destinations, starting with
operand designated by D1.
BMOV(W) S1
*****
D1
*****
N-W
*****
First 16-bit dataS1
Second 16-bit dataS1+1
Third 16-bit dataS1+2
Nth 16-bit dataS1+N1
N blocks of 16-bit data
First 16-bit dataD1
Second 16-bit dataD1+1
Third 16-bit dataD1+2
Nth 16-bit dataD1+N1
N blocks of 16-bit data
Block Move
D1
D20
D10 through D14 D20 through D24
When input I0 is turned on, data of 5 data registers starting with D10 desig-
nated by source operand S1 is moved to 5 data registers starting with D20
designated by destination operand D1.
12
D11
1998
D10
25
D12
S1
D10
N-W
5
I0
BMOV(W)
12
D13
30
D14
12
D21
1998
D20
25
D22
12
D23
30
D24
SOTU
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC OpenNet series and is the answer not in the manual?

IDEC OpenNet series Specifications

General IconGeneral
BrandIDEC
ModelOpenNet series
CategoryController
LanguageEnglish

Related product manuals