fslurp ERROR: readBytes timeout

Help
Anonymous
2013-02-20
2013-03-20
  • Anonymous - 2013-02-20

    Hi,

    I try to get fslurp running on armv7l. It compiles without error. But when I try to read data from my fronius inverter I always get:

    root@picuntu:~/fslurp-2.1.2# ./fslurp -p /dev/ttyUSB0 -v
    writeBytes(getVersion)
    0x80 0x80 0x80 00 00 00 0x1 0x1
    writeBytes(getVersion)
    0x80 0x80 0x80 00 00 00 0x1 0x1
    readBytes(header)
    readBytes: retrying read
    readBytes: retrying read
    readBytes: retrying read
    readBytes: retrying read
    readBytes: retrying read
    readBytes: retrying read
    readBytes: retrying read
    ./fslurp ERROR: readBytes timeout

    I also tried fslurp 0.9. But get the same error. It works with the same USB to serial adapter on i686 and armv6l (raspberry Pi)

    Any hints on how to solve this?

    Thanks, Andre

     
  • David Stone

    David Stone - 2013-02-20

    Hello.

    My first suspicion would that the serial device, or the cabling isn't working in your new setup.  You can also try reducing the baud rate (e.g. -b 2400).

     
  • Anonymous - 2013-02-23

    Hello,

    I tried another serial to USB adapter (FTDI Chipset instead of Prolific).  That one is working fine in my current setup.

    root@picuntu:~/fslurp-2.1.2# ./fslurp -p /dev/ttyUSB0
    Time                     : Sat Feb 23 14:10:00 2013


    Device number            : 0
    Device type              : 0x02
    Device description       : RS232 Interface Card easy, 1.3.0


    Device number            : 1
    Device type              : 0xD2
    Device description       : Fronius IG Plus 100-2 2-phase inverter


    root@picuntu:~/fslurp-2.1.2#

    Thank you for your help on this topic.

    Another thing I would like to ask: Strangely I found both, the Interface Card easy and a Datalogger card installed in my Inverter. I would like to use the Datalogger instead of the interface card because I've read in the help that the Datalogger would give me yearly values too. I found no documentation on how to use fslurp with a Datalogger Card. There are three connectors on the card. A USB connector and two Sub-D connectors labelled "Computer" and "Modem". When I connect to the Sub-D Jack labelled "Computer", I get the readBytes timeout again. :-(

    Using USB the Datalogger isn't recognized as a serial device.

    Feb 23 14:19:36 picuntu kernel:  usb 2-1: new full speed USB device number 3 using usb20_host
    Feb 23 14:19:37 picuntu kernel:  usb 2-1: New USB device found, idVendor=101e, idProduct=0006
    Feb 23 14:19:37 picuntu kernel:  usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    Feb 23 14:19:37 picuntu kernel:  usb 2-1: Product: Datalogger2
    Feb 23 14:19:37 picuntu kernel:  usb 2-1: Manufacturer: Fronius
    Feb 23 14:19:37 picuntu kernel:  usb 2-1: SerialNumber: 01004300
    root@picuntu:~/fslurp-2.1.2#

    How do I connect to the  Datalogger card?

    Thanks for your help and for writing this fantastic piece of software,
    Andre

     
  • Anonymous - 2013-02-25

    Hello, your Datalogger card is not enough. Those serial ports (Modem and Computer) works with Fronius proprietary software only.

    You need also an Interface Card to connect together, that have a "Data" serial port and use the Fronius open data protocol.

    Have a look here:
    http://tinypic.com/r/w9bjmx/6

    There are:
    - Datalogger as a card
    - Datalogger as a box (easy/pro)
    - Interface as a card
    - Interface as a box
    - Datalogger & Interface box, that combines the datalogger and the interface in one housing.

    IMPORTANT NOTE: the Interface Card it's NOT the interface Card Easy.

    Hope it helps. :-)

     
  • Anonymous - 2013-02-25

    Hello Andre, just to clarify:

    The Interface Card Easy is a standalone component that support one inverter only.

    The interface Card instead needs a datalogger to work, and could support 1-100 inverter.

     

Log in to post a comment.