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
Содержание JVM-407B-HMI
Страница 1: ...User Manual JVM 407B HMI 60879892 We automate your success...
Страница 14: ......
Страница 26: ...26 Jetter AG 2 Product description and design Rear view...
Страница 34: ......
Страница 80: ......
Страница 98: ...98 Jetter AG 5 Initial commissioning Initial commissioning in JetViewSoft see page 86 Related topics...
Страница 106: ......
Страница 144: ......
Страница 168: ......
Страница 178: ......
Страница 182: ......
Страница 196: ...196 Jetter AG 10 Programming If Merker1 Then Inc Status_LEDs Delay T 100ms End_If End_Loop End_Task...
Страница 220: ...220 Jetter AG 10 Programming Topic Page Programming 221 Registers 233 Sample programs 238 Contents...
Страница 258: ......
Страница 268: ......
Страница 274: ......
Страница 294: ...294 Jetter AG Appendix Rear view...
Страница 299: ......