Panasonic FP7 Series Command Reference Manual page 745

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

Advertisement

Processing
Example 1) Taking out the first five characters from the DT0 string to transfer them
to DT20
[S1]...DT0
Characters to search
DT0
8 (No. of characters)
DT1
DT2
DT3
DT4
DT5
DT6
Byte address High Low Byte address High Low
Example 2) The number of characters of [S2] is larger than the number of characters
in the string of [S1]
[S1]...DT0
Characters to search
DT0
3 (No. of characters)
DT1
DT2
DT3
DT4
DT5
DT6
Byte address High Low Byte address High Low
Precautions for programming
● The character data of the [D] area from before performing the operation is overwritten.
● When the number of characters of [S2] is greater than the number of characters in the string
of [S1], the transferal is performed for the number of characters of [S1].
Flag operations
Name
SR7
SR8
(ER)
WUME-FP7CPUPGR-12
14.22 LEFT (Takeout of the Left Side of a String)
[S2]...U5
[D]...DT20
"B"
"A"
"D"
"C"
"1"
"E"
"3"
"2"
[S2]...U7
[D]...DT20
"B"
"A"
"C"
Description
To be set in the case of out-of-range in indirect access (index modification).
To be set when the destination range is outside the accessible range.
To be set when [S2] (number of characters) is out of the range.
String table that is searched
DT20
5 (No. of characters)
DT21
"B"
"A"
DT22
"D"
"C"
DT23
"E"
DT24
DT25
DT26
String table that is searched
DT20
3 (No. of characters)
DT21
"B"
"A"
DT22
"C"
DT23
DT24
DT25
DT26
14-95

Advertisement

Table of Contents
loading

Table of Contents