134
4
4 Instructions4.4.4 Table Operations
2) 32-bit instruction
The output value in [D+1, D] is generated based on the input value in [S3+1, S3] and controlled within the
range dened by the lower and upper limits respectively set in [S1+1, S1] and [S2+1, S2].
[S1+1, S1] -> [D+1, D] when [S1+1, S1] > [S3+1, S3];
[S2+1, S2] -> [D+1
,
D] when [S2+1, S2] < [S3+1, S3];
[S3+1, S3] -> [D+1, D] when [S1+1, S1] ≤ [S3+1, S3] ≤ [S2+1, S2].
If only the upper limit is applied, set the 32-bit minimum signed value –2,147,483,648 in the lower limit
setting [S1+1, S1].
If only the lower limit is applied, set the 32-bit maximum signed value 2,147,483,647 in the upper limit
setting [S2+1, S2].
An error is returned in the following condition. The error ag M8067 is set to ON to identify this error and
the error code is stored in D8067.
For the 16- and 32-bit instructions, error 6706 is returned when the lower limit is greater than the upper
limit.
◆
Application