Jetter AG
193
JVM-407B
Programming
Special registers
Special registers let you control OS functions and retrieve status information.
Global variables which are assigned to permanent addresses (%VL)
When the operating system is launched, special registers are initialized
using default values.
Register numbers: 100,000 ... 999,999
By JetSym
By browser (via HTTP server)
From HMIs
From the application program
From other controllers
In the following program, two special registers are used. The first is the special
register for status LEDs, the second is the special register for digipot values.
In this task, the value is just copied from the special register for digipot values
to the special registers assigned to the status LEDs. If the application program
is running on the HMI and you turn the digipot, the value contained in the
digipot special register is displayed by the status LEDs.
Var
Digipot: Int
At
%VL
363000
;
Status_LEDs: Int
At
%VL
362100
;
End_Var
;
Task
Main
Autorun
Loop
Status_LEDs := Digipot;
End_Loop
;
End_Task
;
Introduction
Properties
Memory access
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: ......