Announcement

Collapse
No announcement yet.

xapmcs1wire + Ds2409 hub 2 channels

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    xapmcs1wire + Ds2409 hub 2 channels

    Hello,

    I just connected a ds2409 hub-switch to create 2 channels to the 1-wire bus. the hardware works ok. I can switch between channel 1 and channel 2 with the 0newireViewer program and read the ds18b20 sensors on it.

    I use the xapmcs1wire program and its sees the ds2409 hub-switch.
    see also the picture. It does not start the readings on the channel 1
    and channel 2.
    Is there a setup needed to activate the ds2409 hub?
    I want to have 4 ds2409 on a backbone bus and several sub-networks for ds18b20 and ds2408 devices.

    Regards
    piever.
    Last edited by piever; March 22, 2010, 03:34 AM.

    #2
    Hereby the axpmcs1wire debug output for the ds2409 hub-switch
    Last edited by piever; March 25, 2010, 11:13 AM.

    Comment


      #3
      I used the Search for devices button and now its starts to poll only 1 channel not channel 1 and channel 2.
      see file
      Attached Files

      Comment


        #4
        The first step is to poll for devices. Sensors that are on DS2409 branches will have the hub id of the branch in the Hub column. The status of the DS2409 is showing as Red which means when xapmcs1wire queries for the address there is no response.

        Comment


          #5
          Hello Michael,

          see my last info.

          Hereby my last debug on the good colors.

          Its still scanning ony 1 channel!?

          piever
          Last edited by piever; March 25, 2010, 11:13 AM.

          Comment


            #6
            The last line in your log is telling what it does not like. I dont know offhand the scenario that could create this situation. There may have been more info in other parts of the log. You could also change the polling rate of the second branch to something like 4000 or 6000 and see if that helps.

            Comment


              #7
              Hello Michael,

              Thanks for your reply.

              The poll time does not change anything.
              I build a led on each channel to see when its activating a channel.
              I can see when I start xapmcs1wire its scans both the channels (the leds goes on for a short time one at a time) then its stays with scanning on a channel and never goes to the other channel.
              The same behavor when I push the Search for Devices button!!

              Its only 1 ds2409 with 1 channel with 1 ds18b20 and the 2e channel with 2 x ds18b20 on a direct 1-wire bus from the usb interface.

              Somethings goes wrong with the swichting to the other channel!!

              Any idees?

              piever

              Comment


                #8
                Post your xapmcs1wire.ini and the full log.

                Comment


                  #9
                  Hello Michael,

                  Hereby the requsted files.

                  There is only 1x ds18b20 on the channel a and 2x ds18b20 on channel b connected. Only 1 ds2409 on the 1 wire bus from the usb-device.
                  I can also see with leds when a channel get active.

                  If I do not use the swicthes of the ds18b20 (not accepted) how can I change the poll speed of the channels?

                  piever
                  Last edited by piever; March 25, 2010, 11:12 AM.

                  Comment


                    #10
                    Hello Michael,

                    The status in the overview of xapmcs1wire of the hub-switches for both
                    channels (0030 and 0031)gives a 0 status.
                    Is the a normal status for ds2409 channels?

                    piever

                    Comment


                      #11
                      I dont recall the DS2409 Hub Switch reporting status. I can look when I get back home at the end of the week. The attached should have the problem of Channel 0 not being processed in the singular DS2409 case.
                      Last edited by Michael McSharry; March 23, 2010, 10:30 PM.

                      Comment


                        #12
                        Hello Michael,

                        Your right. On version 3019 Channel 0 is not processed. Only channel 1. There are 2 ds18b20 sensors on it.
                        Hereby the files.

                        regards piever.
                        Last edited by piever; March 25, 2010, 11:12 AM.

                        Comment


                          #13
                          more info aboud channel 0 1 switching.
                          When I push the Search for devices button the channel scanning goes from chanel 1 to 0.

                          See the file

                          Regards piever
                          Attached Files

                          Comment


                            #14
                            Let us try again with the attached.
                            Attached Files

                            Comment


                              #15
                              Hello Michael,

                              Great. It seems to work now. I see the scanning of both channels now.
                              see also the debug-file.
                              I will do some more testing with more sensors and devices (2e ds2409!)

                              Thanks for your help.

                              Regards piever.
                              Attached Files

                              Comment

                              Working...
                              X