Results 1 to 6 of 6

Thread: MDX, Ride Runner and COMs for HVAC

  1. #1
    Constant Bitrate ACCLR8N's Avatar
    Join Date
    Apr 2009
    Location
    Davisburg, MI
    Posts
    195

    MDX, Ride Runner and COMs for HVAC

    With my gauges nearly complete I'm turning my attention to the dreaded climate control. I want the buttons on my second RR touch screen, but MDX operating the logic. I have the temperatures passed to RR and manual control of my '87 vintage 4 speed blower fan passed back to MDX. At this point, the plan is to park a linear potentiometer below the LH corner of the screen lined up with the cold hot graphic. I'm not liking the thought of output commands, relays, voltage dividers and more AIN ports to send variables/booleans to MDX. There has to be a software method.

    Is a value or true/false possible from Road Runner to MDX? If so, an example would be great.

    My Fan control (MDX):
    Code:
      <!-- Begin COM -->
        <com status="enabled">
          <commands>
            <command id="fanlow" minimum_delta_vote_time="100">
              <do function="trigger output" functionTargetID="Fan_Low" vote_opinion="on" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_MedL" vote_opinion="off" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_MedH" vote_opinion="off" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_High" vote_opinion="off" vote_priority="medium"></do>
            </command>
            <command id="fanmedl" minimum_delta_vote_time="100">
              <do function="trigger output" functionTargetID="Fan_Low" vote_opinion="off" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_MedL" vote_opinion="on" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_MedH" vote_opinion="off" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_High" vote_opinion="off" vote_priority="medium"></do>
            </command>
            <command id="fanmedh" minimum_delta_vote_time="100">
              <do function="trigger output" functionTargetID="Fan_Low" vote_opinion="off" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_MedL" vote_opinion="off" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_MedH" vote_opinion="on" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_High" vote_opinion="off" vote_priority="medium"></do>
            </command>
            <command id="fanhigh" minimum_delta_vote_time="100">
              <do function="trigger output" functionTargetID="Fan_Low" vote_opinion="off" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_MedL" vote_opinion="off" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_MedH" vote_opinion="off" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_High" vote_opinion="on" vote_priority="medium"></do>
            </command>
            <command id="hvacoff" minimum_delta_vote_time="100">
              <do function="trigger output" functionTargetID="Fan_Low" vote_opinion="off" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_MedL" vote_opinion="off" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_MedH" vote_opinion="off" vote_priority="medium"></do>
              <do function="trigger output" functionTargetID="Fan_High" vote_opinion="off" vote_priority="medium"></do>
            </command>
          </commands>
          <executable_commands>
            <external_COM_id id="RoadRunner.SDK">
            </external_COM_id>
          </executable_commands>
        </com>
      <!-- End COM -->
    Attached Images Attached Images  

  2. #2
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Is this what you are looking for: http://www.mp3car.com/vbulletin/fb-s...ml#post1270514

    If you have a button or whatever else in RR to send a command such as "fusion_vote_RoadRunnerCommand" ("fusion_vote_" followed by something) and it is defined in the command section, it will be passed back programatically.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  3. #3
    Constant Bitrate ACCLR8N's Avatar
    Join Date
    Apr 2009
    Location
    Davisburg, MI
    Posts
    195
    No, I have the commands working to activate outputs. I want to press my "AUTO" button in RR and have MDX go into a logic decision. Can I input something besides triggering an output?

    Hardware version I can do: I press AUTO, trigger digital output 8, activate a relay that closes 5V to AIN 10. If analog10 > 0 then (we go into my logic routine for setting climate controls). Isn't there a software method to set a variable to a number or true/false?

  4. #4
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    No you dont have to trigger an output. Anything (including variable changing) that can be done in the if/then section of any logic section, can be done in the command section.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  5. #5
    Constant Bitrate ACCLR8N's Avatar
    Join Date
    Apr 2009
    Location
    Davisburg, MI
    Posts
    195
    Did you hear the clang as the gears lined up (in my head)?

    When I press my "AUTO" button, this sets a variable "FanSpeed" to 5. This was what I was looking for.
    Code:
            <command id="hvacauto" minimum_delta_vote_time="100">
              <do function="change variable" functionTargetID="FanSpeed" vote_opinion="5" vote_priority="medium"></do>
            </command>
    Thanks for your patience. and grammar.

  6. #6
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by ACCLR8N View Post
    Did you hear the clang as the gears lined up (in my head)?

    When I press my "AUTO" button, this sets a variable "FanSpeed" to 5. This was what I was looking for.
    Code:
            <command id="hvacauto" minimum_delta_vote_time="100">
              <do function="change variable" functionTargetID="FanSpeed" vote_opinion="5" vote_priority="medium"></do>
            </command>

    Glad this is what you were after!

    Quote Originally Posted by ACCLR8N View Post
    Thanks for your patients.
    No doctor here!

    I think you mean patience
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •