Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 80

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

■Bit judgment of 16-bit data/32-bit data
Instruction symbol
BON
BONP
DBON
DBONP
■Searching the maximum value of 16-bit/32-bit data
Instruction symbol
MAX
MAXP
MAX_U
MAXP_U
DMAX
DMAXP
DMAX_U
DMAXP_U
■Searching the minimum value of 16-bit/32-bit data
Instruction symbol
MIN
MINP
MIN_U
MINP_U
DMIN
DMINP
DMIN_U
DMINP_U
■Sorting 16-bit data
Instruction symbol
SORTTBL
SORTTBL_U
■Sorting 16-bit/32-bit data 2
Instruction symbol
SORTTBL2
SORTTBL2_U
DSORTTBL2
DSORTTBL2_U
3 CPU MODULE INSTRUCTION
78
3.3 Application Instruction
Description
(s)
b15
······
(1)
(1): b(n) ON  (d)=On
b(n) OFF  (d)=Off
(s)
b31
······
(1)
(1): b(n) ON  (d)=On
b(n) OFF  (d)=Off
Description
This instruction searches the data of (n) points from the device specified by (s) in 16-bit units, and
stores the maximum value in the device specified by (d).
This instruction searches the data of (n) points from the device specified by (s) in 32-bit units, and
stores the maximum value in the device specified by (d).
Description
This instruction searches the data of (n) points from the device specified by (s) in 16-bit units, and
stores the minimum value in the device specified by (d).
This instruction searches the data of (n) points from the device specified by (s) in 32-bit units, and
stores the minimum value in the device specified by (d).
Description
In the data table (sorting source) having ((n1)(n2)) points specified by (s), sorts the data lines in
the ascending order based on the group data in the column number (n3), and stores the result in
the data table (sorting result) having ((n1)(n2)) points specified by (d).
Description
In the data table (sorting source) of 16-bit binary data having (n1n2) points specified by (s), sorts
the data lines in the ascending order based on the group data in the column number (n3), and
stores the result in the data table (sorting result) of 16-bit binary data having ((n1)(n2)) points
specified by (d).
In the data table (sorting source) of 32-bit binary data having (n1n2) points specified by (s), sorts
the data lines in the ascending order based on the group data in the column number (n3), and
stores the result in the data table (sorting result) of 32-bit binary data having ((n1)(n2)) points
specified by (d).
b0
b0
Reference
Page 652
Page 654
Reference
Page 656
Page 658
Reference
Page 660
Page 662
Reference
Page 664
Reference
Page 667
Page 670

Hide quick links:

Advertisement

loading