Difference between revisions of "Wiring Editor Testing"

From Open Source Controls Wiki
Jump to navigation Jump to search
 
(156 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Work In progress ==
== Work In progress ==


* Labels on wires. Will be draggable for positioning and can be used primarily to number (reference) individual wires. In controls wiring these would be the id tags on wires.
**Draggable to any point along wire
**Include a wire colour indicator
**Is it possible to optionally have two labels, with one at each end?
* Menu for editing wire colour, width, arrows and type (solid/dashed/dotted).  Can you have a green/yellow (earth) dashed line?
*Port colours updated to a fuller list to match scale.
* Ports currently have a side, an order, and a colour (color). Wiki page to include JSON that describes ports in more detail, adding attributes. These can include a port type (''portType'') as well as compatible port types (''compatibleWith'') used to check wires are wired to compatible ports (so you can't wire a 24V to a GND without raising a warning).
* Add a sidebar palette with standard devices. 
** Slider categories for electrical, mechanical etc.
** Should be able to load custom palettes from wiki page JSON


[[File:Concons1.png|frameless|100px|right]]
<iframe key="wiki" align="right" width="100%" height="1150" level="" path="/gojs/samples/wiring23.html?id=wiring1&palette=heatweb_sensors.json&height=800px" />
<iframe key="wiki" align="right" width="90%" height="1000" level="" path="/gojs/samples/wiring4.html?id=wiring1&palette=wiringPalette1" />


<iframe key="wiki" align="right" width="100%" height="1150" level="" path="/gojs/samples/wiringParse1.html?id=wiring1" />
<div class="diagramlist">
* [https://hwwiki.ddns.net/ui/wiring/wiring14/QmYBpFVpNe5AeURNaJakt9y8z6CizZrhHDLuKpYLvo9jDv Basic]
</div>


<pre id="wiringPalette1" style="display:none">
<pre id="wiringPalette1" style="display:none">
[
[
{"key":"controller","name":"Unit One","color":"palegreen","image":"/images/c/c1/C2a.svg","leftArray":[{"portId":"left0","portColor":"#000000"},{"portId":"left1","portColor":"#00ff00"},{"portId":"left2","portColor":"#000000"},{"portId":"left3","portColor":"#00ff00"},{"portId":"left4","portColor":"#000000"},{"portId":"left5","portColor":"#00ff00"},{"portId":"left6","portColor":"#000000"},{"portId":"left7","portColor":"#00ff00"},{"portId":"left8","portColor":"#000000"},{"portId":"left9","portColor":"#ffff00"},{"portId":"left10","portColor":"#000000"},{"portId":"left11","portColor":"#ffff00"},{"portId":"left12","portColor":"#000000"},{"portId":"left13","portColor":"#ffff00"},{"portId":"left14","portColor":"#000000"},{"portId":"left15","portColor":"#ffff00"},{"portId":"left16","portColor":"#000000"},{"portId":"left17","portColor":"#00ff00"},{"portId":"left18","portColor":"#000000"},{"portId":"left19","portColor":"#00ff00"},{"portId":"left20","portColor":"#000000"},{"portId":"left21","portColor":"#00ff00"},{"portId":"left22","portColor":"#000000"},{"portId":"left23","portColor":"#00ff00"}],"topArray":[{"portColor":"#ff9800","portId":"top0"},{"portId":"top1","portColor":"#000000"},{"portId":"top2","portColor":"#ffcc00"},{"portId":"top3","portColor":"#000000"}],"bottomArray":[{"portColor":"#000000","portId":"bottom0"},{"portId":"bottom1","portColor":"#00ffff"},{"portId":"bottom2","portColor":"#000000"},{"portId":"bottom3","portColor":"#00ffff"},{"portId":"bottom4","portColor":"#000000"},{"portId":"bottom5","portColor":"#00ffff"},{"portId":"bottom6","portColor":"#000000"},{"portId":"bottom7","portColor":"#00ffff"},{"portId":"bottom8","portColor":"#000000"},{"portId":"bottom9","portColor":"#40aceb"},{"portId":"bottom10","portColor":"#000000"},{"portId":"bottom11","portColor":"#40aceb"},{"portId":"bottom12","portColor":"#000000"},{"portId":"bottom13","portColor":"#40aceb"},{"portId":"bottom14","portColor":"#000000"},{"portId":"bottom15","portColor":"#40aceb"},{"portId":"bottom16","portColor":"#bf6ae3"},{"portId":"bottom17","portColor":"#bf6ae3"},{"portId":"bottom18","portColor":"#bf6ae3"},{"portId":"bottom19","portColor":"#bf6ae3"},{"portId":"bottom20","portColor":"#bf6ae3"},{"portId":"bottom21","portColor":"#bf6ae3"}],"rightArray":[{"portColor":"#000000","portId":"right0"},{"portColor":"#888888","portId":"right1"},{"portId":"right2","portColor":"#888888"},{"portId":"right3","portColor":"#000000"},{"portId":"right4","portColor":"#888888"},{"portId":"right5","portColor":"#888888"},{"portId":"right6","portColor":"#ddddbb"},{"portId":"right7","portColor":"#ddddbb"},{"portId":"right8","portColor":"#8827e7"},{"portId":"right9","portColor":"#000000"},{"portId":"right10","portColor":"#8827e7"},{"portId":"right11","portColor":"#000000"},{"portId":"right12","portColor":"#8827e7"},{"portId":"right13","portColor":"#000000"},{"portId":"right14","portColor":"#8827e7"},{"portId":"right15","portColor":"#000000"},{"portId":"right16","portColor":"#0000ff"},{"portId":"right17","portColor":"#ff0000"},{"portId":"right18","portColor":"#0000ff"},{"portId":"right19","portColor":"#ff0000"},{"portId":"right20","portColor":"#0000ff"},{"portId":"right21","portColor":"#ff0000"},{"portId":"right22","portColor":"#0000ff"},{"portId":"right23","portColor":"#ff0000"}]},
    {
{"name":"Pulsed Flow\nSensor","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#6cafdb"},{"portId":"right1","portColor":"#66d6d1"},{"portId":"right2","portColor":"#d6effc"}],"topArray":[],"bottomArray":[],"key":"FS","size":"82.107421875 53"},
        "key": "node",
{"name":"Keep-Warm\nTimer ","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#ebe3fc"},{"portId":"right1","portColor":"#d6effc"}],"topArray":[],"bottomArray":[],"key":"timerDHW","size":"78.78515625 50"},
        "name": "BEMS Hat",
{"name":"Room\nThermostat","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#d6effc"},{"portId":"right2","portColor":"#d6effc"}],"topArray":[],"bottomArray":[],"key":"stat","size":"77.962890625 55"},
        "href": "https://hwwiki.ddns.net/",
{"name":"Pressure \nTemperature Sensor","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#d6effc"},{"portId":"right2","portColor":"#d6effc"},{"portId":"right0","portColor":"#6cafdb"},{"portId":"right3","portColor":"#d6effc"}],"topArray":[],"bottomArray":[],"key":"RPS","size":"126.93359375 55"},
        "fill": "palegreen",
{"name":"PWM \nControl Valve","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left1","portColor":"#ebe3fc"},{"portId":"left2","portColor":"#d6effc"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"valve","size":"85 54"},
        "image": "/images/c/c1/C2a.svg",
{"name":"12v Power","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"power12","size":"66 40"},
        "signalTypes": [
{"name":"Prepay Switch","leftArray":[{"portId":"left0","portColor":"#d6effc"},{"portId":"left1","portColor":"#eaeef8"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"prepay","size":"90 47"},
            {
{"name":"NTC10K","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#6cafdb"},{"portId":"right1","portColor":"#66d6d1"}],"topArray":[],"bottomArray":[],"key":"NTC4","size":"58 40"},
                "id": "GND",
{"name":"Heat \nMeter","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"meter","size":"48 53"},
                "name": "Ground"
{"name":"Modbus\nto BMS","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left3","portColor":"#66d6d1"},{"portId":"left1","portColor":"#6cafdb"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"modbus1","size":"67 54"},
            },
{"name":"PWM \nPump","leftArray":[{"portId":"left1","portColor":"#ebe3fc"},{"portId":"left2","portColor":"#d6effc"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"pump","size":"57.3212890625 52"}
            {
                "id": "NTC",
                "name": "NTC 10K Thermistor"
            },
            {
                "id": "NTC1K",
                "name": "NTC 1K Thermistor"
            },
            {
                "id": "NTC10K",
                "name": "NTC 10K Thermistor"
            },
            {
                "id": "10K",
                "name": "0-10K Resistance"
            },
            {
                "id": "1K",
                "name": "0-1K Resistance"
            }
        ],
        "leftArray": [
            {
                "portId": "TH8GND",
                "block": "TH8",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH8 Ground"
            },
            {
                "portId": "TH8",
                "block": "TH8",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH8 Signal",
                "channel": "8"
            },
            {
                "portId": "TH7GND",
                "block": "TH7",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH7 Ground"
            },
            {
                "portId": "TH7",
                "block": "TH7",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH7 Signal",
                "channel": "7"
            },
            {
                "portId": "TH6GND",
                "block": "TH6",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH6 Ground"
            },
            {
                "portId": "TH6",
                "block": "TH6",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH6 Signal",
                "channel": "6"
            },
            {
                "portId": "TH5GND",
                "block": "TH5",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH5 Ground"
            },
            {
                "portId": "TH5",
                "block": "TH5",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH5 Signal",
                "channel": "5"
            },
            {
                "portId": "IN4GND",
                "block": "IN4",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "IN4 Ground"
            },
            {
                "portId": "IN4",
                "block": "IN4",
                "portColor": "#fffffe",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "NTC1K",
                    "0-10V",
                    "PULSE",
                    "DRY"
                ],
                "name": "IN4 Signal",
                "channel": "4"
            },
            {
                "portId": "IN3GND",
                "block": "IN3",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "IN3",
                "block": "IN3",
                "portColor": "#fffffe",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "NTC1K",
                    "0-10V",
                    "PULSE",
                    "DRY"
                ],
                "name": "IN3 Signal",
                "channel": "3"
            },
            {
                "portId": "IN2GND",
                "block": "IN2",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "IN2",
                "block": "IN2",
                "portColor": "#fffffe",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "NTC1K",
                    "0-10V",
                    "PULSE",
                    "DRY"
                ],
                "name": "IN2 Signal",
                "channel": "2"
            },
            {
                "portId": "IN1GND",
                "block": "IN1",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "IN1",
                "block": "IN1",
                "portColor": "#fffffe",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "NTC1K",
                    "0-10V",
                    "PULSE",
                    "DRY"
                ],
                "name": "IN1 Signal",
                "channel": "1"
            },
            {
                "portId": "TH4GND",
                "block": "TH4",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH4 Ground"
            },
            {
                "portId": "TH4",
                "block": "TH4",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH1 Signal",
                "channel": "4"
            },
            {
                "portId": "TH3GND",
                "block": "TH3",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH3 Ground"
            },
            {
                "portId": "TH3",
                "block": "TH3",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH3 Signal",
                "channel": "3"
            },
            {
                "portId": "TH2GND",
                "block": "TH2",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH2 Ground"
            },
            {
                "portId": "TH2",
                "block": "TH2",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH2 Signal",
                "channel": "2"
            },
            {
                "portId": "TH1GND",
                "block": "TH1",
                "portColor": "#000000",
                "figure": "Output",
                "signalTypes": [
                    "GND"
                ],
                "name": "TH1 Ground"
            },
            {
                "portId": "TH1",
                "block": "TH1",
                "portColor": "#00ff00",
                "figure": "Input",
                "signalTypes": [
                    "NTC10K",
                    "10K"
                ],
                "name": "TH1 Signal",
                "channel": "1"
            }
        ],
        "topArray": [
            {
                "portColor": "#ffc900",
                "portId": "top01",
                "figure": "Output"
            },
            {
                "portColor": "#ffc900",
                "portId": "top02",
                "figure": "Output"
            },
            {
                "portColor": "#ffc900",
                "portId": "top03",
                "figure": "Output"
            },
            {
                "portId": "top1",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "top2",
                "portColor": "#e88600",
                "figure": "Input"
            },
            {
                "portId": "top3",
                "portColor": "#000002",
                "figure": "Input"
            },
            {
                "portColor": "#ffffff",
                "portId": "top4"
            },
            {
                "portColor": "#ffffff",
                "portId": "top5"
            }
        ],
        "bottomArray": [
            {
                "portColor": "#000000",
                "portId": "pin25",
                "figure": "Output"
            },
            {
                "portId": "D1",
                "portColor": "#00ffff",
                "figure": "Input",
                "signalTypes": [
                    "PULSE",
                    "DRY"
                ],
                "name": "Digital Input D1",
                "channel": "1"
            },
            {
                "portId": "pin27",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "D2",
                "portColor": "#00ffff",
                "figure": "Input",
                "signalTypes": [
                    "PULSE",
                    "DRY"
                ],
                "name": "Digital Input D2",
                "channel": "2"
            },
            {
                "portId": "pin29",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "D3",
                "portColor": "#00ffff",
                "figure": "Input",
                "signalTypes": [
                    "PULSE",
                    "DRY"
                ],
                "name": "Digital Input D3",
                "channel": "3"
            },
            {
                "portId": "pin31",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "D4",
                "portColor": "#00ffff",
                "figure": "Input",
                "signalTypes": [
                    "PULSE",
                    "DRY"
                ],
                "name": "Digital Input D4",
                "channel": "4"
            },
            {
                "portId": "pin33",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "P1",
                "portColor": "#40aceb",
                "figure": "Input",
                "signalTypes": [
                    "PWM",
                    "PWMGND"
                ],
                "name": "PWM Input P1",
                "channel": "1"
            },
            {
                "portId": "pin35",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "P2",
                "portColor": "#40aceb",
                "figure": "Input",
                "signalTypes": [
                    "PWM",
                    "PWMGND"
                ],
                "name": "PWM Input P2",
                "channel": "2"
            },
            {
                "portId": "pin37",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "P3",
                "portColor": "#40aceb",
                "figure": "Input",
                "signalTypes": [
                    "PWM",
                    "PWMGND"
                ],
                "name": "PWM Input P3",
                "channel": "3"
            },
            {
                "portId": "pin39",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "P4",
                "portColor": "#40aceb",
                "figure": "Input",
                "signalTypes": [
                    "PWM",
                    "PWMGND"
                ],
                "name": "PWM Input P4",
                "channel": "4"
            },
            {
                "portId": "R1NO",
                "portColor": "#ff8abd",
                "figure": "Output",
                "signalTypes": [
                    "SW_NO"
                ],
                "name": "Relay 1 N/O",
                "channel": "1"
            },
            {
                "portId": "R1COM",
                "portColor": "#bf6ae3",
                "figure": "Input",
                "signalTypes": [
                    "SW_COM",
                    "SW_C"
                ],
                "name": "Relay 1 Common",
                "channel": "1"
            },
            {
                "portId": "R1NC",
                "portColor": "#ffa3a3",
                "figure": "Output",
                "signalTypes": [
                    "SW_NC"
                ],
                "name": "Relay 1 N/C",
                "channel": "1"
            },
            {
                "portId": "R2NO",
                "portColor": "#ff8abd",
                "figure": "Output",
                "signalTypes": [
                    "SW_NO"
                ],
                "name": "Relay 2 N/O",
                "channel": "2"
            },
            {
                "portId": "R2COM",
                "portColor": "#bf6ae3",
                "figure": "Input",
                "signalTypes": [
                    "SW_COM",
                    "SW_C"
                ],
                "name": "Relay 2 Common",
                "channel": "2"
            },
            {
                "portId": "R2NC",
                "portColor": "#ffa3a3",
                "figure": "Output",
                "signalTypes": [
                    "SW_NC"
                ],
                "name": "Relay 2 N/C",
                "channel": "2"
            }
        ],
        "rightArray": [
            {
                "portColor": "#000000",
                "portId": "pin47",
                "figure": "Circle"
            },
            {
                "portColor": "#888891",
                "figure": "Circle",
                "portId": "RS485A1",
                "signalTypes": [
                    "RS485A",
                    "RS485+",
                    "MODBUS+"
                ],
                "name": "RS485 Positive 1",
                "channel": "1"
            },
            {
                "portId": "RS485B1",
                "portColor": "#888890",
                "figure": "Circle",
                "signalTypes": [
                    "RS485B",
                    "RS485-",
                    "MODBUS-"
                ],
                "name": "RS485 Negative 1",
                "channel": "1"
            },
            {
                "portId": "right3",
                "portColor": "#000000",
                "figure": "Circle"
            },
            {
                "portColor": "#888889",
                "figure": "Circle",
                "portId": "RS485A2",
                "signalTypes": [
                    "RS485A",
                    "RS485+",
                    "MODBUS+"
                ],
                "name": "RS485 Positive 2",
                "channel": "2"
            },
            {
                "portId": "RS485B2",
                "portColor": "#888888",
                "figure": "Circle",
                "signalTypes": [
                    "RS485B",
                    "RS485-",
                    "MODBUS-"
                ],
                "name": "RS485 Negative 2",
                "channel": "2"
            },
            {
                "portId": "right6",
                "portColor": "#ddddba",
                "figure": "Circle",
                "signalTypes": [
                    "MBUS",
                    "MBUS+"
                ],
                "name": "M-Bus",
                "channel": "1"
            },
            {
                "portId": "right7",
                "portColor": "#ddddbb",
                "figure": "Circle",
                "signalTypes": [
                    "MBUS",
                    "MBUS-"
                ],
                "name": "M-Bus",
                "channel": "1"
            },
            {
                "portId": "OUT4",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "0-10V Output OUT4",
                "channel": "4"
            },
            {
                "portId": "right9",
                "block": "OUT4",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "OUT3",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "0-10V Output OUT3",
                "channel": "3"
            },
            {
                "portId": "right11",
                "block": "OUT3",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "OUT2",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "0-10V Output OUT2",
                "channel": "2"
            },
            {
                "portId": "right13",
                "block": "OUT2",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "OUT1",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "0-10V Output OUT1",
                "channel": "1"
            },
            {
                "portId": "right15",
                "block": "OUT1",
                "portColor": "#000000",
                "figure": "Output"
            },
            {
                "portId": "OD4",
                "portColor": "#40aceb",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "PWM Output OD4",
                "channel": "4"
            },
            {
                "portId": "right17",
                "block": "OD4",
                "portColor": "#ff0000",
                "figure": "Output"
            },
            {
                "portId": "OD3",
                "portColor": "#40aceb",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "PWM Output OUT3",
                "channel": "3"
            },
            {
                "portId": "right19",
                "block": "OD3",
                "portColor": "#ff0000",
                "figure": "Output"
            },
            {
                "portId": "OD2",
                "block": "OD2",
                "portColor": "#40aceb",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "PWM Output OD2",
                "channel": "2"
            },
            {
                "portId": "right21",
                "block": "OD2",
                "portColor": "#ff0000",
                "figure": "Output"
            },
            {
                "portId": "OD1",
                "block": "OD1",
                "portColor": "#40aceb",
                "figure": "Output",
                "signalTypes": [
                    "0-10V"
                ],
                "name": "PWM Output OD1",
                "channel": "1"
            },
            {
                "portId": "right23",
                "block": "OD1",
                "portColor": "#ff0000",
                "figure": "Output"
            }
        ],
        "loc": "429.90625 -103.375",
        "size": "231 250.5",
        "thickness": 2,
        "color": "palegreen"
    },
    {
        "name": "Pulsed Flow Sensor",
        "fill": "#dbf6cb",
        "pulsesPerLitre": "520",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "right1",
                "portColor": "#ffc900",
                "figure": "Input"
            },
            {
                "portId": "right2",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "pulse",
                "portColor": "#00ffff",
                "signalTypes": [
                    "#00ffff",
                    "#fffffe"
                ],
                "figure": "Output",
                "signalType": "PULSE",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        265,
                        30
                    ]
                ],
                "mapUnits": [
                    "pulse/s",
                    "ltr/min"
                ]
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "FS",
        "size": "82.107421875 53",
        "loc": "58.15625 -164.375"
    },
    {
        "name": "Timeclock",
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "right0",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "switch",
                "portColor": "#00ffff",
                "signalTypes": [
                    "#00ffff",
                    "#fffffe"
                ],
                "figure": "Output",
                "signalType": "DRY"
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "timer",
        "size": "78.78515625 47",
        "loc": "-15.84375 -332.375"
    },
    {
        "name": "Room Thermostat",
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "swgnd",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "swin",
                "portColor": "#00ffff",
                "signalTypes": [
                    "#00ffff",
                    "#fffffe"
                ],
                "figure": "Output",
                "signalType": "DRY"
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "roomstat",
        "size": "78.78515625 47",
        "loc": "70.15625 -246.375"
    },
    {
        "name": "Switch",
        "fill": "#dbf6cb",
        "leftArray": [
            {
                "portId": "switch",
                "portColor": "#00ffff",
                "signalTypes": [
                    "#00ffff",
                    "#fffffe"
                ],
                "figure": "Output",
                "signalType": "DRY"
            },
            {
                "portId": "swin",
                "portColor": "#000000",
                "figure": "Input"
            }
        ],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "switch",
        "size": "69 47",
        "loc": "67.0625 -80.5"
    },
    {
        "name": "Pressure + Temp Sensor",
        "range": "6 bar",
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "right1",
                "portColor": "#ffc900",
                "figure": "Input"
            },
            {
                "portId": "right2",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "pressure",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalType": "0-10V",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "map": [
                    [
                        0.5,
                        3.5
                    ],
                    [
                        0,
                        6
                    ]
                ],
                "mapUnits": [
                    "V",
                    "bar"
                ]
            },
            {
                "portId": "temperature",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalType": "0-10V",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "map": [
                    [
                        0.5,
                        3.5
                    ],
                    [
                        0,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "°C"
                ]
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "RPS",
        "size": "88 55",
        "loc": "217.0625 -46.5"
    },
    {
        "name": "DP + Temp Sensor",
        "range": "300 kPa",
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "right1",
                "portColor": "#ffc900",
                "figure": "Input"
            },
            {
                "portId": "right2",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "pressure",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "signalType": "0-10V",
                "map": [
                    [
                        0.5,
                        3.5
                    ],
                    [
                        0,
                        300
                    ]
                ],
                "mapUnits": [
                    "V",
                    "kPa"
                ]
            },
            {
                "portId": "temperature",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalType": "0-10V",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "map": [
                    [
                        0.5,
                        3.5
                    ],
                    [
                        0,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "°C"
                ]
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "DPS",
        "size": "88 55",
        "loc": "300.15625 -157.375"
    },
    {
        "name": "Flow + Temp Sensor",
        "range": "4-30 lpm",
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "right1",
                "portColor": "#ffc900",
                "figure": "Input"
            },
            {
                "portId": "right2",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "flow",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "signalType": "0-10V",
                "map": [
                    [
                        0.5,
                        3.5
                    ],
                    [
                        0,
                        40
                    ]
                ],
                "mapUnits": [
                    "V",
                    "ltr/min"
                ]
            },
            {
                "portId": "temperature",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "signalType": "0-10V",
                "map": [
                    [
                        0.5,
                        3.5
                    ],
                    [
                        0,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "°C"
                ]
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "VFS",
        "size": "88 55",
        "loc": "314.15625 -257.375"
    },
    {
        "name": "12VDC Power",
        "buttonArray": [
            {
                "href": "https://hwwiki.ddns.net/",
                "color": "#000000",
                "fill": "#0000ff",
                "figure": "ElectricalHazard"
            }
        ],
        "fill": "#ebebeb",
        "leftArray": [
            {
                "portId": "left0",
                "portColor": "#e88600",
                "figure": "Output"
            },
            {
                "portId": "left2",
                "portColor": "#000002",
                "figure": "Output"
            }
        ],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "12VDC22",
        "size": "67 76",
        "loc": "709.4688121714489 -308.66453398276076",
        "figure": "Procedure",
        "color": "#000000",
        "thickness": 1,
        "notes": "",
        "textColor": "#484848"
    },
    {
        "name": "24VDC Power",
        "buttonArray": [
            {
                "href": "https://hwwiki.ddns.net/",
                "color": "#000000",
                "fill": "#0000ff",
                "figure": "ElectricalHazard"
            }
        ],
        "fill": "#ebebeb",
        "leftArray": [
            {
                "portId": "left0",
                "portColor": "#ff0000",
                "figure": "Output"
            },
            {
                "portId": "left2",
                "portColor": "#000002",
                "figure": "Output"
            }
        ],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "24VDC",
        "size": "67 76",
        "loc": "709.4688121714489 -308.66453398276076",
        "figure": "Procedure",
        "color": "#000000",
        "thickness": 1,
        "notes": "",
        "textColor": "#484848"
    },
    {
        "name": "24vac Power",
        "fill": "#dbf6cb",
        "leftArray": [
            {
                "portId": "left0",
                "portColor": "#ff0000",
                "figure": "Output"
            },
            {
                "portId": "left2",
                "portColor": "#000001",
                "figure": "Output"
            }
        ],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "24VAC",
        "size": "90 50",
        "loc": "487.0625 -121.5"
    },
    {
        "name": "NTC Pipe Sensor",
        "make": "Regin",
        "model": "",
        "signalTypes": [
            {
                "signalType": "GND",
                "name": "Ground"
            },
            {
                "signalType": "NTC10K",
                "name": "Resistance",
                "map": [
                    [
                        97.006,
                        -20
                    ],
                    [
                        72.911,
                        -15
                    ],
                    [
                        72.911,
                        -10
                    ],
                    [
                        42.317,
                        -5
                    ],
                    [
                        32.651,
                        0
                    ],
                    [
                        25.395,
                        5
                    ],
                    [
                        19.903,
                        10
                    ],
                    [
                        15.714,
                        15
                    ],
                    [
                        12.493,
                        20
                    ],
                    [
                        10,
                        25
                    ],
                    [
                        8.056,
                        30
                    ],
                    [
                        6.53,
                        35
                    ],
                    [
                        5.325,
                        40
                    ],
                    [
                        4.367,
                        45
                    ],
                    [
                        3.601,
                        50
                    ],
                    [
                        2.985,
                        55
                    ],
                    [
                        2.467,
                        60
                    ],
                    [
                        2.082,
                        65
                    ],
                    [
                        1.752,
                        70
                    ],
                    [
                        1.256,
                        80
                    ],
                    [
                        0.916,
                        90
                    ],
                    [
                        0.678,
                        100
                    ],
                    [
                        0.51,
                        110
                    ],
                    [
                        0.388,
                        120
                    ]
                ],
                "mapUnits": [
                    "kΩ",
                    "°C"
                ]
            }
        ],
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [
            {
                "portId": "gnd",
                "signalType": "GND",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "temperature",
                "signalType": "NTC10K",
                "portColor": "#00ff00",
                "signalTypes": [
                    "#00ff00",
                    "#ffff00"
                ],
                "figure": "Output"
            }
        ],
        "topArray": [],
        "bottomArray": [],
        "key": "ntcr",
        "size": "71 60",
        "loc": "-367.11802446081305 -610.2306403768238",
        "color": "#000000",
        "thickness": 1,
        "showKey": true,
        "notes": "",
        "textColor": "#484848",
        "avoidable": true,
        "topicDevice": "",
        "topicKey": ""
    },
    {
        "name": "Heat Meter",
        "fill": "#dbf6cb",
        "leftArray": [
            {
                "portId": "left0",
                "portColor": "#ddddba",
                "figure": "Circle"
            },
            {
                "portId": "left1",
                "portColor": "#ddddbb",
                "figure": "Circle"
            }
        ],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "meter",
        "size": "67 54",
        "loc": "364.15625 23.625"
    },
    {
        "name": "Modbus Master",
        "fill": "#dbf6cb",
        "leftArray": [
            {
                "portId": "left0",
                "portColor": "#888891",
                "figure": "Circle"
            },
            {
                "portId": "left1",
                "portColor": "#888890",
                "figure": "Circle"
            }
        ],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "modbus1",
        "size": "67 54",
        "loc": "493.15625 17.625"
    },
    {
        "name": "Control Valve (Modbus)",
        "fill": "#febc58",
        "color": "#ff9900",
        "leftArray": [],
        "rightArray": [],
        "topArray": [
            {
                "portId": "top2",
                "portColor": "#ff0000",
                "figure": "Input"
            },
            {
                "portId": "top3",
                "portColor": "#000000",
                "signalTypes": [
                    "#000001",
                    "#000000"
                ],
                "figure": "Input"
            },
            {
                "portId": "top0",
                "portColor": "#888888",
                "figure": "Circle"
            },
            {
                "portId": "top1",
                "portColor": "#888889",
                "figure": "Circle"
            }
        ],
        "bottomArray": [],
        "key": "valve",
        "size": "96 59",
        "loc": "-84.84375 16.625"
    },
    {
        "name": "Control Valve (0-10V)",
        "fill": "#febc58",
        "color": "#ff9900",
        "leftArray": [],
        "rightArray": [],
        "topArray": [
            {
                "portId": "position",
                "portColor": "#ffff00",
                "figure": "Output",
                "signalType": "0-10V",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        10,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "%"
                ],
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ]
            },
            {
                "portId": "setpoint",
                "portColor": "#ffff00",
                "figure": "Input",
                "signalType": "0-10V",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        10,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "%"
                ]
            },
            {
                "portId": "power24v",
                "portColor": "#ff0000",
                "figure": "Input"
            },
            {
                "portId": "gnd",
                "portColor": "#000000",
                "figure": "Input"
            }
        ],
        "bottomArray": [],
        "key": "valve2",
        "size": "96 59",
        "loc": "67.15625 43.625"
    },
    {
        "name": "Control Valve (Hybrid)",
        "fill": "#febc58",
        "color": "#ff9900",
        "leftArray": [],
        "rightArray": [],
        "topArray": [
            {
                "portId": "setpoint",
                "portColor": "#ffff00",
                "figure": "Input",
                "signalType": "0-10V",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        10,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "%"
                ]
            },
            {
                "portId": "position",
                "portColor": "#ffff00",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "figure": "Output",
                "signalType": "0-10V",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        10,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "%"
                ]
            },
            {
                "portId": "power24v",
                "portColor": "#ff0000",
                "figure": "Input"
            },
            {
                "portId": "gnd",
                "portColor": "#000000",
                "signalTypes": [
                    "#000000",
                    "#000001"
                ],
                "figure": "Input"
            },
            {
                "portId": "top0",
                "portColor": "#888888",
                "figure": "Circle"
            },
            {
                "portId": "top1",
                "portColor": "#888889",
                "figure": "Circle"
            }
        ],
        "bottomArray": [],
        "key": "valve3",
        "size": "96 59",
        "loc": "677.0625 54.5"
    },
    {
        "name": "Control Valve (PWM)",
        "fill": "#cfe4f7",
        "leftArray": [],
        "rightArray": [],
        "topArray": [
            {
                "portId": "gnd",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "setpoint",
                "portColor": "#40aceb",
                "signalTypes": [
                    "#40aceb"
                ],
                "figure": "Input",
                "signalType": "PWM",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        100,
                        100
                    ]
                ],
                "mapUnits": [
                    "%",
                    "%"
                ]
            },
            {
                "portId": "position",
                "portColor": "#40aceb",
                "figure": "Output",
                "signalType": "PWM",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        100,
                        100
                    ]
                ],
                "mapUnits": [
                    "%",
                    "%"
                ]
            }
        ],
        "bottomArray": [],
        "key": "valve4",
        "size": "90 52",
        "loc": "678.15625 -38.375"
    },
    {
        "name": "Pump (PWM)",
        "fill": "#cfe4f7",
        "leftArray": [],
        "rightArray": [],
        "topArray": [
            {
                "portId": "top2",
                "portColor": "#000000",
                "figure": "Input"
            },
            {
                "portId": "setpoint",
                "portColor": "#40aceb",
                "signalTypes": [
                    "#40aceb"
                ],
                "figure": "Input",
                "signalType": "PWM",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        100,
                        100
                    ]
                ],
                "mapUnits": [
                    "%",
                    "%"
                ]
            },
            {
                "portId": "speed",
                "portColor": "#40aceb",
                "figure": "Output",
                "signalType": "PWM",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        100,
                        100
                    ]
                ],
                "mapUnits": [
                    "%",
                    "%"
                ]
            }
        ],
        "bottomArray": [],
        "key": "pump",
        "size": "57.3212890625 52",
        "loc": "668.0625 -156.5"
    },
    {
        "name": "Pump (0-10V)",
        "fill": "#dbf6cb",
        "leftArray": [],
        "rightArray": [],
        "topArray": [
            {
                "portId": "setpoint",
                "portColor": "#ffff00",
                "figure": "Input",
                "signalType": "0-10V",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        10,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "%"
                ]
            },
            {
                "portId": "speed",
                "portColor": "#ffff00",
                "signalTypes": [
                    "#ffff00",
                    "#fffffe"
                ],
                "figure": "Output",
                "signalType": "0-10V",
                "map": [
                    [
                        0,
                        0
                    ],
                    [
                        10,
                        100
                    ]
                ],
                "mapUnits": [
                    "V",
                    "%"
                ]
            },
            {
                "portId": "gnd",
                "portColor": "#000000",
                "figure": "Input"
            }
        ],
        "bottomArray": [],
        "key": "pump2",
        "size": "57.3212890625 52",
        "loc": "669.15625 -268.375"
    },
    {
        "name": "Sticky Note",
        "fill": "#ffffff00",
        "background": "/images/thumb/3/3f/Sticky.png/597px-Sticky.png",
        "leftArray": [],
        "rightArray": [],
        "topArray": [],
        "bottomArray": [],
        "key": "note",
        "size": "150 150"
    }
]
]
</pre>
</pre>


<pre id="wiring1" style="display:none">
 
<pre class="wikidiagram" id="New" style="display:none">
{ "class": "GraphLinksModel",
  "copiesArrays": true,
  "copiesArrayObjects": true,
  "linkFromPortIdProperty": "fromPort",
  "linkToPortIdProperty": "toPort",
  "nodeDataArray": [],
  "linkDataArray": []}
</pre>
 
 
<pre class="wikidiagram" id="BEMS_Hat" style="display:none">
{ "class": "GraphLinksModel",
  "copiesArrays": true,
  "copiesArrayObjects": true,
  "linkFromPortIdProperty": "fromPort",
  "linkToPortIdProperty": "toPort",
  "nodeDataArray": [
{"key":"node","name":"BEMS Hat","fill":"palegreen","image":"/images/c/c1/C2a.svg","leftArray":[{"portId":"left0","portColor":"#000000","figure":"Output"},{"portId":"left1","portColor":"#00ff00","figure":"Input"},{"portId":"left2","portColor":"#000000","figure":"Output"},{"portId":"left3","portColor":"#00ff00","figure":"Input"},{"portId":"left4","portColor":"#000000","figure":"Output"},{"portId":"left5","portColor":"#00ff00","figure":"Input"},{"portId":"left6","portColor":"#000000","figure":"Output"},{"portId":"left7","portColor":"#00ff00","figure":"Input"},{"portId":"left8","portColor":"#000000","figure":"Output"},{"portId":"left9","portColor":"#fffffe","figure":"Input"},{"portId":"left10","portColor":"#000000","figure":"Output"},{"portId":"left11","portColor":"#fffffe","figure":"Input"},{"portId":"left12","portColor":"#000000","figure":"Output"},{"portId":"left13","portColor":"#fffffe","figure":"Input"},{"portId":"left14","portColor":"#000000","figure":"Output"},{"portId":"left15","portColor":"#fffffe","figure":"Input"},{"portId":"left16","portColor":"#000000","figure":"Output"},{"portId":"left17","portColor":"#00ff00","figure":"Input"},{"portId":"left18","portColor":"#000000","figure":"Output"},{"portId":"left19","portColor":"#00ff00","figure":"Input"},{"portId":"left20","portColor":"#000000","figure":"Output"},{"portId":"left21","portColor":"#00ff00","figure":"Input"},{"portId":"left22","portColor":"#000000","figure":"Output"},{"portId":"left23","portColor":"#00ff00","figure":"Input"}],"topArray":[{"portColor":"#ffc900","portId":"top01","figure":"Output"},{"portColor":"#ffc900","portId":"top02","figure":"Output"},{"portColor":"#ffc900","portId":"top03","figure":"Output"},{"portId":"top1","portColor":"#000000","figure":"Output"},{"portId":"top2","portColor":"#e88600","figure":"Input"},{"portId":"top3","portColor":"#000002","figure":"Input"},{"portColor":"#ffffff","portId":"top4"},{"portColor":"#ffffff","portId":"top5"}],"bottomArray":[{"portColor":"#000000","portId":"bottom0","figure":"Output"},{"portId":"bottom1","portColor":"#00ffff","figure":"Input"},{"portId":"bottom2","portColor":"#000000","figure":"Output"},{"portId":"bottom3","portColor":"#00ffff","figure":"Input"},{"portId":"bottom4","portColor":"#000000","figure":"Output"},{"portId":"bottom5","portColor":"#00ffff","figure":"Input"},{"portId":"bottom6","portColor":"#000000","figure":"Output"},{"portId":"bottom7","portColor":"#00ffff","figure":"Input"},{"portId":"bottom8","portColor":"#000000","figure":"Output"},{"portId":"bottom9","portColor":"#40aceb","figure":"Input"},{"portId":"bottom10","portColor":"#000000","figure":"Output"},{"portId":"bottom11","portColor":"#40aceb","figure":"Input"},{"portId":"bottom12","portColor":"#000000","figure":"Output"},{"portId":"bottom13","portColor":"#40aceb","figure":"Input"},{"portId":"bottom14","portColor":"#000000","figure":"Output"},{"portId":"bottom15","portColor":"#40aceb","figure":"Input"},{"portId":"bottom16","portColor":"#bf6ae3","figure":"Output"},{"portId":"bottom17","portColor":"#bf6ae3","figure":"Input"},{"portId":"bottom18","portColor":"#bf6ae3","figure":"Output"},{"portId":"bottom19","portColor":"#bf6ae3","figure":"Output"},{"portId":"bottom20","portColor":"#bf6ae3","figure":"Input"},{"portId":"bottom21","portColor":"#bf6ae3","figure":"Output"}],"rightArray":[{"portColor":"#000000","portId":"right0","figure":"Circle"},{"portColor":"#888891","figure":"Circle","portId":"right1"},{"portId":"right2","portColor":"#888890","figure":"Circle"},{"portId":"right3","portColor":"#ff0000","figure":"Circle"},{"portId":"right4","portColor":"#888889","figure":"Circle"},{"portId":"right5","portColor":"#888888","figure":"Circle"},{"portId":"right6","portColor":"#ddddba","figure":"Circle"},{"portId":"right7","portColor":"#ddddbb","figure":"Circle"},{"portId":"right8","portColor":"#ffff00","figure":"Output"},{"portId":"right9","portColor":"#000000","figure":"Output"},{"portId":"right10","portColor":"#ffff00","figure":"Output"},{"portId":"right11","portColor":"#000000","figure":"Output"},{"portId":"right12","portColor":"#ffff00","figure":"Output"},{"portId":"right13","portColor":"#000000","figure":"Output"},{"portId":"right14","portColor":"#ffff00","figure":"Output"},{"portId":"right15","portColor":"#000000","figure":"Output"},{"portId":"right16","portColor":"#40aceb","figure":"Output"},{"portId":"right17","portColor":"#ff0000","figure":"Output"},{"portId":"right18","portColor":"#40aceb","figure":"Output"},{"portId":"right19","portColor":"#ff0000","figure":"Output"},{"portId":"right20","portColor":"#40aceb","figure":"Output"},{"portId":"right21","portColor":"#ff0000","figure":"Output"},{"portId":"right22","portColor":"#40aceb","figure":"Output"},{"portId":"right23","portColor":"#ff0000","figure":"Output"}],"loc":"422.90625 -96.625","size":"231 252"},
{"name":"2 x RS485 Lines \nCan be used for:\nModbus Master\nModbus Slave\nBespoke Protocols\n\nUp to 32 devices\nper channel\n","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[{"portId":"left0","portColor":"#ffffff"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"RS485-1","size":"150 192","loc":"846.1009681339939 -274.12413793680145"},
{"name":"PWM Inputs","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"}],"bottomArray":[],"key":"PWM","size":"150 150","loc":"269.09599836203995 328.4165170864245"},
{"name":"NTC 10K\nThermister\nInputs","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#ffffff"}],"topArray":[],"bottomArray":[],"key":"NTC10K","size":"150 150","loc":"-10.126289341254164 -274.4408940047374"},
{"name":"Universal Inputs\nCan take either:\nNTC1K\nNTC10K\n0-10V Input\n100Hz Pulsed Input\nVolt-Free Contact","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#ffffff"}],"topArray":[],"bottomArray":[],"key":"note3","size":"150 173","loc":"-15.218237387098569 -101.97988160079979"},
{"name":"NTC 10K\nThermister\nInputs","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#ffffff"}],"topArray":[],"bottomArray":[],"key":"NTC10K2","size":"150 150","loc":"-13.126289341254164 77.55910599526317"},
{"name":"100Hz Pulsed\nInputs, or\nVolt-Free \nContacts","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top1","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top0","portColor":"#ffffff"}],"bottomArray":[],"key":"PWM2","size":"150 150","loc":"80.93639262733618 278.18541231692376"},
{"name":"Change-Over\nRelays\n10A 24V","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"}],"bottomArray":[],"key":"PWM22","size":"150 150","loc":"444.7811383931506 328.05557670240415"},
{"name":"M-Bus Master\nfor reading:\nHeat Meters\nCooling Meters\nWater Meters\nElectricity Meters","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[{"portId":"left0","portColor":"#ffffff"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"M-Bus","size":"150 157","loc":"842.1009681339939 -91.62413793680145"},
{"name":"0-10V \nOutputs","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[{"portId":"left0","portColor":"#ffffff"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"0-10V OUT","size":"150 115","loc":"838.1009681339939 57.375862063198554"},
{"name":"PWM Sinking \nOutputs","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[{"portId":"left0","portColor":"#ffffff"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"},{"portId":"left5","portColor":"#ffffff"},{"portId":"left6","portColor":"#ffffff"},{"portId":"left7","portColor":"#ffffff"},{"portId":"left8","portColor":"#ffffff"},{"portId":"left9","portColor":"#ffffff"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"0-10V OUT2","size":"150 133","loc":"835.1009681339939 201.37586206319855"},
{"name":"24VDC Power\nwith Battery\nBackup, allows\nequipment to\nfail-safe\nduring power loss","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"}],"bottomArray":[],"key":"24VDC","size":"150 150","loc":"642.7422153763337 278.16008369747976"},
{"name":"The board is\npowered from\na 12VDC supply","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#ffffff"}],"key":"12VDC","size":"150 150","loc":"517.7352528763336 -394.88991630252093"},
{"name":"5VDC Power\nwith Battery\nBackup","fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#ffffff"}],"key":"5VDC","size":"150 150","loc":"310.94221537633337 -392.7899163025209"},
{"name":"\nNext ...\n\nClick one of the\ndrawings below\n to open","buttonArray":[{"href":"wiring1","color":"#000000","fill":"#0000ff","figure":"ElectricalHazard","text":"wiring1"},{"text":"wiring2","figure":"Cube1","href":"wiring2","color":"#000000","fill":"#0000ff"}],"fill":"#ffffff00","background":"/images/thumb/3/3f/Sticky.png/597px-Sticky.png","leftArray":[],"rightArray":[],"topArray":[],"bottomArray":[],"key":"note","size":"197 210","loc":"1157.2316612997972 -151.6310119035976"}
],
  "linkDataArray": [
{"from":"PWM","to":"node","fromPort":"top0","toPort":"bottom9","points":[269.09599836203995,244.1665170864245,269.09599836203995,234.1665170864245,269.09599836203995,195.15828401687193,407.15625,195.15828401687193,407.15625,124.625,407.15625,38.625],"dash":null,"thickness":1},
{"from":"PWM","to":"node","fromPort":"top0","toPort":"bottom11","points":[269.09599836203995,244.1665170864245,269.09599836203995,234.1665170864245,269.09599836203995,195.15828401687193,428.15625,195.15828401687193,428.15625,140.625,428.15625,38.625],"dash":null,"thickness":1},
{"from":"PWM","to":"node","fromPort":"top0","toPort":"bottom13","points":[269.09599836203995,244.1665170864245,269.09599836203995,234.1665170864245,269.09599836203995,195.15828401687193,449.15625,195.15828401687193,449.15625,156.625,449.15625,38.625],"dash":null,"thickness":1},
{"from":"PWM","to":"node","fromPort":"top0","toPort":"bottom15","points":[269.09599836203995,244.1665170864245,269.09599836203995,234.1665170864245,269.09599836203995,195.1428363781917,470.15625,195.1428363781917,470.15625,172.625,470.15625,38.625],"dash":null,"thickness":1},
{"from":"NTC10K","to":"node","fromPort":"right0","toPort":"left1","points":[74.12371065874584,-274.4408940047374,84.12371065874584,-274.4408940047374,180.24515179423352,-274.4408940047374,180.24515179423352,-206.875,276.15625,-206.875,298.15625,-206.875],"thickness":1},
{"from":"NTC10K","to":"node","fromPort":"right0","toPort":"left3","points":[74.12371065874584,-274.4408940047374,84.12371065874584,-274.4408940047374,180.24515179423352,-274.4408940047374,180.24515179423352,-185.875,260.15625,-185.875,298.15625,-185.875],"thickness":1},
{"from":"NTC10K","to":"node","fromPort":"right0","toPort":"left5","points":[74.12371065874584,-274.4408940047374,84.12371065874584,-274.4408940047374,180.13998032937292,-274.4408940047374,180.13998032937292,-164.875,244.15625,-164.875,298.15625,-164.875],"thickness":1},
{"from":"NTC10K","to":"node","fromPort":"right0","toPort":"left7","points":[74.12371065874584,-274.4408940047374,84.12371065874584,-274.4408940047374,180.24515179423352,-274.4408940047374,180.24515179423352,-143.875,228.15625,-143.875,298.15625,-143.875],"thickness":1},
{"from":"note3","to":"node","fromPort":"right0","toPort":"left9","points":[69.03176261290164,-101.97988160079976,83.03176261290164,-101.97988160079976,235.43892460760458,-101.97988160079976,235.43892460760458,-122.875,176.15625,-122.875,298.15625,-122.875],"thickness":1},
{"from":"note3","to":"node","fromPort":"right0","toPort":"left11","points":[69.03176261290164,-101.97988160079976,79.03176261290164,-101.97988160079976,153.5940063064508,-101.97988160079976,153.5940063064508,-101.875,196.15625,-101.875,298.15625,-101.875],"thickness":1},
{"from":"note3","to":"node","fromPort":"right0","toPort":"left13","points":[69.03176261290164,-101.97988160079976,79.03176261290164,-101.97988160079976,235.43892460760458,-101.97988160079976,235.43892460760458,-80.875,180.15625,-80.875,298.15625,-80.875],"thickness":1},
{"from":"note3","to":"node","fromPort":"right0","toPort":"left15","points":[69.03176261290164,-101.97988160079976,79.03176261290164,-101.97988160079976,235.1633335842996,-101.97988160079976,235.1633335842996,-59.875,164.15625,-59.875,298.15625,-59.875],"thickness":1},
{"from":"NTC10K2","to":"node","fromPort":"right0","toPort":"left17","points":[71.12371065874584,77.55910599526317,85.12371065874584,77.55910599526317,178.63998032937292,77.55910599526317,178.63998032937292,-38.875,240.15625,-38.875,298.15625,-38.875],"thickness":1},
{"from":"NTC10K2","to":"node","fromPort":"right0","toPort":"left19","points":[71.12371065874584,77.55910599526317,85.12371065874584,77.55910599526317,178.51351659027998,77.55910599526317,178.51351659027998,-17.875,256.15625,-17.875,298.15625,-17.875],"thickness":1},
{"from":"NTC10K2","to":"node","fromPort":"right0","toPort":"left21","points":[71.12371065874584,77.55910599526317,85.12371065874584,77.55910599526317,178.51351659027998,77.55910599526317,178.51351659027998,3.125,272.15625,3.125,298.15625,3.125],"thickness":1},
{"from":"NTC10K2","to":"node","fromPort":"right0","toPort":"left23","points":[71.12371065874584,77.55910599526317,85.12371065874584,77.55910599526317,178.94981327789083,77.55910599526317,178.94981327789083,24.125,288.15625,24.125,298.15625,24.125],"thickness":1},
{"from":"PWM2","to":"node","fromPort":"top0","toPort":"bottom1","points":[112.43639262733618,193.93541231692376,112.43639262733618,183.93541231692376,112.43639262733618,154.34340869390252,323.15625,154.34340869390252,323.15625,60.625,323.15625,38.625],"thickness":1},
{"from":"PWM2","to":"node","fromPort":"top0","toPort":"bottom3","points":[112.43639262733618,193.93541231692376,112.43639262733618,183.93541231692376,112.43639262733618,154.34340869390252,344.15625,154.34340869390252,344.15625,76.625,344.15625,38.625],"thickness":1},
{"from":"PWM2","to":"node","fromPort":"top0","toPort":"bottom5","points":[112.43639262733618,193.93541231692376,112.43639262733618,183.93541231692376,112.43639262733618,154.28020615846188,365.15625,154.28020615846188,365.15625,92.625,365.15625,38.625],"thickness":1},
{"from":"PWM2","to":"node","fromPort":"top0","toPort":"bottom7","points":[112.43639262733618,193.93541231692376,112.43639262733618,183.93541231692376,112.43639262733618,154.34340869390252,386.15625,154.34340869390252,386.15625,108.625,386.15625,38.625],"thickness":1},
{"from":"PWM22","to":"node","fromPort":"top0","toPort":"bottom16","points":[439.5311383931506,243.80557670240415,439.5311383931506,225.80557670240415,439.5311383931506,225.80557670240415,480.65625,225.80557670240415,480.65625,180.625,480.65625,38.625],"thickness":1},
{"from":"PWM22","to":"node","fromPort":"top0","toPort":"bottom17","points":[439.5311383931506,243.80557670240415,439.5311383931506,225.80557670240415,439.5311383931506,225.80557670240415,491.15625,225.80557670240415,491.15625,188.625,491.15625,38.625],"thickness":1},
{"from":"PWM22","to":"node","fromPort":"top0","toPort":"bottom18","points":[439.5311383931506,243.80557670240415,439.5311383931506,225.80557670240415,439.5311383931506,225.80557670240415,501.65625,225.80557670240415,501.65625,196.625,501.65625,38.625],"thickness":1},
{"from":"PWM22","to":"node","fromPort":"top1","toPort":"bottom19","points":[450.0311383931506,243.80557670240415,450.0311383931506,233.80557670240415,450.0311383931506,233.80557670240415,512.15625,233.80557670240415,512.15625,204.625,512.15625,38.625],"thickness":1},
{"from":"PWM22","to":"node","fromPort":"top1","toPort":"bottom20","points":[450.0311383931506,243.80557670240415,450.0311383931506,233.80557670240415,450.0311383931506,233.80557670240415,522.65625,233.80557670240415,522.65625,212.625,522.65625,38.625],"thickness":1},
{"from":"PWM22","to":"node","fromPort":"top1","toPort":"bottom21","points":[450.0311383931506,243.80557670240415,450.0311383931506,233.80557670240415,450.0311383931506,233.80557670240415,533.15625,233.80557670240415,533.15625,220.625,533.15625,38.625],"thickness":1},
{"from":"RS485-1","to":"node","fromPort":"left0","toPort":"right2","points":[761.8509681339939,-274.12413793680145,751.8509681339939,-274.12413793680145,654.7536090669969,-274.12413793680145,654.7536090669969,-196.375,577.65625,-196.375,547.65625,-196.375],"thickness":1},
{"from":"RS485-1","to":"node","fromPort":"left0","toPort":"right1","points":[761.8509681339939,-274.12413793680145,751.8509681339939,-274.12413793680145,654.7536090669969,-274.12413793680145,654.7536090669969,-206.875,569.65625,-206.875,547.65625,-206.875],"thickness":1},
{"from":"RS485-1","to":"node","fromPort":"left0","toPort":"right4","points":[761.8509681339939,-274.12413793680145,751.8509681339939,-274.12413793680145,654.7536090669969,-274.12413793680145,654.7536090669969,-175.375,593.65625,-175.375,547.65625,-175.375],"thickness":1},
{"from":"RS485-1","to":"node","fromPort":"left0","toPort":"right5","points":[761.8509681339939,-274.12413793680145,751.8509681339939,-274.12413793680145,654.7536090669969,-274.12413793680145,654.7536090669969,-164.875,601.65625,-164.875,547.65625,-164.875],"thickness":1},
{"from":"M-Bus","to":"node","fromPort":"left0","toPort":"right6","points":[757.8509681339939,-91.62413793680145,743.8509681339939,-91.62413793680145,740,-91.62413793680145,740,-154.375,693.65625,-154.375,547.65625,-154.375],"thickness":1},
{"from":"M-Bus","to":"node","fromPort":"left0","toPort":"right7","points":[757.8509681339939,-91.62413793680145,743.8509681339939,-91.62413793680145,740,-91.62413793680145,740,-143.875,685.65625,-143.875,547.65625,-143.875],"thickness":1},
{"from":"0-10V OUT","to":"node","fromPort":"left0","toPort":"right8","points":[753.8509681339939,57.375862063198554,739.8509681339939,57.375862063198554,699.968147485234,57.375862063198554,699.968147485234,-133.375,677.65625,-133.375,547.65625,-133.375],"thickness":1},
{"from":"0-10V OUT2","to":"node","fromPort":"left0","toPort":"right22","points":[750.8509681339939,154.12586206319855,736.8509681339939,154.12586206319855,654.3965669305849,154.12586206319855,654.3965669305849,13.625,565.65625,13.625,547.65625,13.625],"thickness":1},
{"from":"0-10V OUT2","to":"node","fromPort":"left0","toPort":"right20","points":[750.8509681339939,154.12586206319855,736.8509681339939,154.12586206319855,654.3965669305849,154.12586206319855,654.3965669305849,-7.375,581.65625,-7.375,547.65625,-7.375],"thickness":1},
{"from":"0-10V OUT2","to":"node","fromPort":"left0","toPort":"right18","points":[750.8509681339939,154.12586206319855,736.8509681339939,154.12586206319855,654.3965669305849,154.12586206319855,654.3965669305849,-28.375,597.65625,-28.375,547.65625,-28.375],"thickness":1},
{"from":"0-10V OUT2","to":"node","fromPort":"left0","toPort":"right16","points":[750.8509681339939,154.12586206319855,736.8509681339939,154.12586206319855,654.3474806266431,154.12586206319855,654.3474806266431,-49.375,613.65625,-49.375,547.65625,-49.375],"thickness":1},
{"from":"0-10V OUT","to":"node","fromPort":"left0","toPort":"right10","points":[753.8509681339939,57.375862063198554,739.8509681339939,57.375862063198554,699.9524651753852,57.375862063198554,699.9524651753852,-112.375,661.65625,-112.375,547.65625,-112.375],"thickness":1},
{"from":"0-10V OUT","to":"node","fromPort":"left0","toPort":"right12","points":[753.8509681339939,57.375862063198554,739.8509681339939,57.375862063198554,699.968147485234,57.375862063198554,699.968147485234,-91.375,645.65625,-91.375,547.65625,-91.375],"thickness":1},
{"from":"0-10V OUT","to":"node","fromPort":"left0","toPort":"right14","points":[753.8509681339939,57.375862063198554,739.8509681339939,57.375862063198554,699.968147485234,57.375862063198554,699.968147485234,-70.375,629.65625,-70.375,547.65625,-70.375],"thickness":1},
{"from":"node","to":"24VDC","fromPort":"right17","toPort":"top1","points":[547.65625,-38.875,605.65625,-38.875,616.4922153763337,-38.875,616.4922153763337,66.51754184873988,616.4922153763337,171.91008369747976,616.4922153763337,193.91008369747976],"thickness":1},
{"from":"24VDC","to":"node","fromPort":"top1","toPort":"right19","points":[616.4922153763337,193.91008369747976,616.4922153763337,171.91008369747976,616.4922153763337,-17.875,603.0742326881668,-17.875,589.65625,-17.875,547.65625,-17.875],"thickness":1},
{"from":"24VDC","to":"node","fromPort":"top1","toPort":"right21","points":[616.4922153763337,193.91008369747976,616.4922153763337,171.91008369747976,616.4922153763337,3.125,595.0742326881668,3.125,573.65625,3.125,547.65625,3.125],"thickness":1},
{"from":"24VDC","to":"node","fromPort":"top1","toPort":"right23","points":[616.4922153763337,193.91008369747976,616.4922153763337,171.91008369747976,616.4922153763337,24.125,587.0742326881668,24.125,557.65625,24.125,547.65625,24.125],"thickness":1},
{"from":"12VDC","to":"node","fromPort":"bottom0","toPort":"top2","points":[517.7352528763336,-310.63991630252093,517.7352528763336,-296.63991630252093,517.7352528763336,-267.1264907226567,428.15625,-267.1264907226567,428.15625,-265.875,428.15625,-231.875],"thickness":1},
{"from":"5VDC","to":"node","fromPort":"bottom0","toPort":"top03","points":[310.94221537633337,-308.5399163025209,310.94221537633337,-298.5399163025209,310.94221537633337,-264.2074581512604,407.15625,-264.2074581512604,407.15625,-261.875,407.15625,-231.875],"thickness":1},
{"from":"5VDC","to":"node","fromPort":"bottom0","toPort":"top02","points":[310.94221537633337,-308.5399163025209,310.94221537633337,-298.5399163025209,310.94221537633337,-264.03566558446875,396.65625,-264.03566558446875,396.65625,-253.875,396.65625,-231.875],"thickness":1},
{"from":"5VDC","to":"node","fromPort":"bottom0","toPort":"top01","points":[310.94221537633337,-308.5399163025209,310.94221537633337,-298.5399163025209,310.94221537633337,-264.03566558446875,386.15625,-264.03566558446875,386.15625,-245.875,386.15625,-231.875],"thickness":1}
]}
</pre>
 
<pre class="wikidiagram" id="wiring1" style="display:none">
{ "class": "GraphLinksModel",
{ "class": "GraphLinksModel",
   "copiesArrays": true,
   "copiesArrays": true,
Line 40: Line 1,865:
   "linkToPortIdProperty": "toPort",
   "linkToPortIdProperty": "toPort",
   "nodeDataArray": [
   "nodeDataArray": [
{"key":"C1","name":"Unit One","color":"#00ff00","image":"/images/c/c1/C2a.svg","loc":"-25.574964750701383 196.3160717356572","leftArray":[{"portId":"left0","portColor":"#000000"},{"portId":"left1","portColor":"#00ff00"},{"portId":"left2","portColor":"#000000"},{"portId":"left3","portColor":"#00ff00"},{"portId":"left4","portColor":"#000000"},{"portId":"left5","portColor":"#00ff00"},{"portId":"left6","portColor":"#000000"},{"portId":"left7","portColor":"#00ff00"},{"portId":"left8","portColor":"#000000"},{"portId":"left9","portColor":"#ffff00"},{"portId":"left10","portColor":"#000000"},{"portId":"left11","portColor":"#ffff00"},{"portId":"left12","portColor":"#000000"},{"portId":"left13","portColor":"#ffff00"},{"portId":"left14","portColor":"#000000"},{"portId":"left15","portColor":"#ffff00"},{"portId":"left16","portColor":"#000000"},{"portId":"left17","portColor":"#00ff00"},{"portId":"left18","portColor":"#000000"},{"portId":"left19","portColor":"#00ff00"},{"portId":"left20","portColor":"#000000"},{"portId":"left21","portColor":"#00ff00"},{"portId":"left22","portColor":"#000000"},{"portId":"left23","portColor":"#00ff00"}],"topArray":[{"portColor":"#ff9800","portId":"top0"},{"portId":"top1","portColor":"#000000"},{"portId":"top2","portColor":"#ffcc00"},{"portId":"top3","portColor":"#000000"}],"bottomArray":[{"portColor":"#000000","portId":"bottom0"},{"portId":"bottom1","portColor":"#00ffff"},{"portId":"bottom2","portColor":"#000000"},{"portId":"bottom3","portColor":"#00ffff"},{"portId":"bottom4","portColor":"#000000"},{"portId":"bottom5","portColor":"#00ffff"},{"portId":"bottom6","portColor":"#000000"},{"portId":"bottom7","portColor":"#00ffff"},{"portId":"bottom8","portColor":"#000000"},{"portId":"bottom9","portColor":"#40aceb"},{"portId":"bottom10","portColor":"#000000"},{"portId":"bottom11","portColor":"#40aceb"},{"portId":"bottom12","portColor":"#000000"},{"portId":"bottom13","portColor":"#40aceb"},{"portId":"bottom14","portColor":"#000000"},{"portId":"bottom15","portColor":"#40aceb"},{"portId":"bottom16","portColor":"#bf6ae3"},{"portId":"bottom17","portColor":"#bf6ae3"},{"portId":"bottom18","portColor":"#bf6ae3"},{"portId":"bottom19","portColor":"#bf6ae3"},{"portId":"bottom20","portColor":"#bf6ae3"},{"portId":"bottom21","portColor":"#bf6ae3"}],"rightArray":[{"portColor":"#000000","portId":"right0"},{"portColor":"#888888","portId":"right1"},{"portId":"right2","portColor":"#888888"},{"portId":"right3","portColor":"#000000"},{"portId":"right4","portColor":"#888888"},{"portId":"right5","portColor":"#888888"},{"portId":"right6","portColor":"#ddddbb"},{"portId":"right7","portColor":"#ddddbb"},{"portId":"right8","portColor":"#8827e7"},{"portId":"right9","portColor":"#000000"},{"portId":"right10","portColor":"#8827e7"},{"portId":"right11","portColor":"#000000"},{"portId":"right12","portColor":"#8827e7"},{"portId":"right13","portColor":"#000000"},{"portId":"right14","portColor":"#8827e7"},{"portId":"right15","portColor":"#000000"},{"portId":"right16","portColor":"#0000ff"},{"portId":"right17","portColor":"#ff0000"},{"portId":"right18","portColor":"#0000ff"},{"portId":"right19","portColor":"#ff0000"},{"portId":"right20","portColor":"#0000ff"},{"portId":"right21","portColor":"#ff0000"},{"portId":"right22","portColor":"#0000ff"},{"portId":"right23","portColor":"#ff0000"}]},
{"name":"12VDC Power","attributes":{"title":"ppppp"},"buttonArray":[{"href":"https://hwwiki.ddns.net/","color":"#000000","fill":"#0000ff","figure":"ElectricalHazard"},{"text":"Open","href":"https://hwwiki.ddns.net/","color":"#000000","fill":"#0000ff"}],"fill":"#ebebeb","leftArray":[{"portId":"left0","portColor":"#e88600","figure":"Output"},{"portId":"left2","portColor":"#000002","figure":"Output"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"12VDC22","size":"67 103","loc":"658.4688121714489 -491.16453398276076","figure":"Procedure","color":"#000000","thickness":1,"notes":"","textColor":"#484848","showKey":false,"avoidable":true},
{"name":"NTC10K","color":"#ffffff","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#6cafdb"},{"portId":"right1","portColor":"#66d6d1"}],"topArray":[],"bottomArray":[],"key":"NTC1","loc":"-546.2145815222993 28.48544088160405","size":"59 50"},
{"key":"node","name":"BEMS Hat","href":"https://hwwiki.ddns.net/","fill":"palegreen","image":"/images/c/c1/C2a.svg","signalTypes":[{"id":"GND","name":"Ground"},{"id":"NTC","name":"NTC 10K Thermistor"},{"id":"NTC1K","name":"NTC 1K Thermistor"},{"id":"NTC10K","name":"NTC 10K Thermistor"},{"id":"10K","name":"0-10K Resistance"},{"id":"1K","name":"0-1K Resistance"}],"leftArray":[{"portId":"TH8GND","block":"TH8","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH8 Ground"},{"portId":"TH8","size": "15 25","block":"TH8","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH8 Signal","channel":"8"},{"portId":"TH7GND","block":"TH7","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH7 Ground"},{"portId":"TH7","block":"TH7","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH7 Signal","channel":"7"},{"portId":"TH6GND","block":"TH6","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH6 Ground"},{"portId":"TH6","block":"TH6","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH6 Signal","channel":"6"},{"portId":"TH5GND","block":"TH5","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH5 Ground"},{"portId":"TH5","block":"TH5","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH5 Signal","channel":"5"},{"portId":"IN4GND","block":"IN4","portColor":"#000000","figure":"Output"},{"portId":"IN4","block":"IN4","portColor":"#fffffe","figure":"Input"},{"portId":"IN3gng","block":"IN3","portColor":"#000000","figure":"Output"},{"portId":"IN3","block":"IN3","portColor":"#fffffe","figure":"Input"},{"portId":"IN2GND","block":"IN2","portColor":"#000000","figure":"Output"},{"portId":"IN2","block":"IN2","portColor":"#fffffe","figure":"Input"},{"portId":"IN1GND","block":"IN1","portColor":"#000000","figure":"Output"},{"portId":"IN1","block":"IN1","portColor":"#fffffe","figure":"Input"},{"portId":"TH4GND","block":"TH4","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH4 Ground"},{"portId":"TH4","block":"TH4","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH1 Signal","channel":"4"},{"portId":"TH3GND","block":"TH3","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH3 Ground"},{"portId":"TH3","block":"TH3","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH3 Signal","channel":"3"},{"portId":"TH2GND","block":"TH2","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH2 Ground"},{"portId":"TH2","block":"TH2","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH2 Signal","channel":"2"},{"portId":"TH1GND","block":"TH1","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH1 Ground"},{"portId":"TH1","block":"TH1","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH1 Signal","channel":"1"}],"topArray":[{"portColor":"#ffc900","portId":"top01","figure":"Output"},{"portColor":"#ffc900","portId":"top02","figure":"Output"},{"portColor":"#ffc900","portId":"top03","figure":"Output"},{"portId":"top1","portColor":"#000000","figure":"Output"},{"portId":"top2","portColor":"#e88600","figure":"Input"},{"portId":"top3","portColor":"#000002","figure":"Input"},{"portColor":"#ffffff","portId":"top4"},{"portColor":"#ffffff","portId":"top5"}],"bottomArray":[{"portColor":"#000000","portId":"pin25","figure":"Output"},{"portId":"pin26","portColor":"#00ffff","figure":"Input"},{"portId":"pin27","portColor":"#000000","figure":"Output"},{"portId":"pin28","portColor":"#00ffff","figure":"Input"},{"portId":"pin29","portColor":"#000000","figure":"Output"},{"portId":"pin30","portColor":"#00ffff","figure":"Input"},{"portId":"pin31","portColor":"#000000","figure":"Output"},{"portId":"pin32","portColor":"#00ffff","figure":"Input"},{"portId":"pin33","portColor":"#000000","figure":"Output"},{"portId":"pin34","portColor":"#40aceb","figure":"Input"},{"portId":"pin35","portColor":"#000000","figure":"Output"},{"portId":"pin36","portColor":"#40aceb","figure":"Input"},{"portId":"pin37","portColor":"#000000","figure":"Output"},{"portId":"pin38","portColor":"#40aceb","figure":"Input"},{"portId":"pin39","portColor":"#000000","figure":"Output"},{"portId":"pin40","portColor":"#40aceb","figure":"Input"},{"portId":"pin41","portColor":"#ff8abd","figure":"Output"},{"portId":"pin42","portColor":"#bf6ae3","figure":"Input"},{"portId":"pin43","portColor":"#ffa3a3","figure":"Output"},{"portId":"pin44","portColor":"#ff8abd","figure":"Output"},{"portId":"pin45","portColor":"#bf6ae3","figure":"Input"},{"portId":"pin46","portColor":"#ffa3a3","figure":"Output"}],"rightArray":[{"portColor":"#000000","portId":"pin47","figure":"Circle"},{"portColor":"#888891","figure":"Circle","portId":"right1"},{"portId":"right2","portColor":"#888890","figure":"Circle"},{"portId":"right3","portColor":"#000000","figure":"Circle"},{"portId":"right4","portColor":"#888889","figure":"Circle"},{"portId":"right5","portColor":"#888888","figure":"Circle"},{"portId":"right6","portColor":"#ddddba","figure":"Circle"},{"portId":"right7","portColor":"#ddddbb","figure":"Circle"},{"portId":"right8","portColor":"#ffff00","figure":"Output"},{"portId":"right9","portColor":"#000000","figure":"Output"},{"portId":"right10","portColor":"#ffff00","figure":"Output"},{"portId":"right11","portColor":"#000000","figure":"Output"},{"portId":"right12","portColor":"#ffff00","figure":"Output"},{"portId":"right13","portColor":"#000000","figure":"Output"},{"portId":"right14","portColor":"#ffff00","figure":"Output"},{"portId":"right15","portColor":"#000000","figure":"Output"},{"portId":"right16","portColor":"#40aceb","figure":"Output"},{"portId":"right17","portColor":"#ff0000","figure":"Output"},{"portId":"right18","portColor":"#40aceb","figure":"Output"},{"portId":"right19","portColor":"#ff0000","figure":"Output"},{"portId":"right20","portColor":"#40aceb","figure":"Output"},{"portId":"right21","portColor":"#ff0000","figure":"Output"},{"portId":"right22","portColor":"#40aceb","figure":"Output"},{"portId":"right23","portColor":"#ff0000","figure":"Output"}],"loc":"167.4931815938744 -414.85671689130277","size":"231 250.5","thickness":2,"color":"palegreen"},
{"name":"NTC10K","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#6cafdb"},{"portId":"right1","portColor":"#66d6d1"}],"topArray":[],"bottomArray":[],"key":"NTC2","loc":"-665.9246205847992 72.0251239611851","size":"119 92"},
{"name":"NTC Pipe Sensor","make":"Regin","model":"","signalTypes":[{"signalType":"GND","name":"Ground"},{"signalType":"NTC10K","name":"Resistance","map":[[97.006,-20],[72.911,-15],[72.911,-10],[42.317,-5],[32.651,0],[25.395,5],[19.903,10],[15.714,15],[12.493,20],[10,25],[8.056,30],[6.53,35],[5.325,40],[4.367,45],[3.601,50],[2.985,55],[2.467,60],[2.082,65],[1.752,70],[1.256,80],[0.916,90],[0.678,100],[0.51,110],[0.388,120]],"mapUnits":["k\u03a9","\u00b0C"]}],"fill":"#dbf6cb","leftArray":[],"rightArray":[{"portId":"gnd","signalType":"GND","portColor":"#000000","figure":"Input"},{"portId":"temperature","signalType":"NTC10K","portColor":"#00ff00","signalTypes":["#00ff00","#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"ntcr23","size":"71 60","loc":"-246.22910844518805 -397.8973273885425","color":"#000000","thickness":1,"showKey":true,"notes":"","textColor":"#484848","avoidable":true,"topicDevice":"DHW","topicKey":"tCo"},
{"name":"NTC10K","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#6cafdb"},{"portId":"right1","portColor":"#66d6d1"}],"topArray":[],"bottomArray":[],"key":"NTC3","loc":"-667.6632829862677 205.06480704076617","size":"61.6982421875 141"},
{"name":"Pulsed Flow Sensor","fill":"#dbf6cb","pulsesPerLitre":"520","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#ffc900","figure":"Input"},{"portId":"right2","portColor":"#000000","figure":"Input"},{"portId":"right0","portColor":"#00ffff","signalTypes":["#00ffff","#fffffe"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"FS","size":"82.107421875 53","loc":"-279.84375 -147.71875","thickness":1,"color":"black"},
{"name":"Pulsed Flow\nSensor","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#6cafdb"},{"portId":"right1","portColor":"#66d6d1"},{"portId":"right2","portColor":"#d6effc"}],"topArray":[],"bottomArray":[],"key":"FS1","loc":"-384.7961150175177 386.56480704076614","size":"77.107421875 49"},
{"name":"Pump (PWM)","fill":"#cfe4f7","leftArray":[],"rightArray":[],"topArray":[{"portId":"top2","portColor":"#000000","figure":"Input"},{"portId":"top1","portColor":"#40aceb","signalTypes":["#40aceb"],"figure":"Input"},{"portId":"top0","portColor":"#40aceb","figure":"Output"}],"bottomArray":[],"key":"pump","size":"57.3212890625 52","loc":"392.15625 50.28125"},
{"name":"Keep-Warm\nTimer ","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#ebe3fc"},{"portId":"right1","portColor":"#d6effc"}],"topArray":[],"bottomArray":[],"key":"timerDHW","loc":"-258 511.625","size":"78.78515625 49"},
{"name":"Control Valve (PWM)","fill":"#cfe4f7","leftArray":[],"rightArray":[],"topArray":[{"portId":"top2","portColor":"#000000","figure":"Input"},{"portId":"top1","portColor":"#40aceb","signalTypes":["#40aceb"],"figure":"Input"},{"portId":"top0","portColor":"#40aceb","figure":"Output"}],"bottomArray":[],"key":"valve4","size":"90 52","loc":"582.15625 -2.71875"}
{"name":"Room\nThermostat","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#d6effc"},{"portId":"right2","portColor":"#d6effc"}],"topArray":[],"bottomArray":[],"key":"stat","loc":"-255.5 444.625","size":"73.962890625 51"},
{"name":"Pressure \nTemperature Sensor","leftArray":[],"rightArray":[{"portId":"right1","portColor":"#d6effc"},{"portId":"right2","portColor":"#d6effc"},{"portId":"right0","portColor":"#6cafdb"},{"portId":"right3","portColor":"#d6effc"}],"topArray":[],"bottomArray":[],"key":"RPS1","loc":"-436.637502668535 270.688369363003","size":"123.93359375 49"},
{"name":"PWM \nControl Valve","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left1","portColor":"#ebe3fc"},{"portId":"left2","portColor":"#d6effc"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"valveCH","loc":"385.3310546875 316.125","size":"85 50"},
{"name":"12v Power","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"power12","loc":"390.626953125 43.125","size":"66 40"},
{"name":"Prepay Switch","leftArray":[{"portId":"left0","portColor":"#d6effc"},{"portId":"left1","portColor":"#eaeef8"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"prepay","loc":"241.33203125 539.625","size":"90 47"},
{"name":"NTC10K","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#6cafdb"},{"portId":"right1","portColor":"#66d6d1"}],"topArray":[],"bottomArray":[],"key":"NTC4","loc":"-420.8382439237677 195.6673070407662","size":"61 48"},
{"name":"PWM \nControl Valve","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left1","portColor":"#ebe3fc"},{"portId":"left2","portColor":"#d6effc"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"valveDHW","loc":"388.8310546875 396.625","size":"86 47"},
{"name":"Heat Meter","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"meter","loc":"380 214.125"},
{"name":"Modbus\nto BMS","leftArray":[{"portId":"left0","portColor":"#fadfe5"},{"portId":"left3","portColor":"#66d6d1"},{"portId":"left1","portColor":"#6cafdb"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"modbus1","loc":"407.384765625 121.125","size":"67 48"},
{"name":"PWM \nPump","leftArray":[{"portId":"left1","portColor":"#ebe3fc"},{"portId":"left2","portColor":"#d6effc"},{"portId":"left3","portColor":"#66d6d1"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"pumpCH","loc":"389.5244140625 477.125","size":"57.3212890625 52"}
],
],
   "linkDataArray": [
   "linkDataArray": [
{"from":"NTC1","to":"C1","fromPort":"right0","toPort":"left0","points":[-508.71458152229934,23.48544088160405,-490.71458152229934,23.48544088160405,-308.14477313650036,23.48544088160405,-308.14477313650036,81.3160717356572,-157.57496475070138,81.3160717356572,-143.57496475070138,81.3160717356572]},
{"from":"12VDC22","to":"node","fromPort":"left0","toPort":"top2","points":[615.9688121714489,-496.41453398276076,601.9688121714489,-496.41453398276076,467.23099688266166,-496.41453398276076,467.23099688266166,-583.6067168913028,172.7431815938744,-583.6067168913028,172.7431815938744,-549.6067168913028]},
{"from":"NTC1","to":"C1","fromPort":"right1","toPort":"left1","points":[-508.71458152229934,33.48544088160405,-498.71458152229934,33.48544088160405,-316.14477313650036,33.48544088160405,-316.14477313650036,91.3160717356572,-165.57496475070138,91.3160717356572,-143.57496475070138,91.3160717356572]},
{"from":"12VDC22","to":"node","fromPort":"left2","toPort":"top3","points":[615.9688121714489,-485.91453398276076,593.9688121714489,-485.91453398276076,463.23099688266166,-485.91453398276076,463.23099688266166,-575.6067168913028,183.2431815938744,-575.6067168913028,183.2431815938744,-549.6067168913028]},
{"from":"C1","to":"NTC2","fromPort":"left2","toPort":"right0","points":[-143.57496475070138,101.3160717356572,-173.57496475070138,101.3160717356572,-382.9997926677503,101.3160717356572,-382.9997926677503,67.0251239611851,-580.4246205847992,67.0251239611851,-598.4246205847992,67.0251239611851]},
{"from":"node","to":"ntcr23","fromPort":"TH1GND","toPort":"gnd","points":[42.4931815938744,-304.60671689130277,-147.5068184061256,-304.60671689130277,-148,-304.60671689130277,-148,-403.1473273885425,-183.72910844518805,-403.1473273885425,-201.72910844518805,-403.1473273885425]},
{"from":"C1","to":"NTC2","fromPort":"left3","toPort":"right1","points":[-143.57496475070138,111.3160717356572,-181.57496475070138,111.3160717356572,-398.9997926677503,111.3160717356572,-398.9997926677503,77.0251239611851,-588.4246205847992,77.0251239611851,-598.4246205847992,77.0251239611851]},
{"from":"ntcr23","to":"node","fromPort":"temperature","toPort":"TH1","points":[-201.72910844518805,-392.6473273885425,-191.72910844518805,-392.6473273885425,-157.61796342565682,-392.6473273885425,-157.61796342565682,-294.10671689130277,-155.5068184061256,-294.10671689130277,42.4931815938744,-294.10671689130277]},
{"from":"C1","to":"NTC3","fromPort":"left4","toPort":"right0","points":[-143.57496475070138,121.3160717356572,-305.5749647507014,121.3160717356572,-308,121.3160717356572,-308,121.3160717356572,-468,121.3160717356572,-468,200.06480704076617,-614.8141618925177,200.06480704076617,-628.8141618925177,200.06480704076617]},
{"from":"FS","to":"node","fromPort":"right0","toPort":"pin26","points":[-229.7900390625,-137.21875,-199.7900390625,-137.21875,67.7431815938744,-137.21875,67.7431815938744,-197.66273344565138,67.7431815938744,-258.10671689130277,67.7431815938744,-280.10671689130277]},
{"from":"C1","to":"NTC3","fromPort":"left5","toPort":"right1","points":[-143.57496475070138,131.3160717356572,-297.5749647507014,131.3160717356572,-300,131.3160717356572,-300,131.3160717356572,-468,131.3160717356572,-468,210.06480704076617,-606.8141618925177,210.06480704076617,-628.8141618925177,210.06480704076617]},
{"from":"FS","to":"node","fromPort":"right1","toPort":"top03","points":[-229.7900390625,-158.21875,-215.7900390625,-158.21875,-74.6484287343128,-158.21875,-74.6484287343128,-579.6067168913028,151.7431815938744,-579.6067168913028,151.7431815938744,-549.6067168913028]},
{"from":"power12","to":"C1","fromPort":"left0","toPort":"top2","points":[349.626953125,38.125,331.626953125,38.125,-20.574964750701383,38.125,-20.574964750701383,44.2205358678286,-20.574964750701383,50.316071735657204,-20.574964750701383,68.3160717356572]},
{"from":"FS","to":"node","fromPort":"right2","toPort":"pin25","points":[-229.7900390625,-147.71875,-207.7900390625,-147.71875,57.2431815938744,-147.71875,57.2431815938744,-206.91273344565138,57.2431815938744,-266.10671689130277,57.2431815938744,-280.10671689130277]},
{"from":"power12","to":"C1","fromPort":"left3","toPort":"top3","points":[349.626953125,48.125,339.626953125,48.125,-10.574964750701383,48.125,-10.574964750701383,53.2205358678286,-10.574964750701383,58.316071735657204,-10.574964750701383,68.3160717356572]},
{"from":"pump","to":"node","fromPort":"top0","toPort":"pin34","points":[402.65625,15.03125,402.65625,-14.96875,402.65625,-56.537733445651384,151.7431815938744,-56.537733445651384,151.7431815938744,-174.10671689130277,151.7431815938744,-280.10671689130277]},
{"from":"C1","to":"valveCH","fromPort":"bottom14","toPort":"left3","points":[9.425035249298617,324.3160717356572,9.425035249298617,390.3160717356572,214.6280449683993,390.3160717356572,214.6280449683993,331.125,296.8310546875,331.125,334.8310546875,331.125]},
{"from":"pump","to":"node","fromPort":"top1","toPort":"right22","points":[392.15625,15.03125,392.15625,-6.96875,392.15625,-304.60671689130277,351.3247157969372,-304.60671689130277,310.4931815938744,-304.60671689130277,292.4931815938744,-304.60671689130277]},
{"from":"C1","to":"valveCH","fromPort":"bottom15","toPort":"left2","points":[19.425035249298617,324.3160717356572,19.425035249298617,382.3160717356572,224.6280449683993,382.3160717356572,224.6280449683993,321.125,316.8310546875,321.125,334.8310546875,321.125]},
{"from":"pump","to":"node","fromPort":"top2","toPort":"pin33","points":[381.65625,15.03125,381.65625,1.03125,381.65625,-32.537733445651384,141.2431815938744,-32.537733445651384,141.2431815938744,-166.10671689130277,141.2431815938744,-280.10671689130277]},
{"from":"C1","to":"valveCH","fromPort":"right23","toPort":"left1","points":[92.42503524929862,311.3160717356572,290.4250352492986,311.3160717356572,315.6280449683993,311.3160717356572,315.6280449683993,311.125,308.8310546875,311.125,334.8310546875,311.125]},
{"from":"valve4","to":"node","fromPort":"top0","toPort":"pin36","points":[592.65625,-37.96875,592.65625,-67.96875,592.65625,-99.03773344565138,172.7431815938744,-99.03773344565138,172.7431815938744,-190.10671689130277,172.7431815938744,-280.10671689130277]},
{"from":"C1","to":"valveCH","fromPort":"right22","toPort":"left0","points":[92.42503524929862,301.3160717356572,282.4250352492986,301.3160717356572,307.6280449683993,301.3160717356572,307.6280449683993,301.125,300.8310546875,301.125,334.8310546875,301.125]},
{"from":"valve4","to":"node","fromPort":"top1","toPort":"right20","points":[582.15625,-37.96875,582.15625,-59.96875,582.15625,-325.60671689130277,454.3247157969372,-325.60671689130277,326.4931815938744,-325.60671689130277,292.4931815938744,-325.60671689130277]},
{"from":"FS1","to":"C1","fromPort":"right1","toPort":"bottom0","points":[-338.2424040800177,386.56480704076614,-316.2424040800177,386.56480704076614,-130.57496475070138,386.56480704076614,-130.57496475070138,362.44043938821164,-130.57496475070138,338.3160717356572,-130.57496475070138,324.3160717356572]},
{"from":"valve4","to":"node","fromPort":"top2","toPort":"pin35","points":[571.65625,-37.96875,571.65625,-51.96875,571.65625,-75.03773344565138,162.2431815938744,-75.03773344565138,162.2431815938744,-182.10671689130277,162.2431815938744,-280.10671689130277]}
{"from":"FS1","to":"C1","fromPort":"right2","toPort":"bottom1","points":[-338.2424040800177,396.56480704076614,-308.2424040800177,396.56480704076614,-120.57496475070138,396.56480704076614,-120.57496475070138,371.44043938821164,-120.57496475070138,346.3160717356572,-120.57496475070138,324.3160717356572]},
{"from":"stat","to":"C1","fromPort":"right1","toPort":"bottom2","points":[-210.5185546875,439.625,-196.5185546875,439.625,-110.57496475070138,439.625,-110.57496475070138,396.97053586782863,-110.57496475070138,354.3160717356572,-110.57496475070138,324.3160717356572]},
{"from":"stat","to":"C1","fromPort":"right2","toPort":"bottom3","points":[-210.5185546875,449.625,-188.5185546875,449.625,-100.57496475070138,449.625,-100.57496475070138,405.97053586782863,-100.57496475070138,362.3160717356572,-100.57496475070138,324.3160717356572]},
{"from":"C1","to":"timerDHW","fromPort":"bottom4","toPort":"right0","points":[-90.57496475070138,324.3160717356572,-90.57496475070138,370.3160717356572,-90.57496475070138,506.625,-143.5911933128507,506.625,-196.607421875,506.625,-210.607421875,506.625]},
{"from":"C1","to":"timerDHW","fromPort":"bottom5","toPort":"right1","points":[-80.57496475070138,324.3160717356572,-80.57496475070138,378.3160717356572,-80.57496475070138,516.625,-134.5911933128507,516.625,-188.607421875,516.625,-210.607421875,516.625]},
{"from":"C1","to":"prepay","fromPort":"bottom6","toPort":"left1","points":[-70.57496475070138,324.3160717356572,-70.57496475070138,454.3160717356572,-70.57496475070138,544.625,47.87853324964931,544.625,166.33203125,544.625,188.33203125,544.625]},
{"from":"C1","to":"prepay","fromPort":"bottom7","toPort":"left0","points":[-60.57496475070138,324.3160717356572,-60.57496475070138,446.3160717356572,-60.57496475070138,534.625,56.87853324964931,534.625,174.33203125,534.625,188.33203125,534.625]},
{"from":"NTC4","to":"C1","fromPort":"right0","toPort":"left6","points":[-382.3382439237677,190.6673070407662,-368.3382439237677,190.6673070407662,-312.9566043372346,190.6673070407662,-312.9566043372346,141.3160717356572,-289.5749647507014,141.3160717356572,-143.57496475070138,141.3160717356572]},
{"from":"NTC4","to":"C1","fromPort":"right1","toPort":"left7","points":[-382.3382439237677,200.6673070407662,-360.3382439237677,200.6673070407662,-304.9566043372346,200.6673070407662,-304.9566043372346,151.3160717356572,-281.5749647507014,151.3160717356572,-143.57496475070138,151.3160717356572]},
{"from":"FS1","to":"C1","fromPort":"right0","toPort":"top2","points":[-338.2424040800177,376.56480704076614,-324.2424040800177,376.56480704076614,-221.90868441535955,376.56480704076614,-221.90868441535955,38.316071735657204,-20.574964750701383,38.316071735657204,-20.574964750701383,68.3160717356572]},
{"from":"C1","to":"RPS1","fromPort":"left13","toPort":"right2","points":[-143.57496475070138,211.3160717356572,-233.57496475070138,211.3160717356572,-255.1228352721182,211.3160717356572,-255.1228352721182,265.688369363003,-344.670705793535,265.688369363003,-366.670705793535,265.688369363003]},
{"from":"valveDHW","to":"C1","fromPort":"left0","toPort":"right20","points":[337.8310546875,381.625,323.8310546875,381.625,281,381.625,281,281.3160717356572,126.42503524929862,281.3160717356572,92.42503524929862,281.3160717356572]},
{"from":"valveDHW","to":"C1","fromPort":"left1","toPort":"right21","points":[337.8310546875,391.625,315.8310546875,391.625,268,391.625,268,291.3160717356572,118.42503524929862,291.3160717356572,92.42503524929862,291.3160717356572]},
{"from":"valveDHW","to":"C1","fromPort":"left2","toPort":"bottom13","points":[337.8310546875,401.625,307.8310546875,401.625,-0.5749647507013833,401.625,-0.5749647507013833,399.97053586782863,-0.5749647507013833,398.3160717356572,-0.5749647507013833,324.3160717356572]},
{"from":"valveDHW","to":"C1","fromPort":"left3","toPort":"bottom12","points":[337.8310546875,411.625,299.8310546875,411.625,-10.574964750701383,411.625,-10.574964750701383,408.97053586782863,-10.574964750701383,406.3160717356572,-10.574964750701383,324.3160717356572]},
{"from":"C1","to":"RPS1","fromPort":"left14","toPort":"right0","points":[-143.57496475070138,221.3160717356572,-225.57496475070138,221.3160717356572,-255.1228352721182,221.3160717356572,-255.1228352721182,275.688369363003,-336.670705793535,275.688369363003,-366.670705793535,275.688369363003]},
{"from":"C1","to":"RPS1","fromPort":"left15","toPort":"right3","points":[-143.57496475070138,231.3160717356572,-217.57496475070138,231.3160717356572,-255.1228352721182,231.3160717356572,-255.1228352721182,285.688369363003,-328.670705793535,285.688369363003,-366.670705793535,285.688369363003]},
{"from":"C1","to":"RPS1","fromPort":"top0","toPort":"right1","points":[-40.57496475070138,68.3160717356572,-40.57496475070138,54.316071735657204,-236.12283527211818,54.316071735657204,-236.12283527211818,255.688369363003,-352.670705793535,255.688369363003,-366.670705793535,255.688369363003]},
{"from":"C1","to":"meter","fromPort":"right7","toPort":"left3","points":[92.42503524929862,151.3160717356572,230.42503524929862,151.3160717356572,289.2149590308993,151.3160717356572,289.2149590308993,219.125,316.0048828125,219.125,338.0048828125,219.125]},
{"from":"C1","to":"meter","fromPort":"right6","toPort":"left0","points":[92.42503524929862,141.3160717356572,238.42503524929862,141.3160717356572,297.2149590308993,141.3160717356572,297.2149590308993,209.125,324.0048828125,209.125,338.0048828125,209.125]},
{"from":"C1","to":"modbus1","fromPort":"right5","toPort":"left1","points":[92.42503524929862,131.3160717356572,146.42503524929862,131.3160717356572,267.1549004371493,131.3160717356572,267.1549004371493,131.125,355.884765625,131.125,365.884765625,131.125]},
{"from":"C1","to":"modbus1","fromPort":"right4","toPort":"left3","points":[92.42503524929862,121.3160717356572,138.42503524929862,121.3160717356572,259.1549004371493,121.3160717356572,259.1549004371493,121.125,347.884765625,121.125,365.884765625,121.125]},
{"from":"C1","to":"modbus1","fromPort":"right3","toPort":"left0","points":[92.42503524929862,111.3160717356572,130.42503524929862,111.3160717356572,251.1549004371493,111.3160717356572,251.1549004371493,111.125,339.884765625,111.125,365.884765625,111.125]},
{"from":"C1","to":"pumpCH","fromPort":"right18","toPort":"left1","points":[92.42503524929862,261.3160717356572,142.42503524929862,261.3160717356572,133,261.3160717356572,133,467.125,338.86376953125,467.125,352.86376953125,467.125]},
{"from":"C1","to":"pumpCH","fromPort":"bottom10","toPort":"left3","points":[-30.574964750701383,324.3160717356572,-30.574964750701383,422.3160717356572,-30.574964750701383,487.125,146.1444023902743,487.125,322.86376953125,487.125,352.86376953125,487.125]},
{"from":"C1","to":"pumpCH","fromPort":"bottom11","toPort":"left2","points":[-20.574964750701383,324.3160717356572,-20.574964750701383,414.3160717356572,-20.574964750701383,477.125,155.1444023902743,477.125,330.86376953125,477.125,352.86376953125,477.125]}
]}
]}
</pre>
== Testing Frames ==
<iframe key="wiki" align="right" width="48%" height="850" level="" path="/gojs/samples/wiring23.html?cid=testing.json&height=700px&palette=heatweb_sensors.json&border=none" />
<iframe is="frame1" name="frame2" key="wiki" align="right" width="48%" height="850" level="" path="/gojs/samples/wiring23.html?cid=heatweb_morden_hall_1.json&height=700px&palette=heatweb_sensors.json&border=none" />
</pre>
</pre>


Line 103: Line 1,899:




<iframe key="wiki" align="right" width="100%" height="1100" level="" path="/gojs/samples/wiring4.html?id=wiring2&palette=wiringPalette&height=850px" />
<iframe key="wiki" align="right" width="100%" height="1100" level="" path="/gojs/samples/wiring18.html?id=wiringPalette1&palette=wiringPalette1&height=850px" />


<pre id="wiringPalette" style="display:none">
<pre id="wiringPalette" style="display:none">
[{ "key": "W", "color": "white" },
[
{ "key": "G", "color": "palegreen" },
{"key":"CYL","name":"Buffer Store","textColor":"#000000","background":"/images/c/cd/Buffer1.jpg","leftArray":[{"portColor":"#ffffff","portId":"left0"},{"portColor":"#ffffff","portId":"left1"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"},{"portId":"left5","portColor":"#ffffff"},{"portId":"left6","portColor":"#ffffff"},{"portId":"left7","portColor":"#ffffff"},{"portId":"left8","portColor":"#ffffff"},{"portId":"left9","portColor":"#ffffff"},{"portId":"left10","portColor":"#ffffff"},{"portId":"left11","portColor":"#ffffff"},{"portId":"left12","portColor":"#ffffff"},{"portId":"left13","portColor":"#ffffff"},{"portId":"left14","portColor":"#ffffff"},{"portId":"left15","portColor":"#ffffff"},{"portId":"left16","portColor":"#ffffff"},{"portId":"left17","portColor":"#ffffff"},{"portId":"left18","portColor":"#ffffff"},{"portId":"left19","portColor":"#2196f3"}],"topArray":[{"portColor":"#ffffff","portId":"top0"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ff0000"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"},{"portId":"top8","portColor":"#ffffff"},{"portId":"top9","portColor":"#ffffff"},{"portId":"top10","portColor":"#ffffff"}],"bottomArray":[],"rightArray":[{"portColor":"#ffffff","portId":"right0"},{"portColor":"#ffffff","portId":"right1"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"},{"portId":"right5","portColor":"#ffffff"},{"portId":"right6","portColor":"#ffffff"},{"portId":"right7","portColor":"#ffffff"},{"portId":"right8","portColor":"#ffffff"},{"portId":"right9","portColor":"#ffffff"},{"portId":"right10","portColor":"#ffffff"},{"portId":"right11","portColor":"#ffffff"},{"portId":"right12","portColor":"#ffffff"},{"portId":"right13","portColor":"#ffffff"},{"portId":"right14","portColor":"#ffffff"},{"portId":"right15","portColor":"#ffffff"},{"portId":"right16","portColor":"#ffffff"},{"portId":"right17","portColor":"#ffffff"},{"portId":"right18","portColor":"#ffffff"},{"portId":"right19","portColor":"#ffffff"}],"notes":"500 litre","size":"110 224"},
{ "key": "H", "color": "honeydew" },
{"name":"","background":"/images/b/bd/Belimohead2.png","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"},{"portId":"left5","portColor":"#f6beb6"}],"rightArray":[{"portId":"right0","portColor":"#ffffff"},{"portId":"right1","portColor":"#ffffff"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"},{"portId":"right5","portColor":"#f6beb6"}],"topArray":[],"bottomArray":[{"portId":"bottom0","portColor":"#addff9"}],"key":"valve","size":"40 81","notes":""},
{ "key": "AZ", "color": "azure" },
{"name":"Expansion\nVessel","background":"/images/9/9b/Flexcon.jpg","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top6","portColor":"#ffffff"},{"portId":"top7","portColor":"#ffffff"},{"portId":"top8","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#6cafdb"}],"key":"expVessel1","size":"82 142"},
{ "key": "C", "color": "cyan" },
{"name":"Radiators","background":"/images/2/2f/Rad.PNG","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#fae3d7"}],"rightArray":[{"portId":"right0","portColor":"#ffffff"},{"portId":"right1","portColor":"#ffffff"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#6cafdb"}],"topArray":[],"bottomArray":[],"key":"rads","size":"88 65","notes":""},
{ "key": "LC", "color": "lightcyan" },
{"name":"Pump","background":"/images/5/56/Magna3h.jpg","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ff0000"}],"rightArray":[{"portId":"right4","portColor":"#ff0000"}],"topArray":[],"bottomArray":[],"key":"pump","notes":"Magna 3","size":"55 94"},
{ "key": "A", "color": "aquamarine" }]
{"name":"","background":"/images/thumb/4/49/Qavh.png/437px-Qavh.png","color":"#ffffff","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#f6beb6"},{"portId":"right1","portColor":"#66d6d1"}],"topArray":[],"bottomArray":[],"key":"HP1","notes":"Mitsubishi Electric QAHV","size":"134 202"},
{"name":"","leftArray":[],"rightArray":[],"topArray":[],"bottomArray":[{"portId":"bottom0","portColor":"#40aceb"},{"portId":"bottom1","portColor":"#f6beb6"},{"portId":"bottom2","portColor":"#f6beb6"},{"portId":"bottom3","portColor":"#addff9"}],"key":"HIU1","notes":"SLIM HIU","size":"70 109","background":"/images/thumb/6/60/Slim2.jpg/380px-Slim2.jpg"},
{"name":"Taps","leftArray":[{"portId":"left0","portColor":"#f6beb6"}],"rightArray":[{"portId":"right1","portColor":"#40aceb"}],"topArray":[],"bottomArray":[],"key":"DHW"},
{"name":"","background":"/images/4/40/Belimohead1.png","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#addff9"}],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#addff9"},{"portId":"top1","portColor":"#ffffff"},{"portId":"top2","portColor":"#ffffff"},{"portId":"top3","portColor":"#ffffff"},{"portId":"top4","portColor":"#ffffff"},{"portId":"top5","portColor":"#ffffff"}],"bottomArray":[{"portId":"bottom0","portColor":"#f6beb6"},{"portId":"bottom1","portColor":"#ffffff"},{"portId":"bottom2","portColor":"#ffffff"},{"portId":"bottom3","portColor":"#ffffff"},{"portId":"bottom4","portColor":"#ffffff"},{"portId":"bottom5","portColor":"#ffffff"}],"key":"valveR","size":"74 40","notes":""},
{"name":"","background":"/images/a/a8/Hmfc.png","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#addff9"}],"rightArray":[{"portId":"right0","portColor":"#addff9"}],"topArray":[],"bottomArray":[],"key":"HM2","size":"43 57","notes":""},
{"name":"Fan Coil\nUnit","leftArray":[{"portId":"left0","portColor":"#40aceb"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"}],"rightArray":[{"portId":"right0","portColor":"#addff9"},{"portId":"right1","portColor":"#ffffff"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"}],"topArray":[],"bottomArray":[],"key":"fanCoil1","size":"56.5546875 56"},
{"name":"","background":"/images/thumb/6/68/Pressureset1.png/485px-Pressureset1.png","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"},{"portId":"left1","portColor":"#ffffff"},{"portId":"left2","portColor":"#ffffff"},{"portId":"left3","portColor":"#ffffff"},{"portId":"left4","portColor":"#ffffff"}],"rightArray":[{"portId":"right0","portColor":"#40aceb"},{"portId":"right1","portColor":"#40aceb"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"},{"portId":"right5","portColor":"#ffffff"},{"portId":"right6","portColor":"#ffffff"},{"portId":"right7","portColor":"#ffffff"},{"portId":"right8","portColor":"#40aceb"}],"topArray":[],"bottomArray":[],"key":"pressure","size":"111 137","notes":""},
{"name":"Mains","color":"#ffffff","leftArray":[{"portId":"left0","portColor":"#ffffff"}],"rightArray":[{"portId":"right0","portColor":"#ffffff"}],"topArray":[],"bottomArray":[{"portId":"bottom0","portColor":"#40aceb"}],"key":"CWS2"},
{"name":"","color":"#ffffff","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#ffffff"}],"bottomArray":[],"key":"overflow","size":"41 40","notes":""},
{"name":"Side\nStream\nFilter","leftArray":[],"rightArray":[],"topArray":[{"portId":"top0","portColor":"#addff9"},{"portId":"top1","portColor":"#addff9"}],"bottomArray":[{"portId":"bottom0","portColor":"#ffffff"}],"key":"sideStream","size":"54 83"},
{"name":"Strainer","leftArray":[{"portId":"left0","portColor":"#addff9"}],"rightArray":[{"portId":"right0","portColor":"#addff9"}],"topArray":[],"bottomArray":[],"key":"strainer1","size":"50 40"},
{"name":"","background":"/images/6/69/Schem_subst2.svg","color":"#ffffff00","leftArray":[],"rightArray":[{"portId":"right0","portColor":"#ffffff"},{"portId":"right1","portColor":"#ff0000"},{"portId":"right2","portColor":"#ffffff"},{"portId":"right3","portColor":"#ffffff"},{"portId":"right4","portColor":"#ffffff"},{"portId":"right5","portColor":"#ffffff"},{"portId":"right7","portColor":"#ffffff"},{"portId":"right8","portColor":"#ffffff"},{"portId":"right9","portColor":"#ffffff"},{"portId":"right10","portColor":"#ffffff"},{"portId":"right11","portColor":"#ffffff"},{"portId":"right12","portColor":"#ffffff"},{"portId":"right13","portColor":"#ffffff"},{"portId":"right14","portColor":"#ffffff"},{"portId":"right16","portColor":"#ffffff"},{"portId":"right17","portColor":"#ffffff"},{"portId":"right18","portColor":"#ffffff"},{"portId":"right19","portColor":"#ffffff"},{"portId":"right20","portColor":"#ffffff"},{"portId":"right21","portColor":"#ffffff"},{"portId":"right22","portColor":"#ffffff"},{"portId":"right23","portColor":"#ffffff"},{"portId":"right24","portColor":"#ffffff"},{"portId":"right25","portColor":"#ffffff"},{"portId":"right6","portColor":"#ffffff"},{"portId":"right15","portColor":"#ffffff"},{"portId":"right26","portColor":"#ffffff"},{"portId":"right27","portColor":"#ffffff"},{"portId":"right28","portColor":"#ffffff"},{"portId":"right29","portColor":"#ffffff"},{"portId":"right30","portColor":"#ffffff"},{"portId":"right31","portColor":"#40aceb"}],"topArray":[],"bottomArray":[],"key":"subSt","notes":"Substation Twin Plate","size":"355 339"}
]
</pre>
</pre>




<pre id="wiring2" style="display:none">
<pre class="wikidiagram" id="wiring2" style="display:none">
{ "class": "GraphLinksModel",
{ "class": "GraphLinksModel",
   "copiesArrays": true,
   "copiesArrays": true,

Latest revision as of 09:51, 13 October 2022

Work In progress





Testing Frames

Testing 2


Images

Controller Layout
Controller Layout

Rad.svg