Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Raspberry PI Erweiterungen RS232/RS485

Dingo
2014-04-05
2014-04-08
  • Dingo - 2014-04-05

    Hi fellas,
    kennt jemand, oder hat bereits die Erweiterungskarte Raspi Comm im Einsatz?

    http://www.amescon.com/de/produkte.aspx

    Kommt aus Österreich.

    Währe wg. RS485 in Verbindung mit der CODESYS V3 Runtime interessant, Richtung Modbus RTU.

    Auf der Homepage wird eine Version mit CAN angekündigt.

    MfG aus OWL

    Dingo

     
  • eschwellinger

    eschwellinger - 2014-04-08

    Hallo,

    wenn man sich die Beschreibung anschaut müsste ein Großteil schon funktionieren

    RS-232 (‘serielle’) Schnittstelle -- müsste funktionieren man muss die nur im CODESYSControl.cfg Mappen:
    dazu gibt's ein Beispiel hier:

    http://forum.codesys.com/viewtopic.php? ... 699#p10247

    5 Eingänge an Schraubanschlüssen, zusätzlich an einem "Joystick" auf der Platine - wie angebunden (über GPIO's ???) dann müsste das jetzt auch gehen
    2 Ausgänge 5 Volt mit LEDs (grün und rot) an Schraubanschlüssen - über GPIO's
    I2C Bus - (denke der ist für die RTC???)
    Echtzeituhr (RTC) mit Batterie - das betrifft ja erst mal Linux sollte also auch kein Thema sein

    Wenn man das script zur Installation aufruft kommt:

    apt-get returned the error code '100'.
    Failed to install the Rs-485 Device Driver package for your kernel version.
    If apt-get couldn't find a package for your kernel version, you have 3 options:
    1) Consider switching to a kernel version for which a rs-485 driver package
    has been built (e.g. 3.10.19+ #600)
    2) Post your kernel version (uname -a) on our forums
    (http://www.amescon.com/forum) and ask for a driver package for your kernel
    3) Download the kernel module source and built the module yourself
    (https://github.com/amescon/raspicomm-module.git)
    exporting gpio 4
    exporting gpio 22
    exporting gpio 23
    exporting gpio 24
    exporting gpio 25
    exporting gpio 18
    exporting gpio 27
    i2c already configured

    also braucht man für RS-485 braucht man wohl eher einen bestimmten Kernel & passendes Kernelmodul

    Grüße
    Edwin

     

Log in to post a comment.