5.1. ComfoAirQ-Anfragebeispiele
5.1. ComfoAirQ-Anfragebeispiele
9.4 Anforderungsbeispiele von ComfoAirQ/Flex
5.1.1. Modbus TCP
5.1.1. Modbus TCP
9.4.1 Modbus TCP1 Modbus TCP
Alarm-Flag lesen
Alarm-Flag lesen
Transaktionskennung
Transaktionskennung
2 Bytes
2 Bytes
0x1234
0x1234
>> 12 34 00 00 00 06 01 02 00 00 00 01
>> 12 34 00 00 00 06 01 02 00 00 00 01
Antwort (Flag aktiv)
Antwort (Flag aktiv)
Transaktionskennung
Transaktionskennung
2 Bytes
2 Bytes
0x1234
0x1234
<< 12 34 00 00 00 04 01 02 00 01 00 01
<< 12 34 00 00 00 04 01 02 00 01 00 01
Fehlerantwort (Gateway-Pfad nicht verfügbar)
Fehlerantwort (Gateway-Pfad nicht verfügbar)
5.1. ComfoAirQ esempi di richiesta
Transaktionskennung
Transaktionskennung
2 Bytes
2 Bytes
5.1.1. Modbus TCP
0x1234
0x1234
Lettura flag di allarme
<< 12 34 00 00 00 04 01 82 0A
<< 12 34 00 00 00 04 01 82 0A
Identificatore di
Identificatore
9.4.2 Modbus RTU
5.1.2. Modbus RTU
transazione
di protocollo
5.1.2. Modbus RTU
2 byte
2 byte
Aktive Voreinstellung 3 (hoher Strom)
0x1234
0x0000
Aktive Voreinstellung 3 (hoher Strom)
Einheitenkennung
Einheitenkennung
>> 12 34 00 00 00 06 01 02 00 00 00 01
1 Byte
1 Byte
0x01
0x01
Risposta (flag attivo)
>> 01 05 00 04 FF 00 CD FB
>> 01 05 00 04 FF 00 CD FB
Identificatore di
Identificatore
transazione
di protocollo
Antwort
Antwort
2 byte
2 byte
Einheitenkennung
Einheitenkennung
1 Byte
1 Byte
0x1234
0x0000
0x01
0x01
<< 12 34 00 00 00 04 01 02 00 01 00 01
Dateiname:
Dateiname:
ComfoConnectPro_Modbus_Installation_accepted_DE
Risposta di errore (percorso gateway non disponibile)
ComfoConnectPro_Modbus_Installation_accepted_DE
Identificatore di
transazione
2 byte
0x1234
24 - DE
<< 12 34 00 00 00 04 01 82 0A
MBAP-Kopfzeile
MBAP-Kopfzeile
Protokollkennun
Protokollkennun
g
g
2 Bytes
2 Bytes
0x0000
0x0000
MBAP-Kopfzeile
MBAP-Kopfzeile
Protokollkennung
Länge
Protokollkennung
Länge
2 Bytes
2
2 Bytes
2
Bytes
Bytes
0x0000
0x0004
0x0000
0x0004
MBAP-Kopfzeile
MBAP-Kopfzeile
Protokollkennung
Protokollkennung
Länge
2 Bytes
2 Bytes
2 Bytes
0x0000
0x0000
0x0004
Header MBAP
Lunghezza
2 byte
0x0006
Funktionscode
Adresse
Funktionscode
Adresse
1 Byte
2 Bytes
1 Byte
2 Bytes
0x05
0x0004
0x05
0x0004
Header MBAP
Lunghezza
2 byte
Funktionscode
Adresse
Funktionscode
Adresse
1 Byte
2 Bytes
1 Byte
2 Bytes
0x0004
0x05
0x0004
0x05
0x0004
Header MBAP
Identificatore di
Lunghezza
protocollo
2 byte
2 byte
0x0000
0x0004
Länge
Einheitenken
Länge
Einheitenken
nung
nung
2 Bytes
1 Byte
2 Bytes
1 Byte
0x0006
0x01
0x0006
0x01
Einheitenkennung
Einheitenkennung
1 Byte
1 Byte
0x01
0x01
Länge
Einheitenkennung
Einheitenkennung
2 Bytes
1 Byte
1 Byte
0x0004
0x01
0x01
Identificatore
di unità
1 byte
0x01
Wert
Wert
2 Bytes
2 Bytes
0xFF00
0xFF00
Identificatore
di unità
1 byte
Wert
Wert
2 Bytes
2 Bytes
0x01
0xFF00
0xFF00
|
15 von 19
|
|
15 von 19
|
Identificatore di
unità
1 byte
0x01
ComfoConnectPro Modbus
ComfoConnectPro Modbus
TCP/RTU installation
TCP/RTU installation
Dokumentrevision: 140
Dokumentrevision: 140
Funktionscode Startadresse
Funktionscode Startadresse
1 Byte
2 Bytes
1 Byte
2 Bytes
0x02
0x0000
0x02
0x0000
Funktionscode
Byte
Funktionscode
Byte
Zahl
Zahl
Ceil(Mg)
Ceil(Mg)
1 Byte
1 Byte
1 Byte
1 Byte
0x02
0x01
0x02
0x01
ComfoConnectPro Modbus
TCP/RTU installation
Revisione documento: 140
Fehlercode
Ausnahmecode
Fehlercode
Ausnahmecode
1 Byte
1 Byte
1 Byte
1 Byte
0x82
0x0A
0x82
0x0A
Codice
Indirizzo di
funzione
partenza
1 byte
2 byte
0x02
0x0000
CRC
CRC
2 Bytes
2 Bytes
0xCDFB
0xCDFB
Codice
Conteggio
funzione
byte
Ceil (quantità)
1 byte
1 byte
CRC
CRC
2 Bytes
2 Bytes
0x02
0x01
0xCDFB
0xCDFB
Codice di
errore
1 byte
0x82
Menge
Menge
2
2
Bytes
Bytes
0x000
0x000
1
1
Werte
Werte
1 Byte
1 Byte
0x01
0x01
Quantità
2 byte
0x0001
Valori
1
byte
0x01
VERTRAULICH
VERTRAULICH
Codice di
eccezione
1 byte
0x0A