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 #82 background imageLoading...
Page #82 background image
Basic Principles of Serial Data Transmission
2.7 Parameterization Data
PtP coupling and configuration of CP 340
82 Manual, 04/2011, A5E00369892-03
You must use control instructions to specify formatting (line feed, tabs, etc.) in a message
text or in the printout of a long conversion statement.
If both the format string and the message text contain conversion statements, the format
string is expanded first, followed by the message text.
Example: Voltage 3 V – Current 2 A
Message text 1 = Voltage %I V
Format string = '%N – Current: %I A'
Variable 1 = 1
Variable 2 = 2
Variable 3 = 3
Examples of invalid conversion statements
Below are several examples of invalid conversion statements.
Example 1: ******.2R
Format string = %303.2R
Variable 1 = 1.2345E6
Error: Invalid width in the R display type. The maximum permissible value for all display
types is 255.
Example 2: ****
Format string = %4.1I
Variable 1 = 12,345 DEC
Error: The selected width was too small for the variable value to be output. The precision is
not relevant to display type I.
Example 3: 96–10–3
Format string = %7.2D
Variable 1 = D#1996–10–31
Error: The format string is formally correct, but the selected width was too small to print the
date in full.
Example 4: **********
Format string = %.3A
Variable 1 = D#1996–10–31
Error: The default width of display type A was selected but with invalid precision. The
possible values here are 2 and 4.
Example 5: ******
Format string = %3.3
Variable 1 = 12,345 HEX
Error: A display type was not specified.

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