Download Print this page

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

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Scaling 32-bit binary data (XY coordinates)

DSCL2(P)(_U)
These instructions process the scaling conversion data (in 32-bit data units) specified by (s2) by scaling it based on the input
value specified by (s1), and store the operation result in the device specified by (d).
Ladder diagram
(s1)
(s2)
(d)
FBD/LD
EN
ENO
s1
d
s2
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
DSCL2(P)
Input value used in scaling or head device
number storing the input value
DSCL2(P)_U
(s2)
DSCL2(P)
Head device number where the scaling
conversion data is stored
DSCL2(P)_U
(d)
DSCL2(P)
Head device number storing the output value
controlled by scaling
DSCL2(P)_U
EN
Execution condition
ENO
Execution result
*1 The numbers of coordinate points of (s2)+1 and (s2) are 32-bit unsigned binary data.
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s1)
(s2)
(d)
Word
T, ST, C, D, W,
U\G
SD, SW, R
Structured text
ENO:=DSCL2(EN,s1,s2,d);
ENO:=DSCL2P(EN,s1,s2,d);
Range
Data type
-2147483648 to +2147483647
32-bit signed binary
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
specification
Z
LC
LZ
ENO:=DSCL2_U(EN,s1,s2,d);
ENO:=DSCL2P_U(EN,s1,s2,d);
Data type (label)
ANY32_S
ANY32_U
*1
ANY32_S
*1
ANY32_U
ANY32_S
ANY32_U
BOOL
BOOL
Constant
Others
K, H
E
$
8 APPLICATION INSTRUCTION
8.12 Data Control Instruction
8
573

Hide quick links:

Advertisement

loading