Ibmv (Indirect Bit Move) - IDEC FC4A-C10R2 User Manual

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

9: M
I
OVE
NSTRUCTIONS

IBMV (Indirect Bit Move)

IBMV
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: IBMV
IBMV
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 5, the source data is determined by adding the offset to
internal relay M10 designated by source operand S1.
If the current value of counter C5 designated by destination oper-
and D2 is 12, the destination is determined by adding the offset
to output Q30 designated by destination operand D1.
As a result, when input I0 is on, the ON/OFF status of internal relay M15 is moved to output Q44.
9-8
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 –
M10
D10
Q30
« FC4A M
S1 + S2 → 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 moved to desti-
nation, which is determined by the sum of values con-
tained in operands designated by D1 and D2.
FC4A-D20K3/S3
I
Q
X
X
X
X
X
X
X
M10 + D10 → Q30 + C5
D2
REP
C5
M27
Q47
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
M20
M17
Q44
Q40
Q37
12th from Q30
»
Repeat
0 or 1
1-99
1-99
M15
M10
5th from M10
Q30

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents