Rockwell-automation 5370-UPK CVIM USER-PAK Option Uživatelský manuál Strana 104

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 142
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 103
Chapter 8
Defining Strings for Serial Ports and Viewports
828
Example of Using the Repeat String and Index Character
Serial Port: This section provides an example of using the repeat string
feature, and the index character. For this example, assume the following
inspection results:
Gage 1 = 205
Gage 2 = 30
Gage 3 = (gage disabled)
Gage 4 = 110
Gage 5 = 20
The Repeat String settings are set to:
The string text is entered as:
Index character as part of data code
Index character alone
The resulting transmission for the inspection consists of five strings, one for
each increment of the index (15), where the gage results are transmitted for
gages 15, respectively:
Gage 1 = 205 [CR] [LF] (where current index is 1)
Gage 2 = 30 [CR] [LF] (current index is 2)
Gage 3 = [CR] [LF] (current index is 3)
Gage 4 = 110 [CR] [LF] (current index is 4)
Gage 5 = 20 [CR] [LF] (current index is 5)
Regarding the first # (index) character in the string: because the # is entered
alone in the string, the current index number is transmitted at that point. This
is used in identifying the gage results, 15, in each string, respectively:
Index character
Transmitted Strings:
Gage 1 = 205 [CR] [LF]
Gage 2 = 30 [CR] [LF]
. . . etc.
Zobrazit stránku 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 141 142

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

Žádné komentáře