Download Print this page

Scaling 16-Bit Binary Data (Point 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 16-bit binary data (point coordinates)

SCL(P)(_U)
These instructions process the scaling conversion data (in 16-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)
FBD/LD
EN
ENO
s1
d
s2
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
SCL(P)
Input value used in scaling or head device number storing
the input value
SCL(P)_U
(s2)
SCL(P)
Head device number where the scaling conversion data is
stored
SCL(P)_U
(d)
SCL(P)
Head device number storing the output value controlled by
scaling
SCL(P)_U
EN
Execution condition
ENO
Execution result
*1 The number of coordinate points of (s2) is 16-bit unsigned binary data.
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s1)
(s2)
(d)
8 APPLICATION INSTRUCTION
564
8.12 Data Control Instruction
(s2)
(d)
Word
T, ST, C, D, W,
SD, SW, R
Structured text
ENO:=SCL(EN,s1,s2,d);
ENO:=SCLP(EN,s1,s2,d);
Range
-32768 to +32767
0 to 65535
Double word Indirect
U\G
Z
LC
ENO:=SCL_U(EN,s1,s2,d);
ENO:=SCLP_U(EN,s1,s2,d);
Data type
16-bit signed binary
16-bit unsigned binary
*1
16-bit signed binary
16-bit unsigned binary
16-bit signed binary
16-bit unsigned binary
Bit
Bit
Constant
specification
LZ
K, H
Data type (label)
ANY16_S
ANY16_U
ANY16_S
*1
ANY16_U
ANY16_S
ANY16_U
BOOL
BOOL
Others
E
$

Hide quick links:

Advertisement

loading