5: M
OVE
I
NSTRUCTIONS
5-16
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
NRS (N Data Repeat Set)
Valid Devices
For valid device address ranges, see "Device Addresses" on page 2-1.
For the N-W, 1 word (16 bits) is always used without regard to the data type.
Special internal relays cannot be designated as D1.
When T (timer) or C (counter) is used as N-W or S1, the timer/counter current value (TC or CC) is displayed. When T (timer) or C (counter) is used
as D1, the data is written in as a preset value (TP or CP).
When F (float) data is selected, only data register and constant can be designated as S1, and only data register can be designated as D1.
When F (float) data is selected and S1 does not comply with the normal floating-point format, a user program execution error will result, turning on
special internal relay M8004 and ERR LED on the FC6A Series MICROSmart.
Make sure that the last destination data determined by D1+N-1 (word or integer data) or D1+2N-2 (double-word, long, or float data) is within the
valid device range. If the derived destination device exceeds the valid device range, a user program execution error will result, turning on special
internal relay M8004 and ERROR LED on the FC6A Series MICROSmart. For user program execution errors, see "User Program Execution Errors" on
page 3-10.
Valid Data Types
Example: NRS(F)
S1
→
D1, D2, D3, ... , Dn–1
When input is on, 16- or 32-bit data assigned by S1 is set to N blocks of destinations,
starting with device assigned by D1.
NRS(*)
N-W
*****
S1
*****
D1
*****
16-/32-bit data
S1
Source data for repeat set
First 16-/32-bit data
D1
Second 16-/32-bit data
D1+1 or D1+2
Third 16-/32-bit data
D1+2 or D1+4
Nth 16-/32-bit data
D1+N–1 or D1+2N–2
N blocks of 16-/32-bit data
N Data Repeat Set
Device
Function
I
Q
M
R
T
C
D
P
Constant
Repeat
N-W (N blocks)
Quantity of blocks to move
X
X
X
X
X
X
X
—
X
—
S1 (Source 1)
First device address to move
X
X
X
X
X
X
X
—
X
—
D1 (Destination 1)
First device address to move to
—
X
X
X
X
X
—
—
—
W (word)
X
When a bit device such as I (input), Q (output), M (internal relay), or R (shift register) is assigned as the source
or destination, 16 points (word or integer data) or 32 points (double-word or long data) are used.
When a word device such as T (timer), C (counter), or D (data register) is assigned as the source or destination,
1 point (word or integer data) or 2 points (double-word, long, or float data) are used.
I (integer)
X
D (double word)
X
L (long)
X
F (float)
X
D25·D26
→
D30 through D39
When input I0 is turned on, data of data registers D25·D26 assigned by source device S1 is moved to 10
data registers starting with D30 assigned by destination device D1.
D1
D30
N-W
5
I0
NRS(F)
S1
D25
SOTU
123.4
D25·D26
123.4
D32·D33
123.4
D30·D31
123.4
D34·D35
123.4
D36·D37
123.4
D38·D39
Summary of Contents for MICROSmart FC6A Series
Page 1: ...B 1726 7 FC6A SERIES Ladder Programming Manual ...
Page 8: ...Preface 7 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 32: ...1 OPERATION BASICS 1 20 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 96: ...3 INSTRUCTIONS REFERENCE 3 18 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 130: ...4 BASIC INSTRUCTIONS 4 34 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 192: ...9 SHIFT ROTATE INSTRUCTIONS 9 12 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 272: ...12 DISPLAY INSTRUCTIONS 12 24 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 284: ...14 REFRESH INSTRUCTIONS 14 6 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 502: ...25 DATA LOG INSTRUCTIONS 25 22 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 546: ...26 SCRIPT 26 44 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 598: ...APPENDIX A 14 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...