Panasonic FP7 Series Command Reference Manual page 758

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

Advertisement

14.27 EPRINT (Text Creation: With Storage Area Size)
Example of the create text form
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
● 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 of the conversion form specified for [S1].
● For the character data for %s and %S, specify data storing the number of (1-byte) characters
in the starting word. String data can be set with the ESSET instruction.
14-108
Line feed code
Conversion form
Text
Tab code
Table".
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents