Displaying Numerical Values - Jetter JC-120MC User Manual

Table of Contents

Advertisement

10 Programming

10.9.5 Displaying numerical values

Introduction
STX instruction
Formatting the display
format
Displaying numerical
values
Contents
330
This chapter describes displaying numerical values on HMIs and how to
parameterize the corresponding STX instruction. These numerical values may
be constants or contents of registers and variables.
To display numerical values, use the following STX instruction:
DisplayValue()
The display format of numerical values can be adapted to suit your needs. The
following parameters can be adjusted:
Display length
Number of decimal places
With or without sign
Displaying values in decimal or hexadecimal notation
When displaying numerical values the following formatting applies:
The numerical value is displayed right-aligned.
The sign is the first character which is output if the sign has not been
disabled before.
Positive values are preceded by a space character as sign. Negative
values are preceded by "-".
If the display field is too small, the leftmost figures are truncated.
The value is rounded to the set decimal places.
Topic
STX instruction for displaying numerical values ......................................... 331
Device numbers .......................................................................................... 332
Cursor position ............................................................................................ 334
Setting the length of the display field .......................................................... 336
Setting the sign option ................................................................................ 337
Setting the number of decimal places ......................................................... 338
Setting the format of numerical values ....................................................... 339
Page
Jetter AG

Advertisement

Table of Contents
loading

Table of Contents