Rockwell-automation 9301 Series RSView32 Users Guide Manual do Utilizador Página 550

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 769
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 549
15–10 RSView32 User’s Guide
Screen1 appears, then the graphic display Screen2 appears, then the
tag Valve23 is set to its open state.
Note that you don’t need to put braces around tag names when using
placeholders in commands.
Using parameters
Macros can accept parameters. To specify a parameter in a macro, type
a percent (%) sign followed by a number. Up to nine parameters are
allowed. B
To run the macro and parameters, specify the macro name followed
by the parameters. Separate multiple parameters with spaces.
For example, here is the same Factory macro with two parameters:
Example: Factory macro with two parameters
Display Overview
Display %1
valve23 = %2
To run the macro, type Factory Detail Open
The macro performs the same actions as in the original Factory
example because it substitutes “detail” wherever %1 appears in the
macro and substitutes “open” wherever %2 appears in the macro.
Nesting macros
You can insert a macro within another macro—this is called nesting.
You can have eight nesting levels in macros.
Vista de página 549
1 2 ... 545 546 547 548 549 550 551 552 553 554 555 ... 768 769

Comentários a estes Manuais

Sem comentários