EasyManuals Logo

IDEC MICROSmart FC6A Series Ladder Programming Manual

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

Table of Contents

Other manuals for IDEC MICROSmart FC6A Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC MICROSmart FC6A Series and is the answer not in the manual?

IDEC MICROSmart FC6A Series Specifications

General IconGeneral
BrandIDEC
ModelMICROSmart FC6A Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals