Nrs (N Data Repeat Set) - 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

NRS (N Data Repeat Set)

NRS(*)
*****
Source data for repeat set
S1
16-/32-bit data
Valid Devices
Device
Function
N-W (N blocks)
Quantity of blocks to move
S1 (Source 1)
First device address to move
D1 (Destination 1)
First device address to move to
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
W (word)
X
I (integer)
X
D (double word)
X
L (long)
X
F (float)
X
Example: NRS(F)
NRS(F)
SOTU
I0
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.
5-16
N-W
S1
D1
*****
*****
N Data Repeat Set
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.
N-W
S1
5
D25
D30
FC6A S
MICROS
ERIES
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.
D1+N–1 or D1+2N–2
I
Q
X
X
X
X
X
D1
L
P
MART
ADDER
ROGRAMMING
N blocks of 16-/32-bit data
D1
First 16-/32-bit data
D1+1 or D1+2
Second 16-/32-bit data
D1+2 or D1+4
Third 16-/32-bit data
Nth 16-/32-bit data
M
R
T
C
D
P
X
X
X
X
X
X
X
X
X
X
X
X
X
X
123.4
D25·D26
M
FC9Y-B1726
ANUAL
Constant
Repeat
X
X
123.4
D30·D31
D32·D33
123.4
123.4
D34·D35
123.4
D36·D37
123.4
D38·D39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents