Micromod MOD: 30ML Display Script Guide Manuale Utente Pagina 95

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 98
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 94
MOD 30ML Display Guide
Application Examples
A connection is then made from input STOP in each of the Display Blocks to an Expression
block that controls the scrolling, as shown in the next figure.
Figure 5 .37.
Block connections,
auto scrolling
displays
In this example the Expression Block uses inputs 1 through 3, configured as Count inputs, to
detect the “stop scroll” command from the Display Blocks named TAG1, TAG2 and TAG3.
“DISPLAYS” is a count input with an initial value of 1, that increments the display index
number by 1 until it reaches 3, then resets to 1 and starts again, as long as none of the “stop
scroll” inputs is present. The result of the Expression must be connected back around to the
input DISPLAYS.
Figure 5 .38.
Expression Block
Inputs
The expression for the Expression Block is:
Figure 5 .39.
Expression to
control scrolling
IF (TAG1 == 0 || TAG2 == 0 || TAG3 == 0) THEN
DISPLAYS
ELSE IF DISPLAYS =< 2 THEN
DISPLAYS + 1
ELSE 1
5 - 41
Vedere la pagina 94
1 2 ... 90 91 92 93 94 95 96 97 98

Commenti su questo manuale

Nessun commento