Mitsubishi MELSEC-Q/L Programming Manual page 562

Table of Contents

Advertisement

SCL, SCLP, DSCL, DSCLP
(2) The following program performs zone control by applying negative and positive bias values of -10000 to 10000 for the
data set at D0 and D1 and stores the result of control at D10 and D11 when X1 is turned ON.
[Ladder Mode]
[Operation]
• The value (D1, D0) + (-10000) is stored at (D11, D10) if (D1, D0)
Example
(D1,D0) -12345 (D11,D10) -22345
• The value 0 is stored at (D11, D10) if (D1, D0)
• The value (D1, D0) + 10000 is stored at (D11, D10) if 0
Example
(D1,D0) 50000 (D11,D10) 60000
7.13.4
SCL, SCLP, DSCL,
Scaling (Coordinate data by point)
DSCLP
7.13.4
SCL, SCLP, DSCL, DSCLP
SCL, DSCL
SCLP, DSCLP
: Input values for scaling or head number of the device where input values are stored(BIN 16/32 bits)
S1
: Head number of the devices where scaling conversion data are stored(BIN 16/32 bits)
S2
: Head number of the devices where output values depending on scaling are stored(BIN 16/32 bits).
D
Setting
Internal Devices
Data
Bit
Word
––
S1
––
S2
––
D
Function
SCL(P)
(1) This instruction executes scaling for the scaling conversion data (16-bit data units) specified by
specified by
, and then stores the operation result into the devices specified by
S1
The scaling conversion is executed based on the scaling conversion data stored in the device specified by
Scaling conversion data component
Setting item
Device assignment
S2
Number of coordinate points
X coordinate
S2
+1
Point 1
Y coordinate
S2
+2
X coordinate
S2
+3
Point 2
S2
Y coordinate
+4
X coordinate
S2
+2n 1
Point n
Y coordinate
S2
+2n
n indicates the number of coordinates
specified by (S2).
560
[List Mode]
Step
0.
Command
Command
J
\
R, ZR
Bit
Word
Y
Point 2
Output
Point 3
D
value
Point 1
Input value
S1
Operation error
Operable range
Device
Instruction
0.
(D1, D0).
High
Basic
Process
performance
• QnU(D)(H)CPU, QnUDE(H)CPU: The serial number (first five
digits) is "10102" or later.
indicates an instruction symbol of
S1
S2
S1
S2
P
Zn
U
\G
––
.
D
Point n
Point n 1
X
Operation error
Ver.
Redundant
Universal
LCPU
SCL/DSCL
.
D
D
Constants
Other
K, H
––
––
––
––
––
with the input value
S2
and up.
S2

Advertisement

Table of Contents
loading

Table of Contents