hit counter script

Fnc259 - Scl / Scaling (Coordinate By Point Data) - Mitsubishi Electric FX3G SERIES Programming Manual

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
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.
1. Instruction format
FNC 259
D
SCL
2. Set data
Operand Type
S
1
S
2
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
1
S
2
D
Explanation of function and operation
1. 16-bit operation (SCL and SCLP)
The input value specified in
device number specified in
specified in
S
2
If the output data is not an integer, however, the number in the first decimal place is rounded.
Command
input
FNC259
Y
Output
value
(
)
D
Point 1
Operation
error
672
Mnemonic
16-bit Instruction
SCL
P
7 steps
SCLP
Input value used in scaling or device number storing the input value
Head device number storing the conversion table used in scaling
Device number storing the output value controlled by scaling
Digit Specification
is processed by scaling for the specified conversion characteristics, and stored to a
S
1
D
. Conversion for scaling is executed based on the data table stored in a device
and later.
→ For the method to set the conversion table for scaling, refer to the next page.
S
S
1
2
SCL
Point 2
Point 5
Point 3
Point 4
Input value (
S
)
1
Operation is enabled.
29 Data Table Operation – FNC250 to FNC269
29.4 FNC259 – SCL / Scaling (Coordinate by Point Data)
→ For SCL2 (FNC269) instruction, refer to Section 29.7.
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
Conversion setting data table for scaling
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
Mnemonic
Operation Condition
DSCL
13 steps
DSCLP
16- or 32-bit binary
Others
Con-
Real
Index
stant
Number
V
Z Modify K
H
E
Device assignment in
Set item
setting data table
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
+5
2
Y coordinate
S
+6
2
X coordinate
S
+7
2
Y coordinate
S
+8
2
X coordinate
S
+9
2
Y coordinate
S
+10
2
Continuous
Operation
Pulse (Single)
Operation
Data Type
Charac-
Pointer
ter String
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents