Rockwell-automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command Manuel d'utilisateur Page 127

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 251
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 126
7–40 Communication Commands
Publication
17706.5.16 - October 1996
Example:
Reading the 18th and 19th bytes shown in the example on page
7-39
These examples compare two methods for reading SLC 500 datafrom an SLC
500 (assumes S:2/8 = 0 so that word addressing is selected) and from a PLC2
processor
. When using the SLC 500 method, you do not multiply by two (as in
step 2, below) as you do with the PLC2 method.
Read N9:9 from SLC 500 processor:
1.
Convert decimal element to hex:
9 (decimal) 0009 (hex)
2.
Put low byte first in address field:
Address
09 00h
Size
xxh
3.
Put 02 (hex) in size field (2 bytes = 1 word):
Address Size
09 00h 02h
Read octal word 011 from PLC2 processor:
1.
Convert octal element to hex:
11 (octal) 0009 (hex)
2.
Multiply by 2:
0009h x 2 = 0012h
3.
Put low byte first in address field:
Address
12 00h
Size
xxh
4.
Put 02 (hex) in size field (2 bytes = 1 word):
Address
12 00h
Size
02h
Vue de la page 126
1 2 ... 122 123 124 125 126 127 128 129 130 131 132 ... 250 251

Commentaires sur ces manuels

Pas de commentaire