330
Jetter AG
10 Programming
10.9.5 Displaying numerical values
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
Page
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
Introduction
STX instruction
Formatting the display
format
Displaying numerical
values
Contents
Summary of Contents for JC-120MC
Page 1: ...User Manual JC 120MC Controller 60880901 We automate your success...
Page 18: ......
Page 40: ...40 Jetter AG 3 Identifying Hardware revisions see page 38 Related topics...
Page 160: ......
Page 186: ......
Page 196: ......
Page 485: ...Jetter AG 485 JC 120MC Programming Topic Page Programming 486 Registers 498 Contents...
Page 521: ...Jetter AG 521 JC 120MC Programming Use 29 bit identifier Default 11 bit identifier...
Page 586: ......
Page 604: ......
Page 633: ......