202
Jetter AG
10 Programming
Digital inputs and outputs
The HMI JVM-407B has the following inputs and outputs:
15 digital inputs. Ten of these have a fixed connection with status LEDs
and five are freely programmable.
1 digital output, e.g. to control a bypass relay. To supply a higher current,
all outputs are set simultaneously.
The following registers are available for the digital inputs and outputs:
Register
Description
362100
Bit-coded mapping of digital inputs
IN1 - IN15
.
IN1 - IN10
are linked to the JVM-407B status LEDs.
Example:
Bit 0 = 1: IN1 in and status LED 1 on.
362200
Bit 0 of the register is responsible for setting the digital output.
Bit 0 = 1: Digital output is set.
The sample program has been tested for compliance with the following
software versions:
JetSym version 5.1
HMI JVM-407B, OS version 4.01
For more information on programming by STX, please turn to the online help
in JetSym.
In this sample program, the user-programmable input IN11 is continuously
retrieved. If this input has been set, both digital outputs are set as well. These
two outputs are used, for example, to control a bypass relay.
Var
IN11: Bit
At
%XL
362100.10
;
// Digital outputs
Output: Bit
At
%XL
362200.0
;
End_Var
;
Task
Main
Autorun
Loop
// If In11 is set, then
If
IN11
Then
// Set the digital outputs
Output :=
True
;
Delay(
T#100ms
);
End_If
;
End_Loop
;
End_Task
;
Introduction
Special registers
Software versions
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: ......