Mitsubishi Electric FX3G SERIES Programming Manual page 675

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

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
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)
S
+1,
S
] is processed by scaling for the specified conversion characteristics,
1
1
D
S
+1,
2
S
S
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
S
] and later.
2
Conversion setting data table for scaling
Set item
D
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 next page.
Device assignment in setting data table
32-bit operation
S
S
[
+1,
2
S
S
[
+3,
2
[
S
+5,
S
2
[
S
+7,
S
2
[
S
+9,
S
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
+1,
S
2
X coordinate
S
S
[
+3,
2
Y coordinate
S
S
[
+5,
2
X coordinate
[
S
+7,
S
2
Y coordinate
[
S
+9,
S
2
X coordinate
[
S
+11,
2
Y coordinate
[
S
+13,
2
X coordinate
S
[
+15,
2
Y coordinate
S
[
+17,
2
X coordinate
S
[
+19,
2
Y coordinate
S
[
+21,
2
+1,
S
2
]
2
+2]
2
+4]
2
+6]
2
+8]
2
S
+4n-2]
2
S
+4n]
2
Point 10(400,7)
X
21
22
]
2
23
+2]
2
+4]
2
+6]
2
+8]
2
S
+10]
24
2
S
+12]
2
S
+14]
2
S
+16]
2
S
+18]
2
25
S
+20]
2
] and
S
2
26
27
28
29
30
673

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents