Rockwell-automation 9301 Series RSView32 Users Guide Manual de usuario Pagina 548

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 769
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 547
15–8 RSView32 User’s Guide
Instead of using macros to set tag values, you can also set tag values
using the tag collections in the RSView32 Object Model’s
WritePendingValues method. For more information about using the
RSView32 Object Model, see Help.
To create a macro:
1. In the Project Manager, open the Logic and Control folder.
2. Open the Macro editor by doing one of the following:
double–click the Macro icon
right–click the Macro icon and then click New
3. Type your macro commands and, if required, add command
parameters.
When entering commands, follow these guidelines:
Separate each identifier, specification, or string with a space or
a tab.
Start each command on a new line, or separate commands on
the same line with a semicolon (;).
Precede comments with an exclamation mark (!). The comment
lasts until the next semicolon (;) or line break.
To replace a tag name with its current value when the
command is evaluated, enclose the tag name in dollar signs ($)
to create a placeholder in the command.
To indicate a percent in a macro, use two percent signs (%%)
because a single percent sign indicates a parameter.
For information about parameters, see “Using parameters” on
page 15-10. For more information about command syntax, see
“How to use commands” on page A-1.
For assistance while typing macro commands, double–click
anywhere in the Macro editor to open the Command Wizard. For
Vista de pagina 547
1 2 ... 543 544 545 546 547 548 549 550 551 552 553 ... 768 769

Comentarios a estos manuales

Sin comentarios