
FP | 7.1 Details on the FP |
|
|
to insert a decimal sign into an integer display.
Format | PLC value | Display |
{DT201_7_.3i} | DT201=1234 | 1.234 |
|
|
|
{DT201_6_.4d} | DT201= | |
{DT201_7_05.2d} | DT201= 17 | 000.17 |
|
|
|
{DT201_16_.4lu} | DDT201= 12 | 0.0012 |
|
|
|
{DT201_5_.2X} | DT201= 12 | 0.0C |
|
|
|
g) Relay register
Format | Display FALSE | Display TRUE |
{R901D_0_1} | "0" | "1" |
|
|
|
{R901D_off_on} | "off" | "on" |
|
|
|
{R901D_0_1_2_3} | "0" | "1_2_3" |
{R901D_<img | Image icn1.gif | "ON" |
SRC="icn1.gif">_ON} |
| Note: Do not use spaces or the |
|
| character '_' in file names |
Further examples:
Additional basic format examples can be found in the online help under "Example2" and enhanced HTML PLC data formation in "Example13".
For PLC data entry (see page 89) the same tags are used for formatting.
7.1.8.2 Comments
•The PLC data tag can also be used in XML files for data exchange. Please find details under "Notes on XML Files with PLC data (see page 97)".
•In the text parameters aa and bb, which specify texts for the internal relay's statuses, it is also possible to use complex HTML blocks, e.g. to display graphics.
•Please do not use special characters and umlauts in {...} PLC data fields (and/ or the format parameters aa and bb). The following characters are strictly forbidden: " _ % \ < > & ' ?
•PLC data display fields can also be used in the [VALUE] field of the [SUBMIT] input fields to indicate an (editable) output value.
•Strings to be displayed have a maximum length of 52 characters. For PLC data input fields, only strings with 48 characters are possible.
•The special characters < and > are transcribed as ¼ and ¾ characters when a string is
81