Basic Principles of Serial Data Transmission
2.7 Parameterization Data
PtP coupling and configuration of CP 340
84
Manual, 04/2011, A5E00369892-03
Control instructions
Control instructions are used to achieve specific results in the printout (e.g., underlining).
In addition to the standard control instructions (for bold, condensed, expanded, or italic type
and underlining), you can also use other control characters if you enter them in the control
character table on the CP 340: Point-to-Point Communication, Parameter Assignment user
interface before parameterizing the CP 340.
The figure illustrates the structure of the control instruction schematically.
?
?
%
&
(
,
.
8
2XWSXWRIWKHFKDUDFWHU
VWDQGDUGFRQWUROVWDWHPHQW
2XWSXWRIWKHFKDUDFWHU?
6ZLWFKRQ
%ROGW\SH
&RQGHQVHGW\SH
([SDQGHGW\SH
,WDOLFW\SH
6PDOOFDSLWDOV
8QGHUOLQLQJ
6ZLWFKRII
Figure 2-22 Schematic structure of control instructions
Examples
Below are some examples with control instructions.
Example 1:
To output a text with "bold" and "underlining" on the printer, make the following entries:
\BBold type\-B and \UUnderlining\-U are ways of highlighting a text.
Example 2:
To output the format string with the conversion statement "Message text no. %i of %8.2A"
transparently on the printer, you have to enter the following:
'Message text no. \%i of \%8.2A'
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 ...