Panasonic FP7 Series Command Reference Manual page 782

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

Advertisement

14.33 ERIGHT (Takeout of the Right Side of a String: With Storage Area Size)
(a) Area in which the string to be taken out is stored
(1) Storage area size
Precautions for programming
● 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].
● When the number of characters in [S2] is larger than the storage area size of [D], the
transferal is performed for the storage area size of [D].
● When specifying with a character constant, the maximum is 256 characters.
● When specifying an empty string for [S1], the result is always 0.
Flag operations
Name
SR7
SR8
(ER)
SR9 (CY)
14-132
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.
To be set when the number of characters is larger than the storage area size for [S1].
To be set when a data table with a storage area size of 0 or 65535 is specified.
To be set when the number of characters taken out is larger than the storage area size of
[D].
(b) Area in which the string that is taken out is stored
(2) Character count
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents