Rockwell-automation 9301 Series RSView32 Users Guide Uživatelský manuál Strana 623

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 769
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 622
RSView32 commands A–3
command will be truncated if the substituted tag values cause the
command to exceed this length.
Using dollar signs to create a placeholder in the command is an
alternative to the Parse utility available in the RSView32 Resource
Kit
. The dollar signs alternative offers better performance.
Example 1: A macro using placeholders in commands
Display Screen$Tag1$
Display $Tag3$$Tag2$
Valve23 = Open
When the macro runs, Tag1 = 1, Tag2 = 2, and Tag3 = Screen. Note
that these are all string tags.
RSView32 replaces the placeholders in the commands with the tags’
current string values. The graphic display Screen1 appears, then the
graphic display Screen2 appears, then the tag Valve23 is set to its open
state.
You don’t need to put braces around tag names when using
placeholders in commands.
Zobrazit stránku 622
1 2 ... 618 619 620 621 622 623 624 625 626 627 628 ... 768 769

Komentáře k této Příručce

Žádné komentáře