Euchner AS-i 3.0 Command Interface Manuel d'utilisateur Page 83

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 98
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 82
AS-i 3.0 Command Interface Command Interface Examples
Subject to reasonable modifications due to technical advances Id.-No.: 102875 Issue date - 3.12.2007 EUCHNER GmbH + Co. KG
Kohlhammerstraße 16, D-70771 Leinfelden-Echterdingen Tel. +49/711/7597-0, Fax +49/711/753316
83
The single slave configuration for the 16-bit module is written.
This command must be repeated for all 31 A-slaves and all 31 B-slaves. If you
don't connect a slave to an address, write F
hex
for ID, IO, ID1, ID2.
3. Write new list of projected slaves
Write the complete LPS of your AS-i circuit.
Every bit in the LPS corresponds to one slave after the following scheme:
Byte0/Bit 0: slave 0/0A - can not be set!
Byte1/Bit 1: slave 1/1A
...
Byte3/Bit 7: slave 31/31A
Byte4/Bit 0: slave 0B - can not be set!
Byte4/Bit 1: slave 1B
...
Byte7/Bit 7: slave 31B
The slave is projected if the bit is set.
Example above: 16-bit module at address 4 Set bit 4/byte 0:
No result because toggle bit = 0.
Request: SET_LPS
Byte 1 29
hex
(SET_LPS)
Byte 2 00
hex
(T = 0, master 1, single master)
Byte 3 00
hex
Byte 4 10
hex
(LDS byte 0)
Byte 5 00
hex
(LDS byte 1)
……
Byte 11 00
hex
(LDS byte 7)
Byte 12 00
hex
Response
Byte 1 00
hex
(or old values)
Byte 2 00
hex
(or old values)
……
Byte 12 00
hex
(or old values)
Vue de la page 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 97 98

Commentaires sur ces manuels

Pas de commentaire