23.03.2014 Views

Mode d'emploi Process Unit 73 LF - Knick

Mode d'emploi Process Unit 73 LF - Knick

Mode d'emploi Process Unit 73 LF - Knick

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Protocole de bus d’interface du maître<br />

Durées Timeout :<br />

Chaîne dans tamp. émission<br />

(max. 61 caractères/bloc)<br />

Entrer longueur<br />

Déterminer et entrer CRC<br />

Initialiser tampon entrée<br />

A =<br />

B =<br />

durées de transmission<br />

de 3 octets<br />

(env. 3,1 ms à<br />

9600 bauds)<br />

env. 1 s<br />

oui<br />

non<br />

Envoyer message<br />

Démarrer timeout B<br />

Attendre réception bits<br />

oui<br />

non<br />

Charger octet adresse<br />

Démarrer timeout B<br />

Attendre réception bits<br />

Attendre<br />

1/2 timeout B<br />

oui<br />

non<br />

Charger long.octet<br />

dans tampon<br />

Longueur > 0<br />

non<br />

oui<br />

Démarrer timeout A<br />

Attendre réception bits<br />

Vérifier CRC<br />

CRC correct ?<br />

non<br />

non<br />

Charger octet ds tamp.<br />

Longueur=longueur–1<br />

oui<br />

oui<br />

Adresse<br />

adr. esclave<br />

oui<br />

non<br />

oui<br />

Bit suiveur activé ?<br />

non<br />

Réponseinvalide<br />

Etat erreur: pas de réponse<br />

Réponse valide<br />

Etat erreur= Bit 5<br />

de l’adresse esclave<br />

Les commandes Write re–<br />

tournent une chaîne vide.<br />

L’état erreur à l’intérieur de<br />

l’adr. esclave est valide !<br />

Fin<br />

Commandes d’interface 12–35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!