EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Dividing 32-Bit Binary Data

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...
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
257
6
Dividing 32-bit binary data
D/(P)(_U)
These instructions perform division between the two sets of 32-bit binary data specified.
*1 The engineering tool with version "1.035M" or later supports the ST.
Execution condition
Setting data
Description, range, data type
In safety programs executed by the Safety CPU, only safety devices and safety labels of data types described in the table
can be used.
Ladder ST
*1
ENO:=DDIVISION(EN,s1,s2,d);
ENO:=DDIVISIONP(EN,s1,s2,d);
ENO:=DDIVISION_U(EN,s1,s2,d);
ENO:=DDIVISIONP_U(EN,s1,s2,d);
FBD/LD
( is to be replaced by any of the following: DDIVISION, DDIVISIONP, DDIVISION_U, DDIVISIONP_U.)
Instruction Execution condition
D/
D/_U
D/P
D/P_U
Operand Description Range Data type Data type (label)
(s1) D/(P) Dividend data or the start device where
dividend data is stored
-2147483648 to 2147483647 32-bit signed binary ANY32_S
D/(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
(s2) D/(P) Divisor data or the start device where divisor
data is stored
-2147483648 to 2147483647 32-bit signed binary ANY32_S
D/(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
(d) D/(P) Start device for storing the operation result 64-bit signed binary ANY32_S_ARRAY
(Number of elements: 2)
D/(P)_U 64-bit unsigned binary ANY32_U_ARRAY
(Number of elements: 2)
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(s1) (s2) (d)
EN ENO
ds1
s2

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals