Basic Principles of Serial Data Transmission
2.8 Configuration data
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
Manual, 09/2008, A5E02191071-01
107
Starting a new page (\F)
Taking into account the assigned page layout, i.e. the configured headers and footers and
the number of lines per page, the \F control statement can be used to begin a new page.
This differs from a pure form feed on the printer.
Example: (Starting a new page)
Format string = \F
Note
In the case of the \F control statement, there must be no further text, conversion statements,
or control statements in the format string. The variables remain unassigned.
Printing without a line break (\x)
The CP 341 normally appends the assigned end-of-line character (CR, LF, CR LF, LF CR)
when it sends a message text. The \x control statement cancels the line break after a
message text. This means that you can print several message texts in a single line in order,
for example, to display more variables in a line. The \x control statement is appended at the
end of the format string.
Example: The level "200" l was reached at "17:30" hours. ...
Format string = The level %i l was reached at %Z hours.\x
Variable 1 = time
Variable 2 = level
Note
Note that when you use the \x control statement, the new line always begins without a left
margin.
Notes about control statements
Note the following in relation to control statements:
●
If the deactivation of an effect is requested without it previously having been activated, or
if the output device is incapable of producing the effect, the control statement is ignored.
●
The % and \ characters required to define the format string can be printed by means of
the control statement.
●
Undefined or invalid control statements are not executed.
长沙工控帮教育科技有限公司
www.gkbpx.com