Ibmvn (Indirect Bit Move Not) - IDEC FC4A-C10R2 User Manual

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

9: M
I
OVE
NSTRUCTIONS

IBMVN (Indirect Bit Move Not)

IBMVN
S1(R)
*****
Applicable CPU Modules
FC4A-C10R2/C
FC4A-C16R2/C
Valid Operands
Operand
S1 (Source 1)
S2 (Source 2)
D1 (Destination 1)
D2 (Destination 2)
For the valid operand number range, see pages 6-1 and 6-2.
Internal relays M0 through M1277 can be designated as D1. Special internal relays cannot be designated as D1.
When T (timer) or C (counter) is used as S2 or D2, the timer/counter current value is read out.
Make sure that the last source data determined by S1+S2 and the last destination data determined by D1+D2 are within the
valid operand range. If the derived source or destination operand is out of the valid operand range, a user program execu-
tion error will result, turning on special internal relay M8004 and ERR LED on the CPU module.
Either source operand S2 or destination operand D2 does not have to be designated. If S2 or D2 is not designated, the
source or destination operand is determined by S1 or D1 without offset.
Examples: IBMVN
IBMVN
SOTU
I0
Source operand S1 and destination operand D1 determine the type of operand. Source operand S2 and destination operand
D2 are the offset values to determine the source and destination operands.
If the value of data register D10 designated by source operand
S2 is 8, the source data is determined by adding the offset to
internal relay M20 designated by source operand S1.
If the current value of counter C5 designated by destination oper-
and D2 is 10, the destination is determined by adding the offset
to output Q10 designated by destination operand D1.
As a result, when input I0 is on, the ON/OFF status of internal relay M30 is inverted and moved to output Q22.
9-10
S2
D1(R)
D2
*****
*****
*****
FC4A-C24R2/C
Function
Base address to move from
Offset for S1
Base address to move to
Offset for D1
S1 –
S2
D1 –
M20
D10
Q10
« FC4A M
S1 + S2 NOT → D1 + D2
REP
When input is on, the values contained in operands des-
**
ignated by S1 and S2 are added to determine the source
of data. The 1-bit data so determined is inverted and
moved to destination, which is determined by the sum of
values contained in operands designated by D1 and D2.
FC4A-D20K3/S3
I
Q
X
X
X
X
X
X
X
M20 + D10 NOT → Q10 + C5
D2
REP
C5
M37
Q27
S
U
'
M
ICRO
MART
SER
S
ANUAL
FC4A-D20RK1/RS1 & FC4A-D40K3/S3
X
M
R
T
C
D
Constant
X
X
— —
X
X
X
X
X
X
0-65535
X
— —
X
X
X
X
X
X
0-65535
M30
M27
NOT
8th from M20
Q22
Q20
Q17
10th from Q10
»
Repeat
0 or 1
1-99
1-99
M20
Q10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents