IDEC MICROSmart FC6A Series Ladder Programming Manual page 468

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

Advertisement

23: F
D
P
ILE
ATA
ROCESSING
Examples: NDSRC
The following examples demonstrate the NDSRC instruction that searches the data of three different data types.
• Data Type: Word
NDSRC(W)
I0
1234
D10
• Data Type: Double Word
NDSRC(D)
I0
12345678
D10·D11
• Data Type: Float
NDSRC(F)
I0
0.4521
D10·D11
23-6
I
NSTRUCTIONS
S1
S2
S3
D1
D10
D100
5
D200
1234
D99
Search
Offset
0
D100
145
1 (match)
1234
D101
2
458
D102
3 (match)
D103
1234
4
D104
652
1234
D105
S1
S2
S3
D1
D10
D100
5
D200
D98·D99
Search
D100·D101
D102·D103
D104·D105
D106·D107
D108·D109
D110·D111
S1
S2
S3
D1
D10
D100
5
D200
D98·D99
Search
D100·D101
D102·D103
D104·D105
D106·D107
D108·D109
D110·D111
FC6A S
MICROS
ERIES
MART
Result
D200
D201
12345678
Offset
0
1459997
2 (match)
12345678
4
4584557
6 (match)
12345678
8 (match)
12345678
1234457
12
Offset
0
0.0
2
0.224
4
0.124
6 (match)
0.4521
8
3.245
12244
L
P
M
ADDER
ROGRAMMING
ANUAL
Offset of first match
1
Quantity of matches
2
Offset of first match
2
Result
D200
Quantity of matches
3
D201
6
Result
D200
1
D201
FC9Y-B1726
Offset of first match
Quantity of matches

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents