EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 716

Mitsubishi Electric MELSEC FX Series
838 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Applied Instructions
7.23 Data Table Operation
714
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
2. 32-bit operation (DSCL/DSCLP)
The input value specified by is processed by scaling for the specified conversion table, 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.
Conversion setting data table for scaling
3. Setting the conversion table for scaling
The conversion table for scaling is set based on the data table stored in a device specified in and later.
The data table has the following configuration:
For a setting example, refer to the next page.
Set item
Device assignment in
setting data table
Number of coordinate points
("5" in the case shown in the left figure)
[+1,]
Point 1
X coordinate
[ +3, +2]
Y coordinate
[ +5, +4]
Point 2
X coordinate
[ +7, +6]
Y coordinate
[ +9, +8]
Point 3
X coordinate
[+11,+10]
Y coordinate
[+13,+12]
Point 4
X coordinate
[+15,+14]
Y coordinate
[+17,+16]
Point 5
X coordinate
[+19,+18]
Y coordinate
[+21,+20]
Set item
Device assignment in setting data table
16-bit operation 32-bit operation
Number of coordinate points
[+1,]
Point 1
X coordinate
+1 [ +3, +2]
Y coordinate
+2 [ +5, +4]
Point 2
X coordinate
+3 [ +7, +6]
Y coordinate
+4 [ +9, +8]
...
...
...
...
Point n (last)
X coordinate
+2n-1 [ +4n-1, +4n-2]
Y coordinate
+2n [ +4n+1, +4n]
Operation
error
Point 1
Point 2
Point 3
Point 4
Point 5
X
Y
Operation is enabled.
Operation
error
Input value( )
s1
(
d
)
Output
value
DSCL
EN
s1
ENO
d
s2
Command
input
Label 1
*1
Label 2
*2
Label 3
*3
This defines the input value used in scaling or
device storing the input value.
*1.
This defines the head device storing the conversion
table used in scaling.
*2.
This defines the device storing the output value
controlled by scaling.
*3.

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals