Nset (N Data Set) - IDEC MICROSmart FC6A Series Ladder Programming Manual

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

Advertisement

NSET (N Data Set)

NSET(*)
*****
N blocks of 16-/32-bit data
S1
First 16-/32-bit data
S2
Second 16-/32-bit data
S3
Third 16-/32-bit data
Sn
Nth 16-/32-bit data
Valid Devices
Device
Function
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.
Special internal relays cannot be designated as D1.
When T (timer) or C (counter) is used as 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: NSET(F)
NSET(F)
SOTU
I0
Five constants 0.51, 2.34, 7.89, 3.33, and 10.0 → D20 through D29
When input I0 is turned on, 5 constants assigned by source devices S1 through S5 are moved to 10
data registers starting with D20 assigned by destination device D1.
.....
S1
Sn
*****
*****
N Data 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.
S1
S2
0.51
2.34
FC6A S
MICROS
ERIES
S1, S2, S3, ... , Sn → D1, D2, D3, ... , Dn
D1
When input is on, N blocks of 16- or 32-bit data in devices assigned by S1, S2,
S3, ... , Sn are moved to N blocks of destinations, starting with device
assigned by D1.
D1+1 or D1+2
D1+2 or D1+4
D1+N–1 or D1+2N–2
I
Q
X
X
X
S3
S4
S5
7.89
3.33
10.0
L
P
MART
ADDER
ROGRAMMING
5: M
N blocks of 16-/32-bit data
D1
First 16-/32-bit data
Second 16-/32-bit data
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
D1
0.51
D20
2.34
7.89
3.33
10.0
M
FC9Y-B1726
ANUAL
I
OVE
NSTRUCTIONS
Constant
Repeat
X
0.51
D20·D21
2.34
D22·D23
D24·D25
7.89
3.33
D26·D27
10.0
D28·D29
5-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents