10.07.2015 Views

MELS 30 - Balogh technical center

MELS 30 - Balogh technical center

MELS 30 - Balogh technical center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>MELS</strong> <strong>30</strong>5 UTILISATION SOUS JBUS® OU JBUS/ASCII®5.1 RAPPEL SUR LES PROTOCOLES JBUS® OU JBUS/ASCII®5.1.1 GENERALITESJBUS est un standard de communication multipoints orienté mots (de 2 octets), développé parAPRIL. Le standard dérivé JBUS ASCII est orienté caractères.Le maître envoie des requêtes à l’esclave. Elles sont appelées ’’fonctions’’. Seules les fonctionsde base qui suivent sont implémentées :• fonction 3 ou 4 : lecture de n mots• fonction 6 : écriture de 1 mot• fonction 16 (10H) : écriture de n mots.5.1.2 FORMAT DES ECHANGESLes trames ont le format général suivant :NE CF MessageCRC 161 octet 1 octet2 octetsNE : Numéro d’Esclave sous protocole JBUS : l’esclave ne répond qu’aux trames portant cenuméro, qui est rappelé dans la réponseCF : Code de Fonction (3, 4, 6, 16 ou code d’erreur)CRC16:Code de Redondance Cyclique permettant de vérifier que l’échange s’est bien passé.L'octet de poids faible d'un mot est transmis le premier sur la ligne.5.1.3 DESCRIPTION STATIQUE5.1.3.1 Lecture de n motsDEMANDE :NE CF Ad n CRC 162 octets 2 octetsAd : adresse du premier mot à liren : nombre de mots à lire ≤ 60 (limitation due au <strong>MELS</strong> <strong>30</strong>)REPONSE :NE CF BC D 1 D n CRC 161 octet 2 octets 2 octetsBCD 1D n: nombre d'octets lus soit 2n (1 octet): valeur du premier mot lu: valeur du dernier mot lup 8BALOGH SA, 189 rue d’Aubervilliers C.P. 97 75886 PARIS Cedex 18 FRANCETél: 33 (0)1 44 65 65 00 Fax: 33 (0)1 44 65 65 10 Internet: http://www.balogh-group.comS.A. à Directoire au Capital de 800 000 € - R.C.B. PARIS 582 061 073sous réserve de modification - Réf : M-02-20-07 <strong>MELS</strong> <strong>30</strong>

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

Saved successfully!

Ooh no, something went wrong!