Rockwell-automation 56RF RFID System User Manual Instrukcja Użytkownika Strona 74

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 73
74 Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011
Chapter 9 RSLogix 5000 Code Examples
d. xx:O.Channel[0].Data[0] = 0
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
data, the Data[0] value used to clear the fields and sets the command value to 0.
Because the address, length and data[0] can only be 0, the source in the MOV
instruction can be set to 0. The BlockSize, Reset, Timeout, UIDLow and UIDHi
are set to 0 in the output image table.
Example Results
The Info Flag contains data used to determine what parameters are passed back.
The DSFID, AFI and UUID follow.
Przeglądanie stron 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 155 156

Komentarze do niniejszej Instrukcji

Brak uwag