Panasonic FP7 Series Command Reference Manual page 762

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

Advertisement

14.27 EPRINT (Text Creation: With Storage Area Size)
Example 5) When inserting into the text two conversion forms (%s) that represent
strings
In the place of the conversion form (%s), the ASCII code that is equivalent to the string data
specified by [S2] is inserted. The number of digits of the data to insert, right align, and left align
are specified. Use the ESSET instruction to reset the [S2] string data.
- Image of mail text
Location: [ ˽ ˽ Nagoya], [Aichi ˽ ˽ ˽ ]
Right-aligned
- Setting values
S1="Location: %-8s, %8s"
S2=DT1
D=DT50
DT1
DT2
DT3
H 61 (a)
DT4
H 6F (o)
H 61 (a)
DT5
DT6
DT7
DT8
H 69 (i)
DT9
H 68 (h)
DT10
**
DT11
DT12
(Note 1)
The start area (storage area size) for [D] is set before executing this instruction.
(Note 2)
The data out of the destination range does not change.
(Note 3)
If %s (which represents string) is specified, it is left-aligned by default. If a minus sign is added to the
value for [S1], it is right-aligned.
The ␣ symbol in figures represents a space.
(Note 4)
Example 6) Combining the conversion forms (%s), (%d), and (%s) which represent
strings, and inserting a minus sign (-)
In place of the conversion forms (%s), (%d), and (%s), ASCII code that is equivalent to the data
specified by [S2] is inserted. Insert a minus sign. Use the ESSET instruction to reset the [S2]
string data area.
14-112
(*3)(*4)
Left-aligned
U 10
U 6
H 4E (N)
H 67 (g)
H 79 (y)
**
U 10
U 8
H 41 (A)
H 63 (c)
H 69 (i)
**
DT50
U 32
U 32
DT51
H 6F (o)
DT52
DT53
H 61 (a)
H 69 (i)
DT54
H 6E (n)
DT55
H 20 (SPACE)
DT56
H 20 (SPACE)
DT57
H 4E (N)
H 20 (SPACE)
DT58
H 67 (g)
DT59
DT60
H 79 (y)
H 5D (])
DT61
H 20 (SPACE)
DT62
H 41 (A)
DT63
H 63 (c)
DT64
H 69 (i)
DT65
H 20 (SPACE)
H 20 (SPACE)
DT66
H 5D (])
H 20 (SPACE)
DT67
Storage area size (*1)
No. of bytes
H 4C (L)
H 63 (c)
H 74 (t)
H 6F (o)
H 3A (:)
H 5B ([)
H 61 (a)
Data part
H 6F (o)
H 61 (a)
H 2C (,)
H 5B ([)
H 69 (i)
H 68 (h)
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents