
7 APPLICATION INSTRUCTION
7.10 Data control instruction
487
7
Scaling 32-bit binary data (point coordinates)
DSCL(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).
Setting data
■
Descriptions, ranges, and data types
*1
The numbers of coordinate points of (s2)+1 and (s2) are 32-bit unsigned binary data.
■
Applicable devices
Processing details
• 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 number specified by (d). The scaling conversion is
performed based on the scaling conversion data stored in the device specified by (s2) and later.
Ladder diagram
Structured text
ENO:=DSCL(EN,s1,s2,d);
ENO:=DSCLP(EN,s1,s2,d);
ENO:=DSCL_U(EN,s1,s2,d);
ENO:=DSCLP_U(EN,s1,s2,d);
Operand
Description
Range
Data type
Data type (label)
(s1)
DSCL(P)
Input value used in scaling or head device
number storing the input value
-2147483648 to +2147483647
32-bit signed binary
ANY32
DSCL(P)_U
0 to 4294967295
32-bit unsigned binary
(s2)
DSCL(P)
Head device number where the scaling
conversion data is stored
32-bit signed binary
ANY32
DSCL(P)_U
32-bit unsigned binary
(d)
DSCL(P)
Head device number storing the output value
controlled by scaling
32-bit signed binary
ANY32
DSCL(P)_U
32-bit unsigned binary
Operand
Bit
Word
Double word
Indirect
specification
Constant
Others
X, Y, M, L,
SM, F, B, SB
U
\G
T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(s1)
(s2)
(d)
Setting item ("n" indicates the number of coordinate points
specified by (s2).)
Device assignment
Number of coordinate points
(s2)+1, (s2)
Point 1
X coordinate
(s2)+3, (s2)+2
Y coordinate
(s2)+5, (s2)+4
Point 2
X coordinate
(s2)+7, (s2)+6
Y coordinate
(s2)+9, (s2)+8
Point n
X coordinate
(s2)+4n-1, (s2)+4n-2
Y coordinate
(s2)+4n+1, (s2)+4n
(s1)
(s2)
(d)
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......