Jetter AG
331
JC-120MC
Programming
STX instruction for displaying numerical values
Function
DisplayValue(Dev:Int,
Pos:Int,
Value:Double);
Parameter
Value
Description
Dev
0 ... 4
Number of the device where the
value is to be output
Pos
1 ... Possible number of
characters on the screen
Cursor position starting from which
the value is to be displayed.
Value
Value to be displayed
Constant value, name of a register
or a variable
How to invoke the instruction to display a value:
DisplayValue(
0
,
1
, -
12.345
);
DisplayValue(
0
,
25
, Axis2.Position);
The first STX instruction causes the value
-12,345
to be displayed starting at
cursor position 1. The second STX instruction causes the content of the
variable
Axis2.Position
to be displayed starting at cursor position 25.
Both numerical are displayed on the default device (Dev = 0).
Function declaration
Function parameters
How to use this
instruction
How it works
Содержание JC-120MC
Страница 1: ...User Manual JC 120MC Controller 60880901 We automate your success...
Страница 18: ......
Страница 40: ...40 Jetter AG 3 Identifying Hardware revisions see page 38 Related topics...
Страница 160: ......
Страница 186: ......
Страница 196: ......
Страница 395: ...Jetter AG 395 JC 120MC Programming Result When initializing the JX2 system bus the adjusted baud rate values were used...
Страница 485: ...Jetter AG 485 JC 120MC Programming Topic Page Programming 486 Registers 498 Contents...
Страница 521: ...Jetter AG 521 JC 120MC Programming Use 29 bit identifier Default 11 bit identifier...
Страница 586: ......
Страница 604: ......
Страница 633: ......