Scaling 16-bit binary data (point coordinates)
SCL(P)(_U)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions scale the scaling conversion data (16-bit data) on the basis of the specified input value (point coordinates).
Ladder
(s1)
(s2)
(d)
FBD/LD
EN
ENO
s1
d
s2
■Execution condition
Instruction
SCL
SCL_U
SCLP
SCLP_U
Setting data
■Description, range, data type
Operand
Description
(s1)
SCL(P)
Input value to be scaled or the device containing
the input value
SCL(P)_U
(s2)
SCL(P)
Start device containing scaling conversion data
SCL(P)_U
(d)
SCL(P)
Device for storing the output value controlled by
scaling
SCL(P)_U
EN
Execution condition
ENO
Execution result
*1 The number of coordinate points in (s2) is represented in 16-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:=SCL(EN,s1,s2,d);
ENO:=SCLP(EN,s1,s2,d);
Range
Data type
-32768 to 32767
16-bit signed binary
0 to 65535
16-bit unsigned binary
16-bit signed binary
16-bit unsigned binary
16-bit signed binary
16-bit unsigned binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
ENO:=SCL_U(EN,s1,s2,d);
ENO:=SCLP_U(EN,s1,s2,d);
Data type (label)
ANY16_S
ANY16_U
*1
*2
ANY16_S
*1
*2
ANY16_U
ANY16_S
ANY16_U
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.12 Data Control Instructions
7
869