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

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

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
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
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).
392
Series
Mnemonic
16-bit Instruction
P
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
, same data as
S
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
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
T
C D
R U \G
PLCs.
3UC
is searched, and the search result is stored to
S
2
n
14 Handy Instruction – FNC 60 to FNC 69
14.2 FNC 61 – SER / Search a Data Stack
Mnemonic
Operation Condition
DSER
17 steps
DSERP
16- or 32-bit binary
16- or 32-bit binary
16- or 32-bit binary
16- or 32-bit binary
Others
Con-
Real
Index
stant
Number
V
Z
Modify K
H
E
D
(which store the number of same
Continuous
Operation
Pulse (Single)
Operation
Data type
Charac-
Pointer
ter String
" "
P
to
D

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents