EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 112

Mitsubishi Electric MELSEC iQ-R Series
2110 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
Loading...
110
2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
Checking the bit status in 16-bit/32-bit binary data
Searching for the maximum value of 16-bit/32-bit binary data
Searching for the minimum value of 16-bit/32-bit binary data
Sorting 16-bit/32-bit binary data
Adding 16-bit binary data
Adding 32-bit binary data
Instruction symbol Processing details Reference
BON Checks whether (n) bit(s) of the specified device are on or off, and stores the result in the device
specified by (d).
Page 918 BON(P)
BONP
DBON Checks whether (n) bit(s) of the specified device are on or off, and stores the result in the device
specified by (d).
Page 920 DBON(P)
DBONP
Instruction symbol Processing details Reference
MAX Searches the (n) points of data in the device specified by (s) in units of 16 bits, and stores the
maximum value in the device specified by (d).
Page 922 MAX(P)(_U)
MAXP
MAX_U
MAXP_U
DMAX Searches the (n) points of data in the device specified by (s) in units of 32 bits, and stores the
maximum value in the device specified by (d).
Page 924
DMAX(P)(_U)
DMAXP
DMAX_U
DMAXP_U
Instruction symbol Processing details Reference
MIN Searches the (n) points of data in the device specified by (s) in units of 16 bits, and stores the
minimum value in the device specified by (d).
Page 926 MIN(P)(_U)
MINP
MIN_U
MINP_U
DMIN Searches the (n) points of data in the device specified by (s) in units of 32 bits, and stores the
minimum value in the device specified by (d).
Page 928 DMIN(P)(_U)
DMINP
DMIN_U
DMINP_U
Instruction symbol Processing details Reference
SORTD Sorts the (n) points of data in the device specified by (s) in units of 16 bits.
("(n)((n)-1)2" scanning required)
Page 930 SORTD(_U)
SORTD_U
DSORTD Sorts the (n) points of data in the device specified by (s) in units of 32 bits.
("(n)((n)-1)2" scanning required)
Page 932
DSORTD(_U)
DSORTD_U
Instruction symbol Processing details Reference
WSUM Adds the (n) points of 16-bit binary data in the device starting from the one specified by (s), and
stores the result in the device specified by (d).
Page 934
WSUM(P)(_U)
WSUM_U
WSUMP
WSUMP_U
Instruction symbol Processing details Reference
DWSUM Adds the (n) points of 32-bit binary data in the device starting from the one specified by (s), and
stores the result in the device specified by (d).
Page 936
DWSUM(P)(_U)
DWSUM_U
DWSUMP
DWSUMP_U

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals