Basic Principles of Serial Data Transmission
2.7 Parameterization Data
PtP coupling and configuration of CP 340
78
Manual, 04/2011, A5E00369892-03
Conversion statement
The figure illustrates the structure of a conversion statement schematically.
5HSUHVHQWDWLRQ
W\SH
3UHFLVLRQ
:LGWK
)ODJ
Figure 2-21 Schematic structure of a conversion statement
Flag
Without = Right-justified output
–
= Left-justified output
Width
Withou
t
= Output in the standard representation
N
= Exactly n characters are output (up to 255 characters are possible); blanks may
be added before (right-justified output) or after (left-justified output).
Precision
Precision is only relevant to display types A, D, F, and R. It is ignored otherwise.
Without = Output in the standard representation (see table below)
.0
= No output of decimal points and decimals in real (R) and floating point (F) format.
.n
= Output of decimal point and n (1 to 99) significant decimal positions in real (R)
and floating point (F) display types. In the case of dates (= display types A and
D), precision relates to the number of digits used for the year. Only 2 and 4 are
permitted for dates.
Please note that the precision is always preceded by a period. The period serves to identify it
and separate it from the width.
Summary of Contents for SIMATIC CP 340
Page 6: ...Preface PtP coupling and configuration of CP 340 6 Manual 04 2011 A5E00369892 03 ...
Page 10: ...Table of contents PtP coupling and configuration of CP 340 10 Manual 04 2011 A5E00369892 03 ...
Page 200: ...Index PtP coupling and configuration of CP 340 200 Manual 04 2011 A5E00369892 03 ...