Mitsubishi Electronics FX3S Garage Door Opener User Manual


 
670
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
29 Data Table Operation – FNC250 to FNC269
29.4 FNC259 – SCL / Scaling (Coordinate by Point Data)
29.4 FNC259 – SCL / Scaling (Coordinate by Point Data)
Outline
This instruction executes scaling of the input value using a specified data table, and outputs the result.
SCL2 (FNC269) is also available with a different data table configuration for scaling.
For SCL2 (FNC269) instruction, refer to Section 29.7.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (SCL and SCLP)
The input value specified in is processed by scaling for the specified conversion characteristics, and stored to a
device number specified in . Conversion for scaling is executed based on the data table stored in a device
specified in and later.
If the output data is not an integer, however, the number in the first decimal place is rounded.
For the method to set the conversion table for scaling, refer to the next page.
Operand Type Description Data Type
Input value used in scaling or device number storing the input value
16- or 32-bit binaryHead device number storing the conversion table used in scaling
Device number storing the output value controlled by scaling
Oper-
and
Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
 


Conversion setting data table for scaling
Set item
Device assignment in
setting data table
Number of coordinate points
(“5” in the case shown in the left
figure)
Point 1
X coordinate
+1
Y coordinate
+2
Point 2
X coordinate
+3
Y coordinate
+4
Point 3
X coordinate
+5
Y coordinate
+6
Point 4
X coordinate
+7
Y coordinate
+8
Point 5
X coordinate
+9
Y coordinate
+10
P
FNC 259
SCL
D
Mnemonic Operation Condition
16-bit Instruction
7 steps
SCL
SCLP
Mnemonic Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
13 steps
DSCL
DSCLP
Continuous
Operation
Pulse (Single)
Operation
S
1
S
2
D
S
1
S
2
D
S
1
D
S
2
FNC259
SCL
Operation
error
Output
value
( )
Point 2
X
Y
Operation is enabled.
Command
input
S
1
S
2
D
Operation
error
Point 5
Point 3
Point 4
Point 1
D
Input value ( )S
1
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2