138
4
4 Instructions4.4.4 Table Operations
SCL: Coordinate determination (coordinates of different points)
◆
Overview
The SCL instruction determines the coordinates of an input value based on the designated data table and
outputs the resulting value.
SCL S1 S2 D
Coordinate
determination
(coordinates of different
points)
Applicable model:
H3U
S1 Input value
Input value subjected to coordinate determination, or
number of the element that stores the input value
16-bit instruction
(7 steps)
SCL: Continuous
execution
SCLP: Pulse
execution
32-bit instruction
(13 steps)
DSCL: Continuous
execution
DSCLP: Pulse
execution
S2 Table data
Start number of elements that store the conversion
table used for coordinate determination
D Output value
Number of the element that stores the output value
under coordinate control
◆
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
S2 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
◆
Function
1) 16-bit instruction
The output value in [D] that corresponds to the input value in [S1] is identied based on the graph
determined by the table in [S2]. If the output value is not an integer, the rst digit of the fractional part is
rounded.
The instruction is executed as follows:
Output value
[D]
Point 1
Point 2
Point 3
Point 4
Point 5
X
Y
[S]
Input value
Valid input range
The [S2] data organizational form in the 16-bit instruction is as follows: