Scaling 32-Bit Binary Data (Xy Coordinates) - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Scaling 32-bit binary data (XY coordinates)

DSCL2(P)(_U)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions scale the scaling conversion data (32-bit data) on the basis of the specified input value (XY coordinates).
Ladder
(s1)
(s2)
(d)
FBD/LD
EN
ENO
s1
d
s2
■Execution condition
Instruction
DSCL2
DSCL2_U
DSCL2P
DSCL2P_U
Setting data
■Description, range, data type
Operand
Description
(s1)
DSCL2(P)
Input value to be scaled or the start device
containing the input value
DSCL2(P)_U
(s2)
DSCL2(P)
Start device containing scaling conversion data
DSCL2(P)_U
(d)
DSCL2(P)
Start device for storing the output value
controlled by scaling
DSCL2(P)_U
EN
Execution condition
ENO
Execution result
*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
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s1)
(s2)
(d)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=DSCL2(EN,s1,s2,d);
ENO:=DSCL2P(EN,s1,s2,d);
Range
Data type
-2147483648 to
32-bit signed binary
2147483647
0 to 4294967295
32-bit unsigned binary
32-bit signed binary
32-bit unsigned binary
32-bit signed binary
32-bit unsigned binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
ENO:=DSCL2_U(EN,s1,s2,d);
ENO:=DSCL2P_U(EN,s1,s2,d);
Data type (label)
ANY32_S
ANY32_U
*1
*2
ANY32_S
*1
*2
ANY32_U
ANY32_S
ANY32_U
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.12 Data Control Instructions
7
877

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MELSEC iQ-R Series and is the answer not in the manual?

Table of Contents

Save PDF