140
4
4 Instructions4.4.4 Table Operations
◆
Application
SCL2: Coordinate determination 2 (X and Y coordinates)
◆
Overview
The SCL2 instruction determines the coordinates of an input value based on the designated data table and
outputs the resulting value.
SCL2 S1 S2 D
Coordinate
determination 2
(X and Y coordinates)
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)
SCL2: Continuous
execution
SCL2P: Pulse
execution
32-bit instruction
(13 steps)
DSCL2: Continuous
execution
DSCL2P: 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.