EasyManuals Logo

Siemens SIMATIC CP 340 User Manual

Siemens SIMATIC CP 340
200 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #81 background imageLoading...
Page #81 background image
Basic Principles of Serial Data Transmission
2.7 Parameterization Data
PtP coupling and configuration of CP 340
Manual, 04/2011, A5E00369892-03
81
Setting the page number (%P)
Use the P display type to change the page number in the printout.
The CP 340 always begins a printout at page 1. This conversion statement allows you to set
the page number to a specific value. The conversion statement variable contains the number
to be set.
Example: (Setting the page number to 10)
Format string = %P
Variable 1 = 10 (page number: 10)
Note
In the case of the P display type, there must be no further text, conversion or control
instructions in the format string.
The P display type is not permitted in configured message texts.
Notes about conversion statements
Please note the following in relation to conversion statements:
Whenever a maximum length is specified for the default display, the actual output can
also be shorter. Example: The output of the integer 10 consists of only 2 characters.
The length of the data to be printed depends on the length of the variables. For example,
in the case of the I display type a maximum of 6 characters can be output for the INT data
type and a maximum of 11 characters for the DINT data type.
A width of "0" is not permissible in conversion statements. This is printed out as "******"
with the valid conversion statement.
If the specified width is too small, in the case of text-based output (display types A, C, D,
S, T, Y, and Z), only the number of characters corresponding to the specified width are
output (the output is truncated). In all other cases, * characters are output corresponding
to the width.
Undefined or invalid conversion statements are not executed. This is printed out as
"******" (e.g. display type missing: %2.2).
The rest of the conversion statement (i.e., everything after the character identified as
incorrect) is output. This allows the exact cause of the error to be determined.
Conversion statements without associated variables will be ignored. Variables for which
there is no conversion statement are not output.
Conversion statements that are not supported in a header or footer are not executed.
Instead, they are forwarded to the printer transparently.

Table of Contents

Other manuals for Siemens SIMATIC CP 340

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC CP 340 and is the answer not in the manual?

Siemens SIMATIC CP 340 Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC CP 340
CategoryComputer Hardware
LanguageEnglish

Related product manuals