Jetter AG
101
JVM-507B
Programming
Function keys
The HMI JVM-507B has 12 function keys: F1 to F12. These function keys are
user-programmable.
In register 361000 of the JVM-507B, there is a bit-coded mapping of the
function keys which can be used for programming.
In register 364000 of the JVM-507B, there is the actual value of the
background lighting.
The sample program has been tested for compliance with the following
software versions:
JetSym version 5.2.1
HMI JVM-507B, OS version 4.01
For more information on programming by STX, please turn to the online help
in JetSym.
Prerequisites:
The following sample program queries the function keys F1 (bit 0) and F7
(bit 6) of register 361000 and increments/decrements the value of register
364000 for background lighting.
Key F1 is the upper left, key F7 the upper right key.
Var
F_Button_Register: Int
At
%VL
361000
;
H_Lighting_Register: Int
At
%VL
364000
;
End_Var;
Task
t_Background_Lighting
Autorun
Loop
When
F_Button_Register.
0
Then
Inc
(H_Lighting_Register);
Delay
(
T#10ms
);
Else_When
F_Button_Register.
6
Then
Dec
(H_Lighting_Register);
Delay
(
T#10ms
);
End_When;
End_Loop;
End_Task;
Introduction
Special registers
Software versions
JetSym STX program