Announcement

Collapse
No announcement yet.

Further down the road mcsSprinklers

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

    Further down the road mcsSprinklers

    I have gotten HS and the plugin to find the serial port and communicate with my Rain8pro master and slave. It was a big deal since I got into "Serial Port HELL O" when msc Pro would mark the valves bad on failed com port problems and then later (is there a time period of initialization where a com port problem to a correction be retried)?

    I have serial communication and it appears to be - correct;

    7/23/2013 12:01:06 P | 12627220 | NET IN | 40, 02, 32 Valve Command Acknowledge
    7/23/2013 12:01:09 P | 12629981 | NET(0) OUT | 40, 02, 43
    7/23/2013 12:01:09 P | 12630480 | NET IN | 40, 02, 43 Valve Command Acknowledge
    7/23/2013 12:01:12 P | 12633257 | NET(0) OUT | 40, 02, 44
    7/23/2013 12:01:13 P | 12633834 | NET IN | 40, 02, 44 Valve Command Acknowledge
    7/23/2013 12:01:16 P | 12636704 | NET(0) OUT | 40, 02, 45
    7/23/2013 12:01:16 P | 12637391 | NET IN | 40, 02, 45 Valve Command Acknowledge
    7/23/2013 12:01:19 P | 12640183 | NET(0) OUT | 40, 02, 46
    7/23/2013 12:01:20 P | 12640573 | NET IN | 40, 02, 46 Valve Command Acknowledge
    7/23/2013 12:01:23 P | 12643584 | NET(0) OUT | 40, 02, 47
    7/23/2013 12:01:23 P | 12644021 | NET IN | 40, 02, 47 Valve Command Acknowledge
    7/23/2013 12:01:26 P | 12646611 | NET(0) OUT | 40, 02, 48
    7/23/2013 12:01:26 P | 12647297 | NET IN | 40, 02, 48 Valve Command Acknowledge
    7/23/2013 12:01:29 P | 12650292 | NET(0) OUT | 40, 02, F0
    7/23/2013 12:01:29 P | 12650526 | NET IN | 40, 02, 02 Status Response
    7/23/2013 12:01:32 P | 12653241 | NET(0) OUT | 40, 01, 42
    7/23/2013 12:01:33 P | 12653802 | NET IN | 40, 01, 42 Valve Command Acknowledge
    7/23/2013 12:01:35 P | 12656485 | NET(0) OUT | 40, 02, 42
    7/23/2013 12:01:36 P | 12656907 | NET IN | 40, 02, 42 Valve Command Acknowledge
    7/23/2013 12:02:01 P | 12682101 | NET(0) OUT | 40, 02, 42
    7/23/2013 12:02:02 P | 12682709 | NET IN | 40, 02, 42 Valve Command Acknowledge
    7/23/2013 12:02:05 P | 12685814 | NET(0) OUT | 40, 02, F0
    7/23/2013 12:02:06 P | 12686765 | NET IN | 40, 02, 00 Status Response
    7/23/2013 12:04:09 P | 12809850 | NET(0) OUT | 40, 01, 32
    7/23/2013 12:04:10 P | 12810724 | NET IN | 40, 01, 32 Valve Command Acknowledge
    7/23/2013 12:04:13 P | 12813625 | NET(0) OUT | 40, 01, F0
    7/23/2013 12:04:13 P | 12814405 | NET IN | 40, 01, 03 Status Response
    7/23/2013 12:04:21 P | 12821597 | NET(0) OUT | 40, 01, 41
    7/23/2013 12:04:21 P | 12822174 | NET IN | 40, 01, 41 Valve Command Acknowledge
    7/23/2013 12:04:24 P | 12825029 | NET(0) OUT | 40, 01, F0
    7/23/2013 12:04:25 P | 12825590 | NET IN | 40, 01, 02 Status Response
    7/23/2013 12:04:55 P | 12855777 | NET(0) OUT | 40, 01, 42
    7/23/2013 12:04:55 P | 12856447 | NET IN | 40, 01, 42 Valve Command Acknowledge
    7/23/2013 12:04:58 P | 12859396 | NET(0) OUT | 40, 01, F0
    7/23/2013 12:04:59 P | 12860082 | NET IN | 40, 01, 00 Status Response
    7/23/2013 12:07:12 P | 12993245 | NET(0) OUT | 40, 01, 37
    7/23/2013 12:07:13 P | 12993822 | NET IN | 40, 01, 37 Valve Command Acknowledge
    7/23/2013 12:07:15 P | 12996521 | NET(0) OUT | 40, 01, F0
    7/23/2013 12:07:16 P | 12996942 | NET IN | 40, 01, 40 Status Response
    7/23/2013 12:08:59 P | 13100480 | NET(0) OUT | 40, 01, 47
    7/23/2013 12:09:00 P | 13101010 | NET IN | 40, 01, 47 Valve Command Acknowledge
    7/23/2013 12:09:04 P | 13104895 | NET IN | 40, 01, 00 Status Response
    7/23/2013 12:09:04 P | 13105082 | NET(0) OUT | 40, 01, F0


    Next the mcpu.exe that my virtual com port uses lots of CPU (see mcpu.exe attachment) It gets to 50% CPU sometimes, and slows the PC way down....

    I would like to use the mcsSprinkler Pro over IP to serial converter feature. I am using a usconverter - xs1000 see attachment.

    How do I configure this with mcsSprinkler Pro?

    I have attached screen shots of device screens.

    See below. I can send the ? ini to a non public email for review.

    thank you.
    Last edited by Richard; July 28, 2013, 05:37 AM.
    HS3 Standard Edition 3.0.0.258

    #2
    2 screen shots to include.

    2 screen shots to include. Shows all the HS devices.
    Last edited by Richard; July 28, 2013, 05:37 AM.
    HS3 Standard Edition 3.0.0.258

    Comment


      #3
      I suspect that the firmware in this unit has no operating options and is designed to talk only using the proprietary protocol known by the host PC driver. I have seen this on other low end units in the same price range.

      As indicated before mcsSprinklers will communicate with the IP/Serial device with no protocol wrapper. One byte sent by TCP will be expected to be put on the RS-232 output without interpretation. One byte received on RS-232 UART will be delivered via TCP back to mcsSprinklers.

      The high CPU utilization with the driver is likely a result of poor design by a hardware manufacturer rather than a supplier that is focused on system operation. It could also be some setup assumptions that are not correct, but I have no experience or visibiltiy with this specific product.

      If it turns out that the unit is operating in a RAW mode with no protocol, then the mcsSprinklers setup would be on the line where the COM port is now defined. 24 would replace the COM port number and the IP of the unit (e.g. 19.168.0.10) would go into the IP checkbox. You will see the same traffic with 3 bytes out and 3 bytes in in the Serial IO log if the unit functions in this mode. I suspect that the COM emulation driver would need to be uninstalled to try it because this driver has already claimed connection to port 24. You could setup the unit to use something other than port 24 and have mcsSprinklers to that same alternate port. That way you would not need to mess with the COM driver. The driver may not be happy becuase the hardware it is talking to has disappeared, but this will at least allow you to test.

      Comment


        #4
        Reply

        Thanks for the information, the mcpu.exe program appears to be a 32 byte compile, at least some on the internet think that might be behind the load?

        I have the setting "acknowledge after command" selected.

        What is the best way to determine if communication is passing from a log?

        When I move over to mcsSprinkler to serial /IP, and talking about the units you are familiar with, (what hardware types are these?) what settings would need to be configured for these to communicate? ..... I have configured telnet over to ports with other applications, is that the communication that mcsSprinkler uses?

        It seems that the mcsSprinklers plugin heals and restarts in some time period? What timer / or process, sets and then clears the communication failing or being established? I have seen valves marked "failed" red indicator, but then get marked " Status: Within Last 24 Hrs" with a blue indicator. This was when I was making com port changes. Do I have to stop and restart the plugin?

        Also I am going to separate some drip irrigation valves that will run daily instead of the lawn type cycles. So I will use it's own area and make it a daily or daily with ET if possible, correct?

        Thanks again for a powerful irrigation control.

        Richard
        HS3 Standard Edition 3.0.0.258

        Comment


          #5
          The name most often used for the "protocol" is Raw. There is no protocol. It is simply a byte for byte transfer in both directions just as if it was a wire connected between PC and RS-232 device. I have used Lantronix and Qualtech units. I have some Lantronix units built in the early 1990's and they seem to use the same core firmware for their more modern units. I know several others that have been successfully used in Raw mode over the years. Only recently have I seen units that do not support it and this change also correlates with sell prices under $100 for new units.

          What you posted showing the byte by byte commands in both direction is the best place to look if communications are good. A lack of communicaiton will show up as timeout lines in that list.

          mcsSprinklers has developed heuristics based upon user field experience on communicaiton failure modes and data inconsistencies. In general it assumes communication out was successful and the failure is in the reporting by the device. This means every time a scheduled (or manual) valve control is needed it will "heal". The failure indication is for notification and does not affect the scheduling. Of course if there is a communication failure the valves will not actually open and close.

          Allocating your drip zones to new area will allow the desired scheduling.

          Comment

          Working...
          X