OMRON CHAPTER 3 – Points
Release 2.0 Page 43
Hello to two decimal places the value of MyRealpoint is 5467.76
The can be used in various fields, for example:
• In Alarm Raised and Cleared Messages e.g.
Alarm Raised: “Boiler Temperature too high. Current value is
((“%.1d”, BoilerTemp))”
• As captions for popup edit box animations. This is useful as the captions are then
dynamically translated e.g.
Caption: “((CaptionString))”
• As parameter to MessageBox. This is useful to help convert numbers to strings e.g.
MessageBox(“Error ((ErrorNum)) occurred”)
• As parameter to LogError or LogEvent. This too is useful to help convert numbers to strings
e.g.
LogError(“Error ((ErrorNum)) occurred”, priority)
• Titles in Graphs and Charts (useful for translations again) e.g.
Title: “((TitleString))”
• In Tooltips, for dynamic information
Tooltip text: “((ToolTipString))”
• In Report templates. See Script Reference GenerateReport() for more information.
See Chapter 6, Point Substitution Settings and FAQ – Creating Reports and HTML Reports for
related information