198
Jetter AG
10 Programming
Function keys
The HMI JVM-407B has four function keys: F1 to F4. These function keys are
user-programmable.
In register 361000 of the JVM-407B, there is a bit-coded mapping of the
function keys which can be used for programming.
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.
Prerequisites:
So that the status LEDs are not also controlled via the JVM-407B inputs, the
inputs IN1 to IN10 should not be set whilst running the sample program.
In the following sample program, the function keys are continuously retrieved
in one task. Pressing one or more keys controls the status LEDs assigned in
the program.
Var
F_Button_Register: Int
At
%VL
361000
;
Status_Led_1: Bit
At
%XL
362100.0
;
Status_Led_2: Bit
At
%XL
362100.1
;
Status_Led_3: Bit
At
%XL
362100.2
;
Status_Led_4: Bit
At
%XL
362100.3
;
End_Var
;
Task
Main
Autorun
F_Button_Register :=
0
;
Loop
If
F_Button_Register.
0
Then
Status_Led_1 :=
True
;
Else
Status_Led_1 :=
False
;
End_If
;
If
F_Button_Register.
1
Then
Status_Led_2 :=
True
;
Else
Status_Led_2 :=
False
;
End_If
;
If
F_Button_Register.
2
Then
Status_Led_3 :=
True
;
Else
Status_Led_3 :=
False
;
End_If
;
Introduction
Special 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: ......