200
Jetter AG
10 Programming
Digipot
The JVM-407B has a digipot with pushbutton feature, which offers a
convenient input option. The following provides details of the digipot's special
registers with a corresponding sample program.
The following special registers exist for the digipot:
Register
Description
363000
This register holds the current count value. If you turn the digipot, the
count value increments or decrements. The following rule applies:
Turning the digipot clockwise
= incrementing the register
Turning the digipot counter-clockwise
= decrementing the register
363001
Bit 0: 0 = Pusbutton not pressed
Bit 0: 1 = Pusbutton pressed
363002
This register lets you specify the lower limit for the digipot reading. If you
continue turning the digipot counter-clockwise, register 363000 remains at
this minimum value.
363003
This register lets you specify the upper limit for the digipot reading. If you
continue turning the digipot clockwise, register 363000 remains at this
maximum value.
The sample program has been tested for compliance with the following
software versions:
JetSym version 5.1
HMI JVM-407B, OS version 4.01
For more information on programming by STX, please turn to the online help
in JetSym.
In the following sample program, the background lighting for the JVM-407B is
dimmed using the digipot. An upper and lower limit for the digipot is specified
for this purpose. If you press the pushbutton, full background lighting is
activated.
Var
Digipot_Count : Int A
t
%VL
363000
;
Digipot_Limit_min: Int
At
%VL
363002
;
Digipot_Limit_max: Int
At
%VL
363003
;
Digipot_Button : Int
At
%VL
363001
;
BackgroundLighting: Int
At
%VL
364000
;
End_Var
;
Task
Main
Autorun
Digipot_Count :=
0
;
Digipot_Limit_max :=
17
;
Digipot_Limit_min :=
0
;
Introduction
Digipot registers
Software versions
JetSym STX program
Summary of Contents for JVM-407B-HMI
Page 1: ...User Manual JVM 407B HMI 60879892 We automate your success...
Page 14: ......
Page 26: ...26 Jetter AG 2 Product description and design Rear view...
Page 34: ......
Page 80: ......
Page 106: ......
Page 144: ......
Page 168: ......
Page 178: ......
Page 182: ......
Page 258: ......
Page 268: ......
Page 274: ......
Page 294: ...294 Jetter AG Appendix Rear view...
Page 299: ......