Panasonic FP7 Series Command Reference Manual page 791

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

Advertisement

14.36 EMIDW (Rewrite from a Given Position in the String: With Storage Area
Area in which the string to
(a)
be taken out is stored
(1)
Storage area size
Precautions for programming
● When the number of characters of [S2] is larger than the number of characters in the string
of [S1], the transferal is performed for the number of characters in the string of [S1].
● The [n] position should be specified counting by a number counted from low order in
sequence, putting the least significant byte as K0 (Byte 0): 0, 1, 2 and so on.
● When the number of characters in the operation result 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
Description
To be set in the case of out-of-range in indirect access (index modification).
To be set when [S2] (number of characters) is out of the range.
SR7
To be set when the number of characters of [D] is smaller than [n].
SR8
To be set when the number of characters is larger than the storage area size for [S1] and
(ER)
[D].
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
SR9 (CY)
[D].
WUME-FP7CPUPGR-12
Destination area (before
(b)
transferring)
(2)
Character count
Destination area (after
(c)
transferring)
-
Size)
14-141

Advertisement

Table of Contents
loading

Table of Contents