■
Processing
Example 1) Setting the 11 characters of the string "ABC1230 DEF" in DT0
“ABC1230 DEF”
11 (Number of characters)
H 42 H 41
H 31 H 43
H 33 H 32
H 20 H 30
H 45 H 44
H 46
(B)
(1)
(3)
( )
(E)
(A)
(C)
(2)
(0)
(D)
(F)
DT0
DT1
DT2
DT3
DT4
DT5
DT6
Byte address
Higher
Example 2) Setting 256 characters to DT0, repeating a set of the 16 characters from
A to P
“ABCDE…LMNOP”
256 (Number of characters)
H 42 H 41
H 44 H 43
H 46 H 45
H 4C H 4B
H 4D
(B)
(D)
(F)
(L)
(A)
(C)
(E)
(K)
(M)
DT0
DT1
DT2
DT3
DT126
DT127
Byte address
H 50
H 4F
(P) (O)
DT128
H 4E
(N)
・・・
・・・
Higher
■
Precautions for programming
● The character data of the [D] area from before performing the operation is overwritten.
■
Flag operations
Name Description
SR7
SR8
(ER)
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.
■
Reference: Using FPWIN GR7 to enter instructions
Use the following procedure to enter instructions.
1. Press <Func (F6)>.
The "Instruction list (Func)" dialog box is displayed.
2. Enter "SSET".
3. Enter a space.
4. Either select the ASCII shown in the pull-down menu, or enter a double quotation mark.
5. Enter a user-defined string to be specified by operand [S].
6. Enter a double quotation mark.
7. Enter a space.
8. Enter the device number for the desired device.
14.12 SSET (Conversion: Character Constant → ASCII Code)
WUME-FP7CPUPGR-12 14-61