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
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: ......