Panasonic FP7 Series Command Reference Manual page 716

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

Advertisement

14.13 PRINT (Text Creation)
Example:
SSET "Floor" DT112
S1 = "%d %u %x %b %f %e %Lg %s"
S2 = DT100
Result: -1 65535 ffff 1000 123.4567 123.4567 123.456789 Floor
DT100
DT101
DT102
DT103
DT104
SF 123.4567
DT105
DT106
SF 123.4567
DT107
DT108
DT109
DF 123.456789
DT110
DT111
DT112
DT113
H 6c (l)
DT114
H 6f (o)
DT115
Setting example
Example 1) When inserting into the text two conversion forms (%d) that represent
16-bit signed integers and a linefeed code (\n)
In the place of the conversion form (%d), the ASCII code that is equivalent to the integer data
specified by [S2] is inserted. If a number of digits is not specified for the conversion form, the
number of converted data and the size of the storage area will vary according to the value [S2].
14-66
H FFFF
Data for %d
H FFFF
Data for %u
H FFFF
Data for %x
H 1000
Data for %b
Data for %f
Data for %e
Data for %Lg
Data for %s No. of byte
K 5
H 46 (F)
H 6f (o)
**
H 72 (r)
Data part
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents