codix R60355 Serie Complemento - Instrucciones De Utilización De La Opción

Contador led de preselección
Tabla de contenido

Publicidad

Idiomas disponibles
  • MX

Idiomas disponibles

Enlaces rápidos

Ergänzungs - Bedienungsanleitung Option RS232 / RS485 zu
Additional operating instructions Option RS485 / RS232 for
Complément - Instructions d'utilisation de l'option RS232 / RS485 pour
Complemento- Instrucciones de utilización de la opción RS232 / RS485 para
Manuale d'uso aggiuntivo - Opzione RS232 / RS485 per
R60355...
LED-Vorwahlzähler
96 x 48 mm, 2 Vorwahlen
LED Preset Counter
96 x 48 mm, 2 presets
Compteur LED à présélection
96 x 48 mm, 2 présélections
Contatore a preselezione a LED
96 x 48 mm, 2 preselezioni
Contador LED de preselección
96 x 48 mm, 2 preselecciones
MODBUS - Protokoll
CR / LF – Protokoll
MODBUS Protocol
CR / LF Protocol
Protocole MODBUS
Protocole CR / LF
Protocollo MODBUS
Protocollo CR / LF
Protocolo MODBUS
Protocolo CR / LF

Publicidad

Tabla de contenido
loading

Resumen de contenidos para codix R60355 Serie

  • Página 1 Ergänzungs - Bedienungsanleitung Option RS232 / RS485 zu Additional operating instructions Option RS485 / RS232 for Complément - Instructions d’utilisation de l’option RS232 / RS485 pour Complemento- Instrucciones de utilización de la opción RS232 / RS485 para Manuale d’uso aggiuntivo - Opzione RS232 / RS485 per R60355...
  • Página 2: Tabla De Contenido

    Inhaltsverzeichnis Beschreibung Wichtige Hinweise Schnittstelle Optionsplatine RS232 Optionsplatine RS485 Von der Modbus - Organisation [1] empfohlener Geräteanschluss Schnittstellenkonfiguration Programmierung CR/LF-Protokoll Übertragung 4.1.1 Übertragungsprinzip für Datenquelle Haupt-, Batch-, oder Gesamtsummenzähler 4.1.2 Übertragungsprinzip für Datenquelle Haupt- und Batchzähler / Haupt- und Gesamtsummenzähler MODBUS - Protokoll Master –...
  • Página 3: Beschreibung

    1 Beschreibung 3.1 Optionsplatine RS232 Diese Anleitung beschreibt die Schnittstellen Die RS232 – Schnittstelle ermöglicht eine Optionen RS232/RS485 und ihre Protokolle. Punkt – zu – Punkt – Verbindung. Eine Datenflusssteuerung wird nicht unterstützt. 2 Wichtige Hinweise Anschlussbelegung Lesen Sie sowohl diese Bedienungsanleitung über die Schnittstellen Optionen als auch die Bedienungsanleitung des...
  • Página 4: Schnittstellenkonfiguration

    3.4 Schnittstellenkonfiguration 3.5 Programmierung Hauptmenü zum Programmieren MODBUS (RTU) Slave Konfiguration der Schnittstelle. Schnittstellen-Protokolle Schnittstelle Baudrate Datenformat Adresse MODBUS Protokoll 1 Startbit 8 Datenbits CR/LF - Protokoll RS232 9600 1-247 Even Parity Slave Adresse 1 Stoppbit CR/LF: 1 – 99 1 Startbit MODBUS: 1- 247 8 Datenbits...
  • Página 5: Cr/Lf-Protokoll

    4 CR/LF-Protokoll Im CR/LF – Protokoll kann das Gerät abhängig von der eingestellten Datenquelle Datenwerte an ein Slave– Gerät übertragen. 4.1 Übertragung Die Datenbytes sind ASCII-kodiert. Adresse 1: im Gerät eingestellte Slave – Adresse Adresse 2: um 1 erhöhte Slave – Adresse Datenwert: 6-stellig (+ Dezimalpunkt) Text:...
  • Página 6: Übertragungsprinzip Für Datenquelle Haupt- Und Batchzähler

    4.1.2 Übertragungsprinzip für Datenquelle Haupt- und Batchzähler / Haupt- und Gesamtsummenzähler Übertragung: Haupt- und Nebenzähler Adresse 1 Leerzeichen Text Leerzeichen Vorzeichen Datenwert Carriage Return Line Feed 2 Byte 1 Byte 4 Byte 1 Byte 1 Byte 6 oder 7 Byte 1 Byte 1 Byte Adresse 2 Leerzeichen...
  • Página 7: Timeout

    5.3 Timeout Empfängt das Master – Gerät innerhalb einer 0,5 sec keine Antwort, so kann er die letzte Anfrage verwerfen. 5.4 Nachrichtenzyklus Ein Nachrichtenzyklus 0,5 sec wird unterstützt. 5.5 Byte-Reihenfolge Das Modbus – Protokoll benutzt das Big Endian Format. 5.6 Aufbau einer Nachricht Slave - Adresse Funktionscode Daten 1 Byte 1 Byte...
  • Página 8: Integer Format ( 32 Bit )

    Maschinengenauigkeit Die relative Maschinengenauigkeit gibt an, welche relativen Fehler beim Runden ( Wandeln ) maximal entstehen können. Beim Float – Wert ( single floating point ) liegt die Maschinengenauigkeit = 5,96 * 10 5.8.2 Integer Format ( 32 Bit ) Das ganzzahlige Integer Format wird in der Darstellung als Zweierkomplement eingesetzt.
  • Página 9: Lesen Mehrerer Register

    5.10 Lesen mehrerer Register 5.11 Schreiben mehrerer Register Mit diesem Befehl können 16 Bit Register gelesen Mit diesem Befehl können 16 Bit Register werden. geschrieben werden. Befehl ( Master ): gültiger Wert im Hex- Format Feldname Wert LSB: least significant byte MSB: most significant byte Slave - Adresse Funktion Schreiben...
  • Página 10: Identifizierung

    5.12 Identifizierung 5.13 Fehlerprotokoll Mit diesem Befehl kann die Slave – Identifizierung Der Slave sendet keine Antwort, wenn er die vom gelesen werden. Master gesendete Nachricht mit Übertragungsfehler empfangen hat. Sowohl die Slave ID als auch die Erkannte Übertragungsfehler sind: Software-Version werden im ASCII-Format übertragen.
  • Página 11: Register

    5.14 Register Alle Datenwerte erstrecken sich über 2 MODBUS-Register und können nur als Gesamtwert angesprochen werden. Float Register ( 4 Byte ) Adresse Wert Zugriff Beschreibung Hinweis Schreiben eines beliebigen 0000 Hauptzähler Wertes setzt den Hauptzähler zurück. Schreiben eines Wertes setzt 0002 Nebenzähler Hauptzähler und Nebenzähler...
  • Página 12 Integer Register ( 4 Byte ) Adresse Wert Zugriff Beschreibung Hinweis Schreiben eines beliebigen Wertes 8000 Hauptzähler setzt den Hauptzähler zurück. Schreiben eines Wertes setzt 8002 Nebenzähler Hauptzähler und Nebenzähler zurück. 8004 Vorwahl 1 Vorwahl 1 8006 Vorwahl 2 Vorwahl 2 8008 Multiplikationsfaktor Multiplikationsfaktor...
  • Página 13: Allgemeine Hinweise

    Allgemeine Hinweise: Lesen/Schreiben: Register müssen nach dem oben beschriebenen Register Layout angefordert werden. Register können also nur vollständig und entsprechend dem erlaubten Zugriff gelesen und geschrieben werden. Schreiben: Schreibbefehle, die aufgrund von Formatfehlern oder Bereichsüberschreitungen nicht ausgeführt werden können, folgt eine Fehlerantwort mit dem Fehlercode Gerätefehler. Lesen / Schreiben: Ist das Gerät im Programmiermenü...
  • Página 14: Beispiele Für Nachrichtenübertragungen

    5.15 Beispiele für Nachrichtenübertragungen 5.15.1 Beispiel Lesen Register Adresse ( Float ): 0000 ( Hauptzähler ) Eingestellte Slave Adresse: Gelesener Datenwert: 3F80 0000 Master Nachricht: Slave - Adresse Funktion Register Adresse Anzahl Register 0000 0002 C40B Slave Antwort: Slave - Adresse Funktion Anzahl Bytes Datenwert...
  • Página 15: Parametersätze

    6 Parametersätze 8 Frequenzen ( typisch ) Folgende Einstellungen gelten für die HINWEIS: Schaltpegel der Eingänge Parametersätze 1 bis 3. Schaltpegel bei AC – Versorgung: HTL – Pegel Low: 0..4 VDC High: 12..30 VDC PR.TIME 5V – Pegel Low: 0..2 VDC SOURCE MAIN High:...
  • Página 16: Frequenzzähler

    8.2 Frequenzzähler HTL-Pegel, Signalform Rechteck 1:1 AC-Versorgung typ.Low 2,5V typ.High DC-Versorgung 12V typ.Low typ.High DC-Versorgung 24V typ.Low 2,5V typ.High 5V-Pegel, Signalform Rechteck 1:1 typ.Low 1,0V typ.High 4,0V 55 kHz 9 kHz A - B; A + B; 55 kHz 9 kHz A / B;...
  • Página 17 Table of Contents Description Important notice Interface Optional RS232 board Optional RS485 board Device connection recommended by the Modbus Organization [1] Interface configuration Programming CR/LF protocol Transmission 4.1.1 Transmission principle for data source main counter, batch counter or totalizer 4.1.2 Transmission principle for data source main and batch counter / main counter and totalizer...
  • Página 18: Description

    1 Description 3.1 Optional RS232 board These operating instructions describe the optional The RS232 interface allows a point to point RS232/RS485 interfaces and their protocols. connection. No data flow control is supported. 2 Important notice Connections Read both these operating instructions relating to the optional interfaces and the operating instructions of the...
  • Página 19: Interface Configuration

    3.4 Interface configuration 3.5 Programming Main interface programming MODBUS (RTU) Slave configuration menu. Interface protocols Interface Baud rate Data format Address MODBUS protocol 1 Start bit 8 Data bits CR/LF protocol RS232 9600 1-247 Even Parity Slave Address 1 Stop bit CR/LF: 1 –...
  • Página 20: Cr/Lf Protocol

    4 CR/LF protocol In the CR/LF protocol, the device can transmit data values to a slave device according to the data source set. Master Data address X (Data address X + 1) Bus RS485 Slave display Slave display Slave Address X Address X + 1 printer 4.1 Transmission...
  • Página 21: Transmission Principle For Data Source Main And Batch Counter

    4.1.2 Transmission principle for data source main and batch counter / main counter and totalizer Transmission: main and secondary counter Address 1 Space Text Space Sign Data value Carriage Return Line Feed 2 bytes 1 byte 4 bytes 1 byte 1 byte 6 or 7 bytes 1 byte...
  • Página 22: Timeout

    5.3 Timeout If the Master device does not receive a response within 0.5 seconds, it can discard the last request. 5.4 Message cycle A message cycle 0.5 sec. is supported. 5.5 Byte order The Modbus protocol uses the Big Endian format. 5.6 Structure of a message Slave Address Function code Data 1 byte...
  • Página 23: Integer Format (32 Bits)

    Machine precision The relative machine precision indicates the maximum relative error that can be generated during rounding (conversion). For the Float values (single floating point), the machine precision is = 5,96 * 10 5.8.2 Integer format (32 bits) The Integer format is used in the representation as a two’s complement. The device interprets the transmitted integer value.
  • Página 24: Reading Several Registers

    5.10 Reading several registers 5.11 Writing several registers This instruction allows reading 16-bit registers. This instruction allows writing 16-bit registers. Instruction (Master): valid value in Hex-Format LSB: least significant byte Field name Value MSB: most significant byte Slave address Instruction (Master): Function Write Start at register address (MSB) Field name...
  • Página 25: Identification

    5.12 Identification 5.13 Error protocol This instruction allows reading the identification of The Slave sends no response if it receives a the Slave. message sent by the Master including transmission errors. Both the Slave ID and the Detected transmission errors: software version are transmitted in ASCII format.
  • Página 26: Registers

    5.14 Registers All data values extend over 2 MODBUS registers and can only be processed as a whole. Float register (4 bytes) Address Value Access Description Note Writing any value resets the main 0000 Main counter counter. Writing a value resets the main 0002 Secondary counter counter and the secondary...
  • Página 27 Integer register (4 bytes) Address Value Access Description Note Writing any value resets the main 8000 Main counter counter. Writing a value resets the main 8002 Secondary counter counter and the secondary counter. 8004 Preset 1 Preset 1 8006 Preset 2 Preset 2 8008 Multiplication factor...
  • Página 28: General Guidelines

    General guidelines: Read/Write: registers must be requested in compliance with the register layout described above. So registers can only be read and written as a whole and according to the authorized access. Write: writing instructions that cannot be performed because of format or over-range errors generate an error response with the error code Device error.
  • Página 29: Message Transmission Examples

    5.15 Message transmission examples 5.15.1 Example Read Register address (Float): 0000 (main counter) Set Slave address: Read data value: 3F80 0000 Master message: Slave address Function Register address Number of registers 0000 0002 C40B Slave response: Slave address Function Number of bytes Data value 3F80 0000 F7CF...
  • Página 30: Parameter Sets

    6 Parameter sets 8 Frequencies (typical) The following settings apply to parameter sets 1 to NOTE: switching level of the inputs Switching level with AC power supply: HTL level Low: 0..4 VDC High: 12..30 VDC PR.TIME 5V level Low: 0..2 VDC SOURCE MAIN High:...
  • Página 31: Frequency Meter

    8.2 Frequency meter HTL level, rectangular signal shape 1:1 AC power supply typ.Low 2.5V typ.High DC power supply 12V typ.Low typ.High DC power supply 24V typ.Low 2.5V typ.High 5V level, rectangular signal shape 1:1 typ.Low 1.0V typ.High 4.0V 55 kHz 9 kHz A - B;...
  • Página 33 Sommaire Description Informations importantes Interface Option carte RS232 Option carte RS485 Raccordement d’appareil recommandé par l’organisation Modbus [1] Configuration de l’interface Programmation Protocole CR/LF Transmission 4.1.1 Principe de transmission pour les sources de données compteur principal, compteur de lots ou totalisateur 4.1.2 Principe de transmission pour les sources de données compteur principal et de lots / compteur principal et totalisateur...
  • Página 34: Description

    1 Description 3.1 Option carte RS232 Ces instructions décrivent les options d’interface L’interface RS232 permet une liaison de point à RS232/RS485 et leurs protocoles. point. Elle ne supporte pas de procédure de contrôle du flux de données. 2 Informations importantes Raccordement Lisez attentivement aussi bien ces instructions sur les options...
  • Página 35: Configuration De L'iNterface

    3.4 Configuration de l’interface 3.5 Programmation Menu principal de Configuration Esclave MODBUS (RTU) programmation de l’interface. Protocoles d’interface Vitesse Format Interface Adresse de trans. des données Protocole MODBUS 1 bit de début Protocole CR/LF 8 bits de données RS232 9600 1-247 Adresse Esclave Parité...
  • Página 36: Protocole Cr/Lf

    4 Protocole CR/LF Avec le protocole CR/LF, l’appareil peut transmettre des données à un appareil esclave en fonction de la source de données sélectionnée. Maître Adresse des données X (Adresse des données X + 1) Bus RS485 Afficheur esclave Afficheur esclave Imprimante Adresse X Adresse X + 1...
  • Página 37: Principe De Transmission Pour Les Sources De Données Compteur Principal Et De Lots / Compteur Principal Et Totalisateur

    4.1.2 Principe de transmission pour les sources de données compteur principal et de lots / compteur principal et totalisateur Transmission : compteur principal ou secondaire Adresse 1 Espace Texte Espace Signe Valeur Retour chariot Saut de ligne 2 octets 1 octet 4 octets 1 octet 1 octet...
  • Página 38: Timeout

    5.3 Timeout Si l’appareil maître ne reçoit aucune réponse dans un laps de temps de 0,5 seconde, il peut rejeter la dernière demande. 5.4 Temps de cycle des messages Le système supporte un temps de cycle des messages 0,5 sec. 5.5 Succession des octets Le protocole Modbus utilise le format Big Endian.
  • Página 39: Format Integer (Entier - 32 Bits)

    Précision machine La précision machine relative spécifie les erreurs relatives maximales pouvant survenir lors de l’arrondi (conversion). Pour une valeur Float (single floating point), la précision machine est de = 5,96 * 10 5.8.2 Format Integer (entier - 32 bits) Le format entier Integer est utilisé...
  • Página 40: Lecture De Plusieurs Registres

    5.10 Lecture de plusieurs registres 5.11 Ecriture de plusieurs registres Cette instruction permet la lecture de registres à Cette instruction permet l’écriture de registres à 16 bits. 16 bits. Instruction (maître) : valeur valide au format Nom de champ Valeur LSB: least significant byte (octet de poids le plus faible) Adresse esclave...
  • Página 41: Identification

    5.12 Identification 5.13 Protocole en cas d’erreur Cette instruction permet la lecture de Si l’esclave reçoit un message envoyé par le l’identification de l’esclave. maître comportant des erreurs de transmission, il n’envoie pas de réponse. L’identifiant de l’esclave et la Erreurs de transmission reconnues : version de logiciel sont tous deux transmis au format ASCII.
  • Página 42: Registres

    5.14 Registres Toutes les valeurs de données s’étendent sur 2 registres MODBUS et ne peuvent être lus et écrits que sous la forme d’une valeur globale. Registres Float (point décimal flottant - 4 octets) Adresse Valeur Accès Description Remarque L’écriture d’une valeur quelconque 0000 Compteur principal repositionne le compteur principal.
  • Página 43 Registres Integer (entier - 4 octets) Adresse Valeur Accès Description Remarque L’écriture d’une valeur quelconque 8000 Compteur principal repositionne le compteur principal. L’écriture d’une valeur repositionne Compteur 8002 le compteur principal et le compteur secondaire secondaire. 8004 Présélection 1 Présélection 1 8006 Présélection 2 Présélection 2...
  • Página 44: Remarques D'oRdre Général

    Remarques d’ordre général : Lecture/écriture : les registres doivent être appelés selon la structure de registres décrite ci-dessus. Les registres ne peuvent donc être lus et écrits qu’en intégralité et en fonction des conditions d’accès. Ecriture : les instructions d’écriture qui ne peuvent pas être exécutées du fait d’erreurs de format ou de dépassement de la plage autorisée, génèrent une réponse d’erreur avec le code d’erreur Défaut appareil.
  • Página 45: Exemples De Transmissions De Messages

    5.15 Exemples de transmissions de messages 5.15.1 Exemple de lecture Adresse du registre (Float) : 0000 (compteur principal) Adresse esclave définie : Valeur de donnée lue : 3F80 0000 Message émis par le maître : Adresse esclave Fonction Adresse registre Nombre de registres 0000 0002...
  • Página 46: Jeux De Paramètres

    6 Jeux de paramètres 8 Fréquences (typiques) Les réglages suivants s’appliquent aux jeux de NOTA : niveau de commutation des entrées paramètres 1 à 3. Niveau de commutation pour alimentation AC : Niveau HTL Bas : 0..4 VDC Haut : 12..30 VDC PR.TIME Niveau 5V...
  • Página 47: Fréquencemètre

    8.2 Fréquencemètre Niveau HTL, forme de signal rectangulaire 1:1 Alimentation AC typ. Bas 2,5V typ. Haut Alimentation DC 12V typ. Bas typ. Haut Alimentation DC 24V typ. Bas 2,5V typ. Haut Niveau 5V, forme de signal rectangulaire 1:1 typ. Bas 1,0V typ.
  • Página 49 Indice Contatore a preselezione a LED Descrizione Avvertenze importanti Interfaccia Platina opzionale RS232 Platina opzionale RS485 Collegamento consigliato dall’Organizzazione Modbus [1] Configurazione dell‘interfaccia Programmazione Protocollo CR/LF Trasmissione 4.1.1 Principio di trasmissione per fonte di dati contatore principale, contatore di partite o totalizzatore 4.1.2 Principio di trasmissione per fonte di dati contatore principale e contatore di partite/ contatore principale e totalizzatore...
  • Página 50: Descrizione

    1 Descrizione 3.1 Platina opzionale RS232 Questo manuale descrive le opzioni di interfaccia L’interfaccia RS232 – consente un collegamento RS232/RS485 e i rispettivi protocolli. punto a punto. Non è supportato un controlloo del flusso di dati. 2 Avvertenze importanti Collegamento Leggere sia questo manuale d’uso riguardo alle opzioni di interfaccia che il manuale d’uso...
  • Página 51: Configurazione Dell'iNterfaccia

    3.4 Configurazione dell‘interfaccia 3.5 Programmazione Menu principale per la Configurazione Slave MODBUS (RTU) programmazione dell’Interfaccia. Protocolli dell’interfaccia Interfaccia Vel. di trasm. Formato dati Indirizzo Protocollo MODBUS 1 bit di inizio 8 bit di dati Protocollo CR/LF RS232 9600 1-247 Parità Indirizzo Slave 1 bit d’arresto CR/LF: 1 –...
  • Página 52: Protocollo Cr/Lf

    4 Protocollo CR/LF Nel protocollo CR/LF l’apparecchio può, a seconda della fonte di dati impostata, trasmettere dei dati di valori a un’aparecchio Slave. Master Indirizzo dati X (Indirizzo dati X + 1) Bus RS485 Display Slave Display Slave Stampante Indirizzo X Indirizzo X + 1 Slave 4.1 Trasmissione...
  • Página 53: Principio Di Trasmissione Per Fonte Di Dati Contatore Principale E Contatore Di Partite/ Contatore Principale E Totalizzatore

    4.1.2 Principio di trasmissione per fonte di dati contatore principale e contatore di partite/ contatore principale e totalizzatore Trasmissione: contatore principale e secondario Indirizzo 1 Spazio Testo Spazio Segno Valore dati Carriage Return Line Feed 2 byte 1 byte 4 byte 1 byte 1 byte 6 o 7 byte...
  • Página 54: Timeout

    5.3 Timeout Se l’apparecchio Master non riceve risposta entro 0,5 secondi, può scartare l’ultima richiesta. 5.4 Ciclo d’informazione È’ supportato un ciclo d’informazione 0,5 sec. 5.5 Ordine dei byte Il protocollo Modbus utilizza il formato Big Endian. 5.6 Struttura di un messaggio Indirizzo Slave Codice di funzione Dati 1 byte 1 byte...
  • Página 55: Formato Integro ( 32 Bit )

    Precisione macchina La precisione macchina relativa indica quali errori relativi possono sorgere al massimo nell’arrotondare (convertire). Nel valore Float (single floating point) la precisione macchina è di = 5,96 * 10 5.8.2 Formato Integer (integro - 32 bit) Il formato integro viene utilizzato nella rappresentazione come complemento a due. L’apparecchio interpreta il valore integro trasmesso.
  • Página 56: Lettura Di Più Registri

    5.10 Lettura di più registri 5.11 Scrittura di più registri Con questo comando si possono leggere registri a Con questo comando si possono scrivere registri a 16 bit. 16 bit: Comando (Master): valore valido nel formato Nome del campo Valore LSB: least significant byte (byte meno significativo) Indirizzo Slave...
  • Página 57: Identificazione

    5.12 Identificazione 5.13 Protocollo errore Con questo comando si può leggere Lo slave non invia alcuna risposta, se ha ricevuto l’identificazione dello slave. l’informazione del Master con errori di trasmissione. Sia l’ID Slave sia la versione- Gli errori di trasmissione riconosciuti sono: Software sono trasmessi in formato ASCII.
  • Página 58: Registri

    5.14 Registri Tutti i valori di dati si estendono su 2 registri MODBUS e possono esser considerati soltanto come un valore globale. Registri Float (4 byte) Indirizzo Valore Accesso Descrizione Osservazioni Contatore La scrittura di un qualsiasi valore 0000 principale ripristina il contatore principale Contatore La scrittura di un valore ripristina i...
  • Página 59 Registri Integer (integro - 4 byte) Indirizzo Valore Accesso Descrizione Osservazioni Contatore La scrittura di un qualsiasi valore 8000 principale ripristina il contatore principale Contatore La scrittura di un valore ripristina i 8002 secondario contatori principale e secondario. 8004 Preselezione 1 Preselezione 1 8006 Preselezione 2...
  • Página 60: Indicazioni Generali

    Indicazioni generali: Lettura/scrittura: i registri devono essere richiesti secondo la struttura di registro sopra descritta. I registri quindi possono essere letti e scritti soltanto in maniera completa e conforme all’accesso consentito. Scrittura: i comandi di scrittura, che non possono essere eseguiti a causa di errori di formato o di superamenti di campo, generano una risposta di errore con il codice errore Errore Apparecchio.
  • Página 61: Esempi Per La Trasmissione Di Messaggi

    5.15 Esempi per la trasmissione di messaggi 5.15.1 Esempio di lettura Indirizzo registro (Float): 0000 (contatore principale) Indirizzo Slave impostato: Valore di dati letto : 3F80 0000 Messaggio Master: Indirizzo Slave Funzione Indirizzo Registro Numero dei registri 0000 0002 C40B Risposta Slave: Indirizzo Slave Funzione...
  • Página 62: Gruppi Di Parametri

    6 Gruppi di parametri 8 Frequenze (tipiche) Le seguenti impostazioni valgono per i gruppi di NOTA: livello di commutazione delle entrate parametri 1 - 3. Livello di commutazione con alimentazione AC: Livello HTL basso: 0..4 VDC alto: 12..30 VDC PR.TIME Livello 5V basso: 0..2 VDC...
  • Página 63: Frequenziometro

    8.2 Frequenziometro Livello HTL, forma di segnale rettangolare 1:1 Alimentazione AC tip. basso 2,5V tip.alto Alimentazione DC 12V tip.basso Tip.alto Alimentazione DC 24V tip.basso 2,5V tip.alto Livello 5V, forma di segnale rettangolare 1:1 tip.basso 1,0V tip.alto 4,0V 55 kHz 9 kHz A - B;...
  • Página 65 Sumario Descripción Informaciones importantes Interfaz Opción tarjeta RS232 Opción tarjeta RS485 Conexión de aparato recomendada por la organización Modbus [1] Configuración de la interfaz Programación Protocolo CR/LF Transmisión 4.1.1 Principio de transmisión para las fuentes de datos contador principal, contador de lotes o calculadora 4.1.2 Principio de transmisión para las fuentes de datos contador principal y de lotes/ contador principal y totalizador...
  • Página 66: Descripción

    1 Descripción 3.1 Opción tarjeta RS232 Estas instrucciones describen las opciones de La interfaz RS232 permite una conexión de punto interfaz RS232/RS485 y sus protocolos. a punto. No soporta ningún procedimiento de control del flujo de datos. 2 Informaciones importantes Conexión Lea atentamente tanto estas instrucciones sobre las opciones...
  • Página 67: Configuración De La Interfaz

    3.4 Configuración de la interfaz 3.5 Programación Menú principal de programación Configuración esclavo MODBUS (RTU) de la interfaz. Protocoles de interface Velocidad Formato Interfaz Dirección de trans. de los datos Protocolo MODBUS 1 bit inicial Protocolo CR/LF 8 bits de datos RS232 9600 1-247...
  • Página 68: Protocolo Cr/Lf

    4 Protocolo CR/LF Con el protocolo CR/LF, el aparato puede transmitir datos a un aparato esclavo en función de la fuente de datos seleccionada. Maestro Dirección de datos X (Dirección de datos X + 1) Bus RS485 Visualizador esclavo Visualizador esclavo Impresora Dirección X Dirección X + 1...
  • Página 69: Principio De Transmisión Para Las Fuentes De Datos Contador Principal Y De Lotes/ Contador Principal Y Totalizador

    4.1.2 Principio de transmisión para las fuentes de datos contador principal y de lotes/ contador principal y totalizador Transmisión: contador principal o secundario Dirección 1 Espacio Texto Espacio Signo Valor Vuelta carro Salto de línea 2 bytes 1 byte 4 bytes 1 byte 1 byte 6 o 7 bytes...
  • Página 70: Timeout

    5.3 Timeout Si el aparato maestro no recibe ninguna respuesta en un lapso de tiempo de 0,5 segundos, puede rechazar la última demanda. 5.4 Tiempo de ciclo de los mensajes El sistema soporta un tiempo de ciclo de mensajes 0,5 seg. 5.5 Sucesión de los bytes El protocolo Modbus utiliza el formato Big Endian.
  • Página 71: Formato Integer (Entero - 32 Bits)

    Precisión máquina La precisión máquina relativa especifica los errores relativos máximos que pueden sobrevenir durante el redondeado (conversión). Para un valor Float (single floating point), la precisión máquina es de = 5,96 * 10 5.8.2. Formato Integer (entero - 32 bits) El formato entero Integer se utiliza en la representación como un complemento de dos.
  • Página 72: Lectura De Varios Registros

    5.10 Lectura de varios registros 5.11 Escritura de varios registros Esta instrucción permite leer registros de 16 bits. Esta instrucción permite escribir registros de 16 bits. Instrucción (maestro): valor válido al formato Hex LSB: least significa byte Nombre de campo Valor (byte de peso más bajo) MSB: most significa byte...
  • Página 73: Identificación

    5.12 Identificación 5.13 Protocolo en caso de error Esta instrucción permite leer la identificación del Si el esclavo recibe un mensaje enviado por el esclavo. maestro que contiene errores de transmisión, no envía ninguna respuesta. El identificador del esclavo y la Errores de transmisión reconocidos: versión del software se transmiten los dos al formato...
  • Página 74: Registros

    5.14 Registros Todos los valores de datos se extienden en 2 registros MODBUS y sólo pueden leerse y escribirse en forma de un valor global. Registros Float (punto decimal flotante - 4 bytes) Dirección Valor Acceso Descripción Observación La escritura de cualquier valor 0000 Contador principal recoloca el contador principal.
  • Página 75 Registros Integer (entero - 4 bytes) Dirección Valor Acceso Descripción Observación La escritura de cualquier valor 8000 Contador principal recoloca el contador principal. La escritura de un valor recoloca el Contador 8002 contador principal y el contador secundario secundario. 8004 Preselección 1 Preselección 1 8006...
  • Página 76: Observaciones De Carácter General

    Observaciones de carácter general: Lectura/escritura: los registros deben llamarse según la estructura de registros descrita anteriormente. Por tanto, los registros sólo pueden leerse y escribirse en su integralidad y en función de las condiciones de acceso. Escritura: las instrucciones de escritura que no pueden ejecutarse debido a errores de formato o de rebasamiento del campo autorizado, generan una respuesta de error con el código de error Fallo aparato.
  • Página 77: Ejemplos De Transmisión De Mensajes

    5.15 Ejemplos de transmisión de mensajes 5.15.1 Ejemplo de lectura Dirección del registro (Float): 0000 (contador principal) Dirección esclavo definido: Valor de dato leído: 3F80 0000 (1dec) Mensaje emitido por el maestro: Dirección esclavo Función Dirección registro Número de registros 0000 0002 C40B...
  • Página 78: Juegos De Parámetros

    6 Juegos de parámetros 8 Frecuencias (típicas) Los siguientes ajustes se aplican a los juegos de NOTA: nivel de conmutación de las entradas parámetros 1 a 3. Nivel de conmutación para alimentación AC: Nivel HTL Bajo: 0..4 VDC Alto: 12..30 VDC PR.TIME Nivel 5V Bajo:...
  • Página 79: Frecuencímetro

    8.2 Frecuencímetro Nivel HTL, forma de señal rectangular 1:1 Alimentación AC típ. Bajo 2,5V típ. Alto 22V Alimentación DC 12V típ. Bajo 2V típ. Alto 10V Alimentación DC 24V típ. Bajo 2,5V típ. Alto 22V Nivel 5V, forma de señal rectangular 1:1 típ.

Este manual también es adecuado para:

Rs232Rs485

Tabla de contenido