JUMO 701061 Interface Description
JUMO 701061 Interface Description

JUMO 701061 Interface Description

Electronic refrigeration controller
Table of Contents

Advertisement

Available languages

Available languages

Quick Links

Typ 701061 / XXX-32/XXX
Typ 701061
Elektronischer Kühlstellenregler,
Electronic Refrigeration Controller
Régulateur électronique pour le froid
B 70.1061.2
Schnittstellenbeschreibung
Interface Description
Description de l'interface
08.07/00492437

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 701061 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for JUMO 701061

  • Page 1 Typ 701061 / XXX-32/XXX Typ 701061 Elektronischer Kühlstellenregler, Electronic Refrigeration Controller Régulateur électronique pour le froid B 70.1061.2 Schnittstellenbeschreibung Interface Description Description de l’interface 08.07/00492437...
  • Page 3: Table Of Contents

    Inhalt Einleitung Vorwort ......................5 Typografische Konventionen ............... 6 1.2.1 Warnende Zeichen ..................6 1.2.2 Hinweisende Zeichen ..................6 1.2.3 Darstellungsarten ................... 6 Geräteausführung identifizieren ..............7 Anschluss der Schnittstelle ................. 7 Konfiguration ....................8 Protokollbeschreibung Master-Slave-Prinzip ..................9 Übertragungsmodus (RTU) ................. 9 Geräteadresse ....................
  • Page 4 Inhalt Adresstabellen Konfigurationsparameter ................23 5.1.1 Erklärung Bitmuster Fehlerstatus (Parameter Nr. 6) ........26 5.1.2 Erklärung Bitmuster HW Kennung (Parameter Nr. 10) ........ 26 5.1.3 Erklärung Bitmuster Binärsignale (Parameter Nr. 13) ........26 Kundenspezifische Linearisierung ............27 Eindeutige Gerätekennung (GUID) ............28 Messstellenbezeichnung (TAG) ..............
  • Page 5: Einleitung

    Stammhaus in Verbindung. Service Bei technischen Rückfragen Telefon-Support Deutschland: Telefon: +49 661 6003-300 oder -653 oder -899 Telefax: +49 661 6003-881729 E-Mail: service@jumo.net Österreich: Telefon: +43 1 610610 Telefax: +43 1 6106140 E-Mail: info@jumo.at Schweiz: Telefon: +41 44 928 24 44 Telefax: +41 44 928 24 48 E-Mail: info@jumo.ch...
  • Page 6: Typografische Konventionen

    1 Einleitung 1.2 Typografische Konventionen 1.2.1 Warnende Zeichen Die Zeichen für Vorsicht und Achtung werden in dieser Betriebsanleitung unter folgenden Bedingungen verwendet: Vorsicht Dieses Zeichen wird benutzt, wenn es durch ungenaues Befolgen oder Nichtbefolgen von Anweisungen zu Perso- nenschäden kommen kann! Achtung Diese Zeichen wird benutzt, wenn es durch ungenaues Befolgen oder Nichtbefolgen von Anweisungen zu Be-...
  • Page 7: Geräteausführung Identifizieren

    1 Einleitung 1.3 Geräteausführung identifizieren Nur Geräte, bei denen Option2 im Typenschlüssel eine 1 oder 2 ist, sind mit Schnittstelle ausgerüstet. 1.4 Anschluss der Schnittstelle...
  • Page 8: Konfiguration

    1 Einleitung 1.5 Konfiguration Die Konfiguration erfolgt entweder am Gerät oder durch das Setup-Pro- gramm. Hier ein Auszug aus der Betriebsanleitung.
  • Page 9: Protokollbeschreibung

    2 Protokollbeschreibung 2.1 Master-Slave-Prinzip Die Kommunikation zwischen einem PC (Master) und einem Gerät (Sla- ve) mit MOD-Bus findet nach dem Master-Slave-Prinzip in Form von Datenanfrage/Anweisung - Antwort statt. Master Slave 1 Slave 2 Slave n Der Master steuert den Datenaustausch, die Slaves haben lediglich Ant- wortfunktion.
  • Page 10: Geräteadresse

    2 Protokollbeschreibung 2.3 Geräteadresse Die Geräteadresse des Slaves ist zwischen 0 und 254 einstellbar. Die Geräteadresse 0 ist reserviert. Über die RS485-Schnittstelle können maximal 31 Slaves an- gesprochen werden. Man unterscheidet zwei Möglichkeiten des Datenaustausches: Query Datenanfrage/Anweisung des Masters an einen Slave über die entspre- chende Geräteadresse.
  • Page 11 2 Protokollbeschreibung Kennzeichen für Antwort-Ende 3 Zeichen * 1000 * x Bits/Baudrate Beispiel Kennzeichen für Datenanfrage- oder Antwort-Ende bei Datenformat 10/ 9 Bits Wartezeit = 3 Zeichen * 1000 * 10 Bits/Baudrate Baudrate [Baud] Datenformat [Bit] Wartezeit [ms] (3 Zeichen) 38400 0.79 0.71...
  • Page 12: Zeitlicher Ablauf Einer Datenanfrage

    2 Protokollbeschreibung 2.4.1 Zeitlicher Ablauf einer Datenanfrage Zeitschema Eine Datenanfrage läuft nach folgendem Zeitschema ab: Datenanfrage Master Master Datenanfrage Datenanfrage Datenanfrage Antwort Slave Antwort Slave Endekennzeichen = 3 Zeichen (die Zeit ist von der Baudrate abhängig) Diese Zeit ist von der internen Bearbeitung abhängig. Die maximale Bearbeitungszeit liegt bei 250 ms.
  • Page 13: Aufbau Der Datenblöcke

    2 Protokollbeschreibung Aufbau der Datenblöcke Alle Datenblöcke haben die gleiche Struktur: Datenstruktur Slave- Funktions- Datenfeld Checksumme Adresse code CRC16 1 Byte 1 Byte x Byte 2 Bytes Jeder Datenblock enthält vier Felder: Slave-Adresse Geräteadresse eines bestimmten Slaves Funktionscode Funktionsauswahl (Lesen, Schreiben von Worten) Datenfeld Enthält die Informationen: - Wortadresse...
  • Page 14: Fehlerbehandlung

    2 Protokollbeschreibung Fehlerbehandlung Fehlercodes Es existieren drei Fehlercodes: ungültige Funktion ungültige Parameteradresse Gerät nicht bereit Schreibzugriff auf Parameter verweigert Antwort im Slave- Funktion Fehlercode Checksumme Fehlerfall Adresse CRC16 XX OR 80h 1 Byte 1 Byte 1 Byte 2 Bytes Der Funktionscode wird mit 0x80 verODERt, d. h., das MSB (most signi- ficant bit, engl.
  • Page 15: Checksumme (Crc16)

    2 Protokollbeschreibung 2.7 Checksumme (CRC16) Anhand der Checksumme (CRC16) werden Übertragungsfehler erkannt. Wird bei der Auswertung ein Fehler festgestellt, antwortet das entspre- chende Gerät nicht. Berechnungs- CRC = 0xFFFF schema CRC = CRC XOR ByteOfMessage For (1 bis 8) CRC = SHR(CRC) if (rechts hinausgeschobenes Flag = 1) then else...
  • Page 16 2 Protokollbeschreibung...
  • Page 17: Funktionen

    3 Funktionen Die folgenden Funktionen stehen für das Gerät zur Verfügung: Funktionsnummer Funktion 0x03 oder 0x04 Lesen von n Worten 0x06 Schreiben eines Worts 0x10 Schreiben von n Worten 3.1 Lesen von n Worten Mit dieser Funktion werden n (n≤32) Worte ab einer bestimmten Adres- se gelesen.
  • Page 18: Schreiben Eines Worts

    3 Funktionen 3.2 Schreiben eines Worts Bei der Funktion Wortschreiben sind die Datenblöcke für Anweisung und Antwort identisch. Anweisung Slave- Funktion Wortadresse Wortwert Checksumme Adresse 0x06 CRC16 1 Byte 1 Byte 2 Bytes 2 Bytes 2 Bytes Antwort Slave- Funktion Wortadresse Wortwert Checksumme...
  • Page 19: Schreiben Von N Worten

    3 Funktionen 3.3 Schreiben von n Worten Mit dieser Funktion werden n (n≤6) Worte ab einer bestimmten Adresse geschrieben. Anweisung Slave- Funktion Adresse Wortan- Byte- Wort- Checksumme Adresse 0x10 erstes Wort zahl anzahl wert(e) CRC16 max. 127 1 Byte 1 Byte 2 Bytes 2 Bytes 1 Byte...
  • Page 20: Datenübernahme Nach Schreiben

    3 Funktionen Datenübernahme nach Schreiben Da in das Gerät max. 6 Worte in einem Protokoll geschrieben werden können, kann es vorkommen dass inkonsistente Konfigurationsdaten ins Gerät geschrieben werden. Um konsistente Datensätze im Gerät zu haben, werden die empfange- nen Daten zuerst nur abgelegt und nicht benutzt. Erst nach Setzen des so genannten Übernahmeflags am Ende einer Übertragung werden die abgelegten Daten komplett übernommen und somit wirksam.
  • Page 21: Datenfluß

    4 Datenfluß 4.1 Parameteradressen und Formate Im folgenden sind alle Prozeßwerte (Variablen) mit ihren Adressen, dem Datentyp und der Zugriffsart beschrieben. Hierbei bedeutet: Zugriff nur lesend Zugriff schreibend und lesend Text Byte (8 Bit) unsigned short Integer(16 Bits) ohne Vorzeichen (Wertebereich 0…65535) signed short Integer(16Bits) mit Vorzeichen (Wertebereich -32768...32767)
  • Page 22 4 Datenfluß Antwort: 1403023230A0F3 (CRC16 = xF3A0) Float-Werte Bei Float-Werten wird im Modbus mit dem IEEE-754-Standard-Format (32bit) gearbeitet, allerdings mit dem Unterschied, dass Byte 1 und 2 mit Byte 3 und 4 vertauscht sind. Single-float-Format (32bit) nach Standard IEEE 754 SEEEEEEE EMMMMMMM MMMMMMMM...
  • Page 23: Adresstabellen

    5 Adresstabellen 5.1 Konfigurationsparameter Bei der Veränderung der Parameter über die Schnittstelle erfolgt keine Überprüfung des Wertebereiches. Schreiboperationen auf Parameter (R/W) bewirken ein Abspeichern im EEPROM. Diese Speicherbausteine haben nur eine begrenzte Anzahl von Schreibzyklen (ca. 100000). Text Parmeter Datentyp Modbus Modbus Adresse...
  • Page 24 5 Adresstabellen Reserve float An.1 Fuehlerart Sensor 1 signed short An.2 Fuehlerart Sensor 2 signed short or.1 Offset Ohm Sensor 1 float or.2 Offset Ohm Sensor 2 float ot.1 Offset °C Sensor 1 float ot.2 Offset °C Sensor 2 float Temperatur-Einheit in °C/°F unsigned short 146 Filterzeit in Sekunden...
  • Page 25 5 Adresstabellen AL.L unterer Alarm-Grenzw- °C float AL.H oberer Alarm-Grenzw- °C float A.HY Alarm- Hysterese in °C float AL.d Alarmverzoegerung in Minuten unsigned short 188 AL.q Alarmquittierung EIN/AUS unsigned short 189 di.d Anzeige bei Abtauung. unsigned short 190 di.P Istwertanzeige unsigned short 191 Zugangs-Code Parameterebene unsigned short 192...
  • Page 26: Erklärung Bitmuster Fehlerstatus (Parameter Nr. 6)

    5 Adresstabellen 5.1.1 Erklärung Bitmuster Fehlerstatus (Parameter Nr. 6) Bit0 Fuehlerbruch Temperaturfuehler Bit1 Kurzschluss Temperaturfuehler Bit2 Underrange Temperatur Bit3 Overrange Temperatur Bit4 Fuehlerbruch Temperaturfuehler Bit5 Kurzschluss Temperaturfuehler Bit6 Underrange Temperatur Bit7 Overrange Temperatur Bit8 Kennung kalibriert nicht gesetzt Bit9 Flash Lesen/Schreiben Fehler Bit10 Kommunik- mit Uhr (I2C) 1024 5.1.2 Erklärung Bitmuster HW Kennung (Parameter Nr.
  • Page 27: Kundenspezifische Linearisierung

    5 Adresstabellen 5.2 Kundenspezifische Linearisierung Parameter Datentyp Modbus Modbus Zugriff Adresse dez Adresse hex Anzahl verwendeter Wertepaare (2…20) unsigned short 0x0258 1. Widerstand Ohm float 0x0259 2. Widerstand Ohm float 3. Widerstand Ohm float 4. Widerstand Ohm float 5. Widerstand Ohm float 6.
  • Page 28: Eindeutige Gerätekennung (Guid)

    5 Adresstabellen Beispielwerte Anzahl Wertepaare = 2 Widerstand 1 = 50 OhmWiderstand 2 = 150 Ohm Temperatur 1 = -10 °CTemperatur 2 = 40 °C Nicht benutzte Wertepaare müssen auch nicht vorbesetzt bzw. beschrieben werden. 5.3 Eindeutige Gerätekennung (GUID) Während der Fertigungskalibrierung wird dem Gerät eine eindeutige Geräte- kennung (Text) zugewiesen, welche in der sogenannten GUID gespeichert wird.
  • Page 29 Type 701061 / XXX-32/XXX Type 701061 Electronic Refrigeration Controller B 70.1061.2 Interface Description 08.07...
  • Page 31 Contents Introduction Preface ......................5 Typographical conventions ................. 6 1.2.1 Warning signs ....................6 1.2.2 Note signs ...................... 6 1.2.3 Representation modes ................... 6 Identifying the instrument version .............. 7 Interface connection ..................7 Configuration ....................8 Protocol description Master-slave principle ................. 9 Transmission mode (RTU) ................
  • Page 32 Contents Address tables Configuration parameters ................. 23 5.1.1 Explanation of bit pattern: error status (parameter No. 6) ......26 5.1.2 Explanation of bit pattern: hardware ID (parameter No. 10) ......26 5.1.3 Explanation of bit pattern: binary signals (parameter No. 13) ...... 26 Customized linearization ................
  • Page 33: Introduction

    1 Introduction 1.1 Preface Please read these operating instructions before commissioning the instrument. Keep these operating instructions in a place which is accessible to all users at all times. Your comments could help us to improve these operating instructions. Warranty All necessary settings are described in these operating instructions.
  • Page 34: Typographical Conventions

    1 Introduction 1.2 Typographical conventions 1.2.1 Warning signs The symbols for Danger and Caution are used in these operating instructions under the following conditions: Danger This symbol is used when there may be danger to personnel if the instructions are disregarded or not followed accurately! Caution This symbol is used when there may be damage to...
  • Page 35: Identifying The Instrument Version

    1 Introduction 1.3 Identifying the instrument version Only instruments in which Option 2 in the type code is a 1 or 2 are fitted with an interface. 1.4 Interface connection...
  • Page 36: Configuration

    1 Introduction 1.5 Configuration The configuration is performed either on the instrument itself or through the Setup program. Here is an extract from the operating instructions.
  • Page 37: Protocol Description

    2 Protocol description 2.1 Master-slave principle The communication between a PC (master) and a device (slave) using Modbus takes place according to the master-slave principle, in the form of a data request/instruction - response. Master Slave 1 Slave 2 Slave n The master controls the data exchange, the slaves only have a response function.
  • Page 38: Device Address

    2 Protocol description 2.3 Device address The device address of the slave can be set between 0 and 254. Device address 0 is reserved. A maximum of 31 slaves can be addressed via the RS485 interface. Two forms of data exchange can be distinguished: Query Data request/instruction by the master to a slave via the corresponding device address.
  • Page 39 2 Protocol description Marker for end of response 3 characters * 1000 * x bits/(baud rate) Example Marker for end of data request or end of response for 10/9 bit data format. Waiting time = 3 characters * 1000 * 10 bits/(baud rate) Baud rate [bps] Data format [bits] Waiting time [msec]...
  • Page 40: Timing Of A Data Request

    2 Protocol description 2.4.1 Timing of a data request Timing A data request runs according to the following timing scheme: sequence Data request Master Master Datenanfrage Datenanfrage Data request Response Slave Antwort Slave End marker = 3 characters (the time depends on the baud rate) This time depends on the internal processing.
  • Page 41: Structure Of The Data Blocks

    2 Protocol description Structure of the data blocks All data blocks have the same structure: Data structure Slave Function Data field Checksum address code CRC16 1 byte 1 byte x byte(s) 2 bytes Each data block contains four fields: Slave address Device address of a specific slave Function code Function selection (read or write words) Data field...
  • Page 42: Error Handling

    2 Protocol description Error handling Error codes There are three error codes: invalid function invalid parameter address device not ready write access to parameter denied Response in Slave Function Error code Checksum the event of address XX OR 80h CRC16 an error 1 byte 1 byte...
  • Page 43: Checksum (Crc16)

    2 Protocol description 2.7 Checksum (CRC16) The checksum (CRC16) serves to recognize transmission errors. If an error is detected during evaluation, the corresponding device will not respond. Calculation CRC = 0xFFFF procedure CRC = CRC XOR ByteOfMessage For (1 to 8) CRC = SHR(CRC) if (flag shifted right = 1) then...
  • Page 44 2 Protocol description...
  • Page 45: Functions

    3 Functions The following functions are available for the instrument: Function number Function 0x03 or 0x04 read n words 0x06 write one word 0x10 write n words 3.1 Read n words This function reads n (n≤32) words, starting from a defined address. Data request Slave Function...
  • Page 46: Write One Word

    3 Functions 3.2 Write one word For the “write word” function, the data blocks for instruction and response are identical. Instruction Slave Function Word Word Checksum address 0x06 address value CRC16 1 byte 1 byte 2 bytes 2 bytes 2 bytes Response Slave Function...
  • Page 47: Write N Words

    3 Functions 3.3 Write n words This function writes n (n≤6) words, starting from a defined address. Instruction Slave Function Address Word Byte Word Checksum address 0x10 of first word number number value(s) CRC16 (max. 127) 1 byte 1 byte 2 bytes 2 bytes 1 byte...
  • Page 48: Data Acceptance After Writing

    3 Functions Data acceptance after writing Since a maximum of 6 words can be written to the instrument in one protocol, it is conceivable that inconsistent configuration data are written to the instrument. In order to achieve consistent data sets in the instrument, the received data are initially just stored, but not applied.
  • Page 49: Data Flow

    4 Data flow 4.1 Parameter addresses and formats All process values (variables) together with their addresses, data type and access mode are described below. References are as follows: read access only read and write access Text byte (8 bits) unsigned short integer(16 bits), unsigned (value range 0 —...
  • Page 50 4 Data flow Response: 1403023230A0F3 (CRC16 = xF3A0) Float values When using Modbus, float values are processed in the IEEE 754 standard format (32-bit), but with the difference that bytes 1 and 2 are swapped with bytes 3 and 4. Single float format (32-bit) according to standard IEEE 754 SEEEEEEE EMMMMMMM...
  • Page 51: Address Tables

    5 Address tables 5.1 Configuration parameters The value range will not be checked when parameters are altered via the interface. Write operations (R/W) to these parameters result in them being saved to the EEPROM. These memory chips only have a limited amount of write cycles (about 100,000). No.
  • Page 52 5 Address tables Reserve float An.1 Sensor type, sensor 1 signed short An.2 Sensor type, sensor 2 signed short or.1 Offset in ohms, sensor 1 float or.2 Offset in ohms, sensor 2 float ot.1 Offset in °C, sensor 1 float ot.2 Offset in °C, sensor 2 float...
  • Page 53 5 Address tables F.dL Start-up delay in minutes unsigned short AL.F Alarm function relative/abs. unsigned short AL.L Lower alarm limit in °C float AL.H Upper alarm limit in °C float A.HY Alarm hysteresis in °C float AL.d Alarm delay in minutes unsigned short AL.q Acknowledge alarm ON/OFF...
  • Page 54: Explanation Of Bit Pattern: Error Status (Parameter No. 6)

    5 Address tables 5.1.1 Explanation of bit pattern: error status (parameter No. 6) Bit0 Probe break, temperature sensor Bit1 Short-circuit, temperature sensor Bit2 Underrange, temperature Bit3 Overrange, temperature Bit4 Probe break, temperature sensor Bit5 Short-circuit, temperature sensor Bit6 Underrange, temperature Bit7 Overrange, temperature Bit8 ID for calibrated is not set Bit9 Flash read/write error...
  • Page 55: Customized Linearization

    5 Address tables 5.2 Customized linearization Parameter Data type Modbus Modbus Access address address (dec) (hex) Number of value pairs used (2 — 20) unsigned short 0x0258 1. resistance (ohms) float 0x0259 2. resistance (ohms) float 3. resistance (ohms) float 4.
  • Page 56: Unambiguous Device Id (Guid)

    5 Address tables Example values Number of value pairs = 2 Resistance 1 = 50 ohms Resistance 2 = 150 ohms Temperature 1 = -10 °C Temperature 2 = 40 °C Unused value pairs do not have to be filled or written. 5.3 Unambiguous device ID (GUID) During the manufacturing calibration, the instrument is assigned an unambiguous device ID (text), which is saved as the GUID.
  • Page 57 Type 701061 / XXX-32/XXX Type 701061 Régulateur électronique pour le froid B 70.1061.2 Description de l’interface 08.07...
  • Page 59 Sommaire Introduction Préambule ..................... 5 Conventions typographiques ..............6 1.2.1 Signes d’avertissement .................. 6 1.2.2 Symboles indiquant une remarque ..............6 1.2.3 Modes de représentation ................6 Identification de l’exécution de l’appareil ..........7 Raccordement de l’interface ............... 7 Configuration ....................8 Description du protocole Principe maître-esclave ................
  • Page 60 Sommaire Tableaux des adresses Paramètres de configuration ..............23 5.1.1 Explication configuration binaire état erreur (paramètre n° 6) ..... 26 5.1.2 Explication configuration binaire identification HW (paramètre n° 10) ..26 5.1.3 Explication configuration binaire signaux binaires (paramètre n° 13) ..26 Linéarisation spécifique ................
  • Page 61: Introduction

    Téléphone : 03 87 37 53 00 Télécopieur : 03 87 37 89 00 e-mail : info@jumo.net Garantie Toutes les informations nécessaires à l’utilisation de l’interface sont décrites dans cette notice de mise en service. Toutefois si vous rencontrez des difficultés lors de la mise en service, n’effectuez aucune manipulation non autorisée.
  • Page 62: Conventions Typographiques

    1 Introduction 1.2 Conventions typographiques 1.2.1 Signes d’avertissement Les symboles représentant prudence et attention sont utilisés dans cette notice dans les circonstances suivantes : Prudence Ce symbole est utilisé lorsque la non-observation ou l’observation imprécise des instructions peut provoquer des dommages corporels ! Attention Ce symbole est utilisé...
  • Page 63: Identification De L'exécution De L'appareil

    Option 1: Relais AC 250V/16A Relais Relais Ou buzzer d’alarme intégré 250V 250V Ö Option 2: RS 485 Type 701061/XXX-XX 21 22 23 24 Alimentation (L-) (L+) Ö 12 à 24 V AC/DC +15/-15 %, 48 à 63Hz Entrée binaire ϑ...
  • Page 64: Configuration

    1 Introduction 1.5 Configuration La configuration s’effectue soit sur l’appareil ou au moyen du logiciel Setup. ci-desspus un extrait de la notice de mise en service.
  • Page 65: Description Du Protocole

    2 Description du protocole 2.1 Principe maître-esclave La communication entre un PC (maître) et un appareil (esclave) avec le protocole ModBus a lieu selon le principe maître/esclave sous la forme demande de données/instruction-réponse. Master Slave 1 Slave 2 Slave n Le maître contrôle l’échange de données, les esclaves ne donnent que des réponses.
  • Page 66: Adresse De L'appareil

    2 Description du protocole 2.3 Adresse de l’appareil L’adresse d’appareil de l’esclave est réglable entre 0 et 254. L’adresse d’appareil 0 est réservée. L’interface RS422/RS485 permet d’adresser au maximum 31 esclaves. Il existe deux possibilités d’échange de données : Consultation Demande de données / instruction du maître à...
  • Page 67 2 Description du protocole Identificateur de fin de réponse 3 caractères * 1000 * x bits / vitesse Exemple Identificateurs de fin de demande de données et de réponse pour le format 10/9 Bits Temps d’attente = 3 caractères * 1000 * 10 bits / vitesse Vitesse Format de données Temps d’attente [ms]...
  • Page 68: Déroulement Temporel D'une Demande De Données

    2 Description du protocole 2.4.1 Déroulement temporel d’une demande de données Une demande de données se déroule selon le chronogramme suivant : Chronogramme Demande de Master Master Datenanfrage Datenanfrage Demande de réponse réponse Réponse Slave Antwort Slave Identificateur de fin = 3 caractères. La durée dépend de la vitesse de transmission.
  • Page 69: Structure Des Blocs De Données

    2 Description du protocole Structure des blocs de données Tous les blocs de données ont la même structure : Structure des Adresse Code Données Somme de données de la fonction contrôle l’esclave CRC16 1 octet 1 octet x octet 2 octets Chaque bloc de données dispose de 4 champs : Adresse de l’esclave Adresse d’appareil d’un certain esclave Code de la fonction...
  • Page 70: Traitement Des Erreurs

    2 Description du protocole Traitement des erreurs Codes Il existe trois codes d’erreur : d’erreurs Fonction non valable Adresse de paramètre non valable Accès en écriture à un paramètre refusé Réponse en Adresse de Fonction Code Somme de con- cas d’erreur l’esclave XX OR 80h d’erreur...
  • Page 71: Somme De Contrôle (Crc16)

    2 Description du protocole 2.7 Somme de contrôle (CRC16) La somme de contrôle (CRC16) permet de détecter les erreurs de trans- mission. Si une erreur est détectée lors de l’évaluation, l’appareil cor- respondant ne répond pas. Mode de CRC = 0xFFFF calcul CRC = CRC XOR ByteOfMessage For (1 à...
  • Page 72 2 Description du protocole...
  • Page 73: Fonctions

    3 Fonctions L’appareil dispose des fonctions suivantes : Code de la fonction Fonction 0x03 ou 0x04 Lecture de n mots 0x06 Écriture d’un mot 0x10 Écriture de n mots 3.1 Lecture de n mots Cette fonction permet de lire n (n≤127) à une adresse définie. Demande de Adresse Fonction...
  • Page 74: Ecriture D'un Mot

    3 Fonctions 3.2 Ecriture d’un mot Avec cette fonction, le bloc de données de l’instruction est identique au bloc de données de la réponse. Instruction Adresse Fonction Adresse du Valeur du Somme 0x06 de contrôle l’esclave CRC16 1 octet 1 octet 2 octets 2 octets 2 octets...
  • Page 75: Ecriture De N Mots

    3 Fonctions 3.3 Ecriture de n mots Cette fonction permet de lire n (n≤6) mots à partir d’une adresse définie. Instruction Adres- Fonc- Adresse Nb. de Nom- Valeur Somme se de tion du pre- mots du/des de contrô- l’escla- 0x10 mier mot d’oc- mot(s)
  • Page 76: Validation Des Données Après Écriture

    3 Fonctions Validation des données après écriture Etant donné que dans l’appareil, 6 mots max. peuvent être écrits dans un protocole, il est possible que des données de configuration incohé- rentes soient générées. Pour avoir des blocs de données cohérents dans l’appareil, les données reçues sont d’abord seulement déposées et non utilisées.
  • Page 77: Flux Des Données

    4 Flux des données 4.1 Adresses des paramètres et formats Vous trouverez ci-dessous toutes les valeurs de process (variables) avec leurs adresses, le type de données ainsi que le mode d’accès. Légende : Lecture seule Lecture et écriture Text Octet (8 Bit) unsigned short Entier (16 Bit) sans signe (plage de valeurs 0 à...
  • Page 78 4 Flux des données Réponse: 1403023230A0F3 (CRC16 = xF3A0) Valeurs En Modbus, les valeurs flottantes sont traitées dans le format standard flottantes IEEE-754(32 Bit), toutefois avec la différence que les octets 1 et 2 sont rempla- cés par les octets 3 et 4. Format flottant simple (32Bit) suivant standard IEEE 754 SEEEEEEE EMMMMMMM...
  • Page 79: Tableaux Des Adresses

    5 Tableaux des adresses 5.1 Paramètres de configuration Lorsque les paramètres sont modifiés via l’interface, la plage des valeurs n’est pas véri- fiée. Les opérations d’écriture sur les paramètres (R/W) entraînent une mémorisation dans l’ EEPROM. Ces modules mémoires n’ont qu’un nombre limité de cycles d’écriture (100 000 env.). N°...
  • Page 80 5 Tableaux des adresses Reservé unsigned long Reservé unsigned long Config. binaire signal binaire interne unsigned short 133 Reservé float An.1 Type de sonde Capteur 1 signed short An.2 Type de sonde Capteur 2 signed short or.1 Offset Ohm Capteur 1 float or.2 Offset Ohm Capteur 2...
  • Page 81 5 Tableaux des adresses F.Fu unsigned short 174 Mode de fonctionnement du ventilateur F.ru Temporisation au déclenchement ON/OFF unsigned short 175 F.SP Consigne de la temporisation en °C float F.HY Hystérésis Consigne de la temporisa- float tion en °C F.dL Temporisation au démarrage Minutes unsigned short 180 AL.F...
  • Page 82: Explication Configuration Binaire État Erreur (Paramètre N° 6)

    5 Tableaux des adresses 5.1.1 Explication configuration binaire état erreur (paramètre n° 6) Bit0 Rupture de sonde de température Bit1 Court-circuit de sonde de température 2 Bit2 Underrange Température Bit3 Overrange Température Bit4 Rupture de sonde de température Bit5 Court-circuit de sonde de température 32 Bit6 Underrange Température Bit7 Overrange Température Bit8 Pas d’identification calibré...
  • Page 83: Linéarisation Spécifique

    5 Tableaux des adresses 5.2 Linéarisation spécifique Paramètre Type de Modbus Modbus Accès données Adresse dez Adresse hex Nombre de paires de valeurs utilisées (2…20) unsigned short 0x0258 1. Résistance Ohm float 0x0259 2. Résistance Ohm float 3. Résistance Ohm float 4.
  • Page 84: Identification Explicite De L'appareil (Guid)

    5 Tableaux des adresses Valeurs Nombre de paires de valeurs = 2 d’exemple Résistance 1 = 50 Ohm Résistance 2 = 150 Ohm Température 1 = -10 °C Température 2 = 40 °C Les paires de valeurs non utilisées ne doivent pas être renseignées. 5.3 Identification explicite de l’appareil (GUID) Pendant le calibrage de fabrication, une identification explicite (texte) est af- fectée à...

Table of Contents