Imovn (Indirect Move Not) - IDEC MICROSmart FC6A Series Ladder Programming Manual

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

Advertisement

5: M
I
OVE
NSTRUCTIONS

IMOVN (Indirect Move Not)

IMOVN(*)
S1(R)
*****
Valid Devices
Device
S1 (Source 1)
S2 (Source 2)
D1 (Destination 1)
D2 (Destination 2)
For valid device address ranges, see "Device Addresses" on page 2-1.
Special internal relays cannot be designated as D1.
When T (timer) or C (counter) is used as S1, S2, or D2, the device data is the timer/counter current value (TC or CC). When T (timer) or C (counter)
is used as D1, the device data is the timer/counter preset value (TP or CP), 0 through 65,535.
Source device S2 or destination device D2 does not have to be assigned. If S2 or D2 is not assigned, the source or destination device is determined
by S1 or D1 without offset.
Make sure that the source data determined by S1 + S2 and the destination data determined by D1 + D2 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)
X
L (long)
F (float)
Example: IMOVN
IMOVN(W)
S1 –
C10
I0
C10 + D10 NOT → D30 + D20
Source device S1 and destination device D1 determine the type of device. Source device S2 and destination device D2
are the offset values used to determine the source and destination devices.
If the data of data register D10 assigned by source device S2 is 4, then the source data is determined by adding the
offset value to counter C10 assigned by source device S1:
C(10 + 4) = C14
If data register D20 assigned by destination device D2 contains a value of 15, then the destination is determined by
adding the offset value to data register D30 assigned by destination device D1:
D(30 + 15) = D45
As a result, when input I0 is on, the current value of counter C14 is inverted and moved to data register D45.
5-8
S2
D1(R)
D2
*****
*****
*****
Function
Base address to move from
Offset for S1
Base address to move to
Offset for D1
When S1 (source 1) is a word device and D1 (destination 1) is a Q, M, or R bit device, the data is transferred as
16 points or 32 bits, depending on the data type. When repeat is set for a bit device, the quantity of device bits
increases in 16- or 32-point increments.
When a word device such as T (timer), C (counter), or D (data register) is assigned as the source or destination,
1 point (word data) or 2 points (double-word data) are used. When repeat is assigned for a word device, the
quantity of device words increases in 1- or 2-point increments.
S2
D1 –
D2
D10
D30
D20
FC6A S
MICROS
ERIES
MART
S1 + S2 NOT → D1 + D2
REP
When input is on, the values contained in devices assigned by S1 and
**
S2 are added together to determine the data source. The 16- or 32-bit
data is then inverted and moved to the destination, which is determined
by the sum of values contained in devices assigned by D1 and D2.
I
Q
M
X
X
X
X
X
X
X
X
X
X
REP
L
P
M
ADDER
ROGRAMMING
ANUAL
R
T
C
D
P
Constant
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
D10
D19
D20
D21
D45
D46
C13
C14
C15
FC9Y-B1726
Repeat
1-99
1-99
4
15
59085
6450

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents