Panasonic FP7 Series Command Reference Manual page 715

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

Advertisement

This example includes a tab code, a body (a conversion form for 1 datum is inserted), and a
linefeed code.
"¥t Floor A is %d degrees C.¥n
● Tab code (\t) is converted to ASCII code HT (09h).
● The body is converted to the supported ASCII code.
● In the part where a conversion form is inserted, the output data specified by [S2] is stored as
ASCII code, according to the conversion form. For more information about the conversion
form, refer to
"14.14 PRINT/EPRINT Instruction Shared Conversion Form Table"
● Linefeed code (\n) is converted to ASCII code CR+LF (0A0Dh).
Restrictions
● Up to 4096 characters can be specified for the text creation form. An operation error occurs
when it exceeds 4096 characters.
● Up to 16 digits can be specified for one conversion form. An operation error occurs when it
exceeds 16 digits.
● The maximum number of characters after conversion for a single datum excluding %s and
%S is 32. An operation error occurs when it exceeds 32 characters.
● The maximum number of characters for %s or %S after conversion is 4096.
● All strings that are not recognized as conversion forms are treated as main texts.
Example: Conversion forms that do not allow upper case characters (%D, etc.)
Character strings that contain characters not recognized as discriminant characters of
conversion forms (%A, %Z, etc.)
● To enter "%" in the body, specify "%%" (% x 2).
Operand [S2] setting
● Specify the starting address of the device storing the data to be output in the create text
form.
● Arrange conversion data in the order specified in the conversion form.
● As for character data for %s, the data storing the number of (1-byte) characters is specified
at the beginning. It can be set using the SSET instruction.
WUME-FP7CPUPGR-12
Line feed code
Conversion form
Text
Tab code
14.13 PRINT (Text Creation)
14-65

Advertisement

Table of Contents
loading

Table of Contents