Multitech MT2834BL Especificações Página 124

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 123
118
CREATING MACROS • MACRO EXAMPLES
7 Beaver Brook Road, Littleton, MA 01460 • 978-486-0086 • www.burk.com
AND in an IF/THEN Statement
This example shows a macro examining
two factors in a situation and then taking
action if both factors require it.
First, the macro checks Status Channel 5.
If the reading on this channel is not “Low,
the IF statement is skipped and the macro
ends. If the reading on Status Channel 5 is
“Low, then the macro checks Status
Channel 6. If the reading on Status
Channel 6 is also “Low, the macro then
issues Commands 10a and 11a. If Status
Channel 6 is not “Low, then no action is
taken and the macro ends.
In order for any commands to be issued,
both conditions must be true.
The second example shows how the same
results can be achieved by the use of the
“AND” statement in the “IF/THEN”
command.
And In If/Then Statement Macro
And in If/Then Statement Macro
Vista de página 123
1 2 ... 119 120 121 122 123 124 125 126 127 128 129 ... 224 225

Comentários a estes Manuais

Sem comentários