Jetter AG
191
JVM-407B
Programming
Memory for non-volatile application program variables
Non-volatile variables are used to store data which must be maintained when
the JVM-407B is de-energized.
Global variables which are assigned to permanent registers (%RL)
Variables are stored in a compact way.
Size: 120,000 bytes
Register numbers: 1,000,000 ... 1,029,999
By JetSym
From HMIs
From the application program
The following program increments the content of four non-volatile variables
every second.
The working range of the counters is between 0 and 255 (variable type: byte).
For these four variables the four bytes of register 1000010 are used.
Var
Cnt1, Cnt2, Cnt3, Cnt4: Byte
At
%RL
1000010
;
End_Var
;
Task
Count4
Autorun
Loop
Inc(Cnt1);
Inc(Cnt2,
2
);
Inc(Cnt3,
5
);
Inc(Cnt4,
10
);
Delay(
T#1s
);
End_Loop
;
End_Task
;
The JetSym setup pane displays the content of the variable. As the type of the
four counters is byte, this will result in counter overflow after a relatively short
time:
Number
Description
Function
1
Current content of the
variable Cnt1
The content of the variable is incremented by
one every second.
Introduction
Characteristics
Memory access
JetSym STX program
Setup pane
Содержание 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: ......