Rockwell-automation 56RF RFID System User Manual Bedienungsanleitung Seite 93

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 156
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 92
Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011 93
RSLogix 5000 Code Examples Chapter 9
Set the following values in the output image table:
a. xx:O.Channel[0].Command = 1
b. xx:O.Channel[0].Address = the block number to read.
c. xx.O.Channel[0].BlockSize = 0
d. xx:O.Channel[0].Data[0] = the Option Flag value
e. xx:O.Channel[0].Length = 0
f. xx:O.Channel[0].Reset = 0
g. xx:O.Channel[0].Timeout = 0
h. xx:O.Channel[0].UIDLow = 0 (or UIDLow)
i. xx:O.Channel[0].UIDHi = 0 (or UIDHi)
Unless a UUID is specified, this command will operate on the first tag in the
field. Specify a UUID in xx:O.Channel[0].UIDLow and
xx:O.Channel[0].UIDHi to perform the command on a specific tag.
Example Routine
In the example routine below, the initialization in Rung 1 sets the address, length,
and Data[0] values used to read multiple blocks and sets the command value to 0.
The BlockSize, Reset, Timeout, UIDLow, and UIDHi are set to 0 in the output
image table.
The example ladder diagram is initially set for Address =26. Data[0] is set to
Option Flag 0 (return just the data) The command will read blocks 25 and 26.
The example is repeated with Option Flag set to 1.
Seitenansicht 92
1 2 ... 88 89 90 91 92 93 94 95 96 97 98 ... 155 156

Kommentare zu diesen Handbüchern

Keine Kommentare