Control characters for value objects
In some jobs of the EIBPORT it can assigns value objects. Therefore, it is necessary fill in control characters into the continuous text depending on the chosen EIS Value. At first the EIS Value must be parameterized. Values are placed between replacement characters β%β (always without quotes) and βfβ (to end the replacement characters string) within the text. With all numeric values the following format should be used:
%[Amount of integer digits. Amount of decimal digits]f
These replacement characters can be placed anywhere in the text.
Examples:
A floating-point digit should be displayed with five digits and two decimal places. Text entries:
β ... Text %5.2f Text ...β
Should the prefix be shown in the text, the following entries must be done. Text entries:
β ... Text -5.2f Textβ¦β
Should be displayed the appropriate numbers of digits correctly in the text the following entries has to be done:
β... Text %.1f Textβ¦β
If a percent sign should be displayed in the text, the sign must be entered twice:
βThe tank is filled up %.1f%%.β
Or (without decimal places):
βThe tank is filled up %.0f%%.β
The following text is then be displayed:
βThe tank is filled up 82.3%.β
Is an EIS 3 or EIS 54 type value chosen, a β%sβ must be entered into the continuous text.