Panasonic FP7 Series Command Reference Manual page 740

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

14.20 SSRC (String Search)
Area in which the string to be searched for is
(a)
stored
(1) Character count
(Note 1)
Using the low byte of DT11 at the beginning of the string table as a reference, the relative position of
the low byte of DT13 is calculated as a value 5, based on where it matches with string "EFG".
Example 2) When the string "EF" being searched for is found in two locations on the
string table after DT11
[S1]...DT0 [S2]...DT10 [S2]...DT120
Area in which the string to be searched for is
(a)
stored
(1) Character count
(Note 1)
Using the low byte of DT11 at the beginning of the string table as a reference, the relative position for
the low byte of DT12 is calculated as a value 3, based on where it matches with string "EF" first.
Precautions for programming
For [S1], the number of characters to search for in a string, specify the number of characters to
be searched for.
In the following figure, 1 is specified for the number of characters, and the string "A" is searched
for. When 2 is specified for the number of characters, the string "AB" is searched for.
(1) Character count
14-90
(b) String table that is searched
(2) Number of matching strings
(3) Relative position of matching string
(b) String table that is searched
(2) Number of matching strings
(3) Relative position of matching string
(Note 1)
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents