Using the Text Display Wizard to Configure the S7-200 CPU for Your Text Display (TD) Device
4.5 Configuring the Alarms
Text Display (TD) User Manual
System Manual, 08/2008, A5E00765548-03
93
Embedding a Variable into the Text of an Alarm
You can embed a variable data field into the text of the alarm. To embed a variable, move
the cursor to the location for the variable in your text and click the Insert PLC Data button. As
shown in the figure below you enter the following information:
Tip
For the TD 200, TD 200C, and the TD400C, you can embed up to 6 variables per alarm. For
the TD 100C, you can embed up to 1 variable per line (1 for one-line alarms, and 2 for two-
line alarms).
● Data address:
– VB: Numeric String, Text String
– VW: Signed, Unsigned
– VD: Real, Signed, Unsigned
● Data Format: Signed, Unsigned, Real, Numeric String, or Text String
● Digits to the right of the decimal: Up to 7
– The TD device rounds a real number to the specified decimal place. For example, if
the real number value is 123.456 and you select 2 digits to the right of the decimal, the
TD 200 displays this value as: 123.46.
Figure 4-28 Inserting a Variable into the Text of an Alarm
Tip
Refer to the SIMATIC S7-200 Programmable Controller System Manual for information
about data types or for the memory addresses supported by the S7-200 CPU.
You can also allow the operator to modify the data stored at this memory location in the S7-
200 CPU.
● You can require the operator enter the TD password before editing the variable. (You
must have enabled password-protection for the TD device.)
● You can configure the cursor to jump to the variable field.
● You can define a symbolic name for the variable. You use the symbolic name to access
this data with your user program.
Clicking OK inserts the variable into the text of the alarm. The Text Display wizard inserts a
block of 4 characters to show the presence of the variable. The value to be displayed for the
variable is right-justified at that location (anchored to the right-most character).