Multiplying 16-Bit Binary Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Multiplying 16-bit binary data

*(P)(_U)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions multiply the two sets of 16-bit binary data specified.
Ladder
(s1)
(s2)
(d)
FBD/LD
EN
ENO
s1
d
s2
( is to be replaced by any of the following: MULTI, MULTIP, MULTI_U, MULTIP_U.)
*1 The engineering tool with version "1.035M" or later supports the ST.
■Execution condition
Instruction
*
*_U
*P
*P_U
Setting data
■Description, range, data type
Operand
Description
(s1)
*(P)
Multiplicand data or the device where
multiplicand data is stored
*(P)_U
(s2)
*(P)
Multiplier data or the device where multiplier
data is stored
*(P)_U
(d)
*(P)
Start device for storing the operation result
*(P)_U
EN
Execution condition
ENO
Execution result
• In safety programs executed by the Safety CPU, only safety devices and safety labels of data types described in the table
can be used.
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
*1
ST
ENO:=MULTI(EN,s1,s2,d);
ENO:=MULTIP(EN,s1,s2,d);
Range
Data type
-32768 to 32767
16-bit signed binary
0 to 65535
16-bit unsigned binary
-32768 to 32767
16-bit signed binary
0 to 65535
16-bit unsigned binary
32-bit signed binary
32-bit unsigned binary
Bit
Bit
6.2 Arithmetic Operation Instructions
ENO:=MULTI_U(EN,s1,s2,d);
ENO:=MULTIP_U(EN,s1,s2,d);
Data type (label)
ANY16_S
ANY16_U
ANY16_S
ANY16_U
ANY32_S
ANY32_U
BOOL
BOOL
6 BASIC INSTRUCTIONS
6
251

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents