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
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: ......