Siemens Simatic S7-300 CP 341 User Manual page 102

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

Advertisement

Basic Principles of Serial Data Transmission
2.8 Configuration data
Output by means of message text number (%N)
Use the N display type to start printing message texts stored on the CP 341. The conversion
statement variable contains the number of the message text.
Example: The pressure in the chamber "is falling"
Format
string
Variable 1
Variable 2
Note
Within a message text, all conversion statements except for %N and all control statements
except for "\F" and "\x" are allowed! An explicit width setting of %N limits the printed length of
the referenced message text to the width indicated.
Setting the page number (%P)
Use the P display type to change the page number in the printout.
The CP 341 always begins a printout at page 1. This conversion statement allows you to set
the page number to a specific value. The conversion statement variable contains the page
number to be set.
Example: (Setting the page number to 10)
Format
string
Variable 1
Note
In the case of the P display type, there must be no further text, conversion statements, or
control statements in the format string. The P display type is not permitted in configured
message texts.
102
www.gkbpx.com
= %N %S
= 17 (message text no. 17: The pressure in the chamber ...)
= reference to string (string variable: ... is falling)
= %P
= 10 (page number: 10)
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
Manual, 09/2008, A5E02191071-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents