Mitsubishi FX3G Series Programming Manual page 667

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
2. 32-bit operation (DSCL and DSCLP)
The input value specified in [
and stored to a device number specified in [
table stored in a device specified in [
If the output data is not an integer, however, the number in the first decimal place is rounded.
Command
input
FNC259
DSCL
Y
Output
value
(
)
D
Point 1
Operation
error
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 [
later.
The data table has the following configuration:
Set item
Number of coordinate points
Point 1
Point 2
Point n (last)
Setting example of the conversion table for scaling
A setting example for the 16-bit operation is shown below.
For the 32-bit operation, set each item using a 32-bit binary value.
In the case of the conversion characteristics for scaling shown in the figure below, set the following data table.
Y
Point 2
(20,30)
Point 1(5,7)
Series
S
+1,
S
] is processed by scaling for the specified conversion characteristics,
1
1
D
+1,
S
2
S
S
D
1
2
Point 2
Point 5
Point 3
Point 4
Input value (
S
)
1
Operation is enabled.
16-bit operation
S
2
X coordinate
S
+1
2
Y coordinate
S
+2
2
X coordinate
S
+3
2
Y coordinate
S
+4
2
X coordinate
S
+2n-1
2
Y coordinate
S
+2n
2
Point 6(200,250)
Point 3
(50,100)
Point 5
(200,70)
Point 4(200,25)
29 Data Table Operation – FNC250 to FNC269
29.4 FNC259 – SCL / Scaling (Coordinate by Point Data)
+1,
D
]. Conversion for scaling is executed based on the data
] and later.
S
2
Conversion setting data table for scaling
Set item
Number of coordinate points
("5" in the case shown in the left
figure)
Point 1
Point 2
X
Point 3
Operation
error
Point 4
Point 5
→ For a setting example, refer to the following.
Device assignment in setting data table
32-bit operation
S
S
[
+1,
2
2
[
S
+3,
S
2
2
S
S
[
+5,
2
2
S
S
[
+7,
2
2
S
S
[
+9,
2
2
S
[
+4n-1,
2
S
[
+4n+1,
2
Point 7
(250,90)
Point 8(350,90)
Point 9
(350,30)
Device assignment in
setting data table
S
S
[
+1,
2
2
X coordinate
S
S
[
+3,
2
2
Y coordinate
S
S
[
+5,
2
2
X coordinate
S
S
[
+7,
2
2
Y coordinate
S
S
[
+9,
2
2
X coordinate
S
S
[
+11,
2
Y coordinate
S
S
[
+13,
2
X coordinate
S
S
[
+15,
2
Y coordinate
S
S
[
+17,
2
X coordinate
S
S
[
+19,
2
Y coordinate
[
S
+21,
S
2
S
+1,
2
]
+2]
+4]
+6]
+8]
S
+4n-2]
2
S
+4n]
2
Point 10(400,7)
X
21
22
]
23
+2]
+4]
+6]
+8]
+10]
2
24
+12]
2
+14]
2
+16]
2
+18]
2
25
+20]
2
S
] and
2
26
27
28
29
30
665

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents