672
7 APPLICATION INSTRUCTIONS
7.13 Data Control Instructions
• There are two searching methods that depend on whether SM750 is on or off.
• When the scaling conversion data are set in ascending order, the searching methods change from one to the other
depending on the SM750 status. Therefore, the processing speed also changes. The number of searches determines the
processing speed. Fewer number of searches make the processing run faster.
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
SM750 Searching method Range of number of searches
OFF Sequential search 1 Number of times 32767
ON Binary search 1 Number of times 15
• If the data processing speed with the sequential search rises:
If the number of coordinates is highest and the input value (S1) is within the coordinate range from 1 to 15 point, the number of sequential searches will be 15 or
smaller. Therefore, the data processing speed with the sequential search will rise.
• If the data processing speed with the binary search rises:
If the maximum number of searches is 15 and the input value (S1) is out of the coordinate range, 16 or over, the number of binary searches will be equal to the
number of sequential numbers or smaller. Therefore, the data processing speed with the binary search will rise.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 The X coordinates of the scaling conversion data positioned before the point
specified in (S1) are not set in ascending order. (However, this error is not
detected when SM750 is on.)
The input value specified in (S1) is not within the range of the scaling
conversion data set.
The number of X and Y coordinates of the device specified in (S2) is not
within the range from 1 to 32767.
4101 The number of X and Y coordinates of the device specified in (S2) is not
within the specified range.
(S1) (S1)
Number of coordinate points=32767 Number of sequential searches=32767
Number of binary searches=15
Number of sequential searches=1
Number of binary searches=15
The processing speed with sequential searches rises since
the number of binary searches is larger than the number of
sequential searches.
The processing speed with binary search
rises since the number of binary searches is
smaller than the number of sequential searches.