Fnc 61 - Ser / Search A Data Stack - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
14.2
FNC 61 – SER / Search a Data Stack
Outline
This instruction searches for the same data, maximum value and minimum value in a data table.
1. Instruction format
FNC 61
D
P
SER
2. Set data
Operand type
S
S
1
1
S
2
D
n
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
S
1
1
S
2
S
D
2
n
: This function is supported only in FX
Explanation of function and operation
1. 16-bit operation (SER and SERP)
In "n" data starting from
D
+4.
Command
input
FNC 61
SER
1)
Contents of searched data and the search result
a) When same data was detected
Five devices starting from
position and minimum value position.
b) When same data was not detected
Five devices starting from
position and minimum value position.
In this case, however, "0" is stored in three devices starting from
data, first position and last position).
Mnemonic
16-bit Instruction
9 steps SER
SERP
Head device number in which same data, maximum value and minimum value are
searched
Data to be searched for or device number storing data
Head device number storing number of same data, maximum value and minimum value
detected by search
Number of data in which same data, maximum value and minimum value are searched
[16-bit instruction: 1 to 256, 32-bit instruction: 1 to 128]
Digit Specification
/FX
3U
3UC
S
, same data as
1
S
S
D
1
2
store the number of same data, first position, last position, maximum value
D
D
store the number of same data, first position, last position, maximum value
14 Handy Instruction – FNC 60 to FNC 69
14.2 FNC 61 – SER / Search a Data Stack
Operation Condition
32-bit Instruction
Continuous
17 steps
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Index
Unit
T
C D R U \G
V
Z Modify K
PLCs.
S
is searched, and the search result is stored to
2
n
D
Mnemonic
Operation Condition
Continuous
DSER
Operation
Pulse (Single)
DSERP
Operation
Data type
16- or 32-bit binary
16- or 32-bit binary
16- or 32-bit binary
16- or 32-bit binary
Others
Con-
Real
Charac-
Pointer
stant
Number
ter String
H
E
" "
D
(which store the number of same
399
11
12
13
14
15
P
16
17
to
18
19
20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents