Datengewinnung über Adam-4017+ Modbus RTU

Datengewinnung über Adam-4017+ Modbus RTU

Hallo Zusammen,
ich möchte für eine Photovoltaikvisualisierung aktuelle Strom und Spannungswerte an einem TPC darstellen. Auf dem TPC läuft Win CE in der Version 6.0 und die Zenon Runtime 7.0, dabei verfügt der TPC über eine RS-485 Schnittstelle. Das ADAM 4017+ ist über das Tool von Advantech ansprechbar und die Messwerte können über dieses Tool auch ausgelesen werden.
Ich verwende folgende Einstellungen im Modbus Treiber in der Zenon Runtime:
Verbindung: Seriell+ASCII
Allgemeiens: Maximale Blockgröße 32
Byte-Reihenfolge für DWORD: Intel Format (Little-Endian)
Byte-Reihenfolge für FLOAT: Modbus Standard (Big-Endian)
Byte Reihenfolge für STRING: PC-Format (Little Endian)
Fehlerbehandlung:
Verb Timeout 3000ms
Wiederholungen im Fehlerfall 6
Verzögerungszeit nach Verbindungsabbruch 20000ms
Senderverzögerung 10ms
Com Einstellungen:
Com 2
Datenbit: 8
Stoppbit: 1
Baudrate: 9600
Parität: No
Protokoll: No
Ich habe mir zwei Variablen für meine Eingangswerte (Strom_In u. Spannung_In) angelegt und folgende Einstellungen vorgenommen:
Adressierung:
Netzwerkadresse: 40001 (diese Adresse wird im Advantech Tool unter Modbus angezeigt)
Restlichen Werte: 0
Treiber Anbindung:
Treiber: MODRTU32 - Modbus RTU and Open Modbus TCP
Datentyp: UINT
Treiber-Objekttyp: AnalogInput
Parität: Normal
Ansonsten wurden keine Einstellungen vorgenommen.
Nun habe ich versucht die Daten mittels Trendelement am TPC darzustellen, jedoch bis jetzt ohne Erfolg. :mad:
Vielleicht hat jemand eine Idee was ich übersehe bzw. falsch mache oder weiß eine passende Dokumentation.
Danke für eure Hilfe
LG Datl

This is a migrated post! Originally posted on 08.05.2014 by user datl. Please be aware that information can be outdated.

    Disclaimer

    This document governs the use of our Community Forum. By registering and using the platform, you accept these conditions.

    The COPA-DATA Community Forum serves to encourage the exchange of information and experience about the zenon software between forum users respectively zenon users.

    Please mind that any published information on the Community Forum is the subjective opinion and view based on the experience and the level of knowledge of the author. COPA-DATA does not overtake any responsibility for the content and the accuracy of the shared information.

    Users of the Community Forum are encouraged to share only well-founded experiences and to point out any risks associated with the implementation of proposed solutions to problems. COPA-DATA at its absolute discretion, reserves the right to moderate the forum. In this connection COPA-DATA may remove any information containing false facts, potentially dangerous solutions, bad language or content that may insult, degrade or discriminate others. COPA-DATA may block a non-complying user from forum access if the user violated this provision.

    COPA-DATA reserves the right to change this document from time to time at own discretion.


    Ing. Punzenberger COPA-DATA GmbH
    Karolingerstraße 7b · 5020 Salzburg · Austria
    www.copadata.com