EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Scaling 32-Bit Binary Data (XY Coordinates)

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...
7 APPLICATION INSTRUCTIONS
7.12 Data Control Instructions
877
7
Scaling 32-bit binary data (XY coordinates)
DSCL2(P)(_U)
These instructions scale the scaling conversion data (32-bit data) on the basis of the specified input value (XY coordinates).
Execution condition
Setting data
Description, range, data type
*1 The number of coordinate points in (s2) to (s2)+1 is represented in 32-bit unsigned binary.
*2 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
Applicable devices
Ladder ST
ENO:=DSCL2(EN,s1,s2,d);
ENO:=DSCL2P(EN,s1,s2,d);
ENO:=DSCL2_U(EN,s1,s2,d);
ENO:=DSCL2P_U(EN,s1,s2,d);
FBD/LD
Instruction Execution condition
DSCL2
DSCL2_U
DSCL2P
DSCL2P_U
Operand Description Range Data type Data type (label)
(s1) DSCL2(P) Input value to be scaled or the start device
containing the input value
-2147483648 to
2147483647
32-bit signed binary ANY32_S
DSCL2(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
(s2) DSCL2(P) Start device containing scaling conversion data 32-bit signed binary
*1
ANY32_S
*2
DSCL2(P)_U 32-bit unsigned binary
*1
ANY32_U
*2
(d) DSCL2(P) Start device for storing the output value
controlled by scaling
32-bit signed binary ANY32_S
DSCL2(P)_U 32-bit unsigned binary ANY32_U
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s1) 
(s2)  
(d)  
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