7 Applied Instructions
7.23 Data Table Operation
713
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
Function and operation explanation
1. 16-bit operation (SCL/SCLP)
The input value of the device specified by is processed by scaling for the specified conversion
characteristics, and stored to a device number specified by . 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.
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
SCL
EN
s1
ENO
d
s2
Command
input
*1
*2. Head device storing the conversion table used in scaling
*2
*3
*3. Device storing the output value controlled by scaling
*1. Input value used in scaling or device storing the input value
Operation
error
Output
value
Point 1
Point 2
Point 3
Point 4
Point 5
X
Y
Operation is enabled.
Operation
error
Input value( )
s1
(
d
)