Jetter AG
95
JVM-507B
Programming
Memory for non-volatile application program registers
Non-volatile registers are used to store data which must be maintained when
the JVM-507B is de-energized.
Global variables which are assigned to permanent addresses (%VL)
Register variables always occupy 4 bytes.
Register variables are not initialized by the operating system.
Number of register variables: 30,000
Register numbers: 1,000,000 ... 1,029,999
By JetSym
By browser (via HTTP server)
From HMIs
From the application program
From other controllers
The following program increments the content of a register variable every time
the application program is started. This way, the number of program starts is
counted.
Var
ProgramStartCounter: Int
At
%VL
1000000
;
End_Var
;
Task
Work
Autorun
ProgramStartCounter := ProgramStartC
1
;
Loop
// ...
End_Loop
;
End_Task
;
The JetSym setup pane displays the content of the register variable.
Number
Description
Function
1
Present content of the
register variable
The content of the register variable is
incremented by one every time the program
is started.
Introduction
Properties
Memory access
JetSym STX program
Setup pane