Conversion And Control Statements For Printout; Figure 2-28 Schematic Structure Of The Format String - Siemens Simatic S7-300 CP 341 User Manual

Point-to-point communication, installation and parameter assignment
Table of Contents

Advertisement

2.8.5

Conversion and control statements for printout

Introduction
The output of a message text with variables and control statements (e.g., for bold,
condensed, expanded, or italic type and underlining) is defined by means of a format string.
In the format string you can also define statements to execute other useful functions for
printout (e.g., to set a page number or start a new page).
All the permissible characters and display types for the format string are described below.
You can also configure all the described control statements (except \F "start new page" and
\x "print without line break") and conversion statements for variables (except for %P "set
page number") in the message texts using the CP 341: Point-to-Point Communication,
Parameter Assignment parameter assignment interface.
Format string
The figure illustrates the structure of the format string schematically.
A format string can contain normal text and/or conversion statements for variables and/or
control statements. Normal text, conversion statements, and control statements can occur in
any sequence in the format string.
There must be one (and only one) conversion statement for each variable in the format string
or message text. The conversion statements are applied to the variables in the sequence in
which they occur.
Figure 2-28
Permissible characters for text
The following can be specified as text:
● All printable characters
● All characters preceded by $ at the language interface (ICE 1131-3). The language
compilers convert these characters into the corresponding hex code. Exception: The
character $N is not permitted.
Example: Carriage return ODH = $R in the format string
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
Manual, 09/2008, A5E02191071-01
www.gkbpx.com
Schematic structure of the format string
Basic Principles of Serial Data Transmission
2.8 Configuration data
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents