Based on your first flow posted, I generated this somewhat simplified flow...
[{"id":"12f772e9.2dbc7d","type":"ui_gauge","z":"79482abb.5adbc4","name":"","group":"792610eb.9e99f","order":16,"width":3,"height":3,"gtype":"gage","title":"CH1 SP","label":"°C","format":"{{value}}","min":"-75","max":"205","colors":["#000cb3","#e6e600","#ca3838"],"seg1":"25","seg2":"25","className":"","x":1640,"y":100,"wires":[]},{"id":"b6477711.d78288","type":"ui_chart","z":"79482abb.5adbc4","name":"","group":"792610eb.9e99f","order":17,"width":25,"height":9,"label":"CH1 PV & SP","chartType":"line","legend":"true","xformat":"HH:mm:ss","interpolate":"linear","nodata":"Please wait...","dot":false,"ymin":"","ymax":"","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"className":"","x":1660,"y":140,"wires":[[]]},{"id":"cd0fe956.b569f8","type":"inject","z":"79482abb.5adbc4","name":"","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"1","topic":"","x":130,"y":220,"wires":[["6f7d19.ae5762e8"]]},{"id":"6f7d19.ae5762e8","type":"function","z":"79482abb.5adbc4","name":"send ModbusGetter Messages","func":"const controller = flow.get(\"controller\") \nconst ip = flow.get(\"ip\")\n\nif (controller == 1) {\n sendModbusGetterMsg(\"CH1 SP\", ip, 198, 2811);\n sendModbusGetterMsg(\"CH1 PV\", ip, 198, 2821);\n sendModbusGetterMsg(\"CH1 PID\", ip, 198, 2809);\n sendModbusGetterMsg(\"CH2 SP\", ip, 198, 2971);\n sendModbusGetterMsg(\"CH2 PV\", ip, 198, 2981);\n sendModbusGetterMsg(\"CH2 PID\", ip, 198, 2969);\n} else if (controller == 2) {\n sendModbusGetterMsg(\"CH1 SP\", ip, 1, 40101);\n sendModbusGetterMsg(\"CH1 PV\", ip, 1, 40104);\n sendModbusGetterMsg(\"CH1 PID\", ip, 1, 30144);\n sendModbusGetterMsg(\"CH2 SP\", ip, 1, 40201);\n sendModbusGetterMsg(\"CH2 PV\", ip, 1, 40204);\n sendModbusGetterMsg(\"CH2 PID\", ip, 1, 30244);\n} else if (controller == 3) {\n sendModbusGetterMsg(\"CH1 SP\", ip, 2, 300);\n sendModbusGetterMsg(\"CH1 PV\", ip, 2, 302);\n sendModbusGetterMsg(\"CH1 PID\", ip, 2, 304);\n sendModbusGetterMsg(\"CH2 SP\", ip, 2, 309);\n sendModbusGetterMsg(\"CH2 PV\", ip, 2, 311);\n sendModbusGetterMsg(\"CH2 PID\", ip, 2, 313);\n} else {\n node.warn(`controller '${controller}' not valid.`);\n return null;\n}\n\nfunction sendModbusGetterMsg(topic, ip, unit, addr) {\n const m = {\n topic: topic,\n payload: {\n \"modbus_ip\": ip,\n \"unitid\": unit,\n \"address\": addr,\n \"functioncode\": 3,\n \"quantity\": 2\n }\n };\n node.send(m);\n}\n\n/*\ncontroller | unit | CH1 SP | CH1 PV | CH1 PID | CH2 SP | CH2 PV | CH2 PID |\n-----------|------|----------|----------|----------|----------|----------|----------|\n1 | 198 | 2811 | 2821 | 2809 | 2971 | 2981 | 2969 |\n2 | 1 | 40101 | 40104 | 30144 | 40201 | 40204 | 30244 |\n3 | 2 | 300 | 302 | 304 | 309 | 311 | 313 |\n*/\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":350,"y":220,"wires":[["0a2b0250f26a9462"]]},{"id":"3321436c.0fedec","type":"buffer-parser","z":"79482abb.5adbc4","name":"","data":"responseBuffer.buffer","dataType":"msg","specification":"spec","specificationType":"ui","items":[{"type":"floatbe","name":"value","offset":0,"length":1,"offsetbit":0,"scale":"1","mask":""}],"swap1":"","swap2":"","swap3":"","swap1Type":"swap","swap2Type":"swap","swap3Type":"swap","msgProperty":"payload","msgPropertyType":"str","resultType":"keyvalue","resultTypeType":"output","multipleResult":false,"fanOutMultipleResult":false,"setTopic":true,"outputs":1,"x":1050,"y":220,"wires":[["bfa23f8c.2405a"]]},{"id":"bfa23f8c.2405a","type":"function","z":"79482abb.5adbc4","name":"","func":"\nconst flowvar = msg.topic.replace(\" \", \"\");\n\nvar i = msg.payload.value;\n\nmsg.payload = parseFloat(i).toFixed(1)\n\nflow.set(flowvar, msg.payload);\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1220,"y":220,"wires":[["849190b691624592"]]},{"id":"a4072613.7124c8","type":"modbus-tcp-ip","z":"79482abb.5adbc4","name":"Modbus-TCP Flexi Getter","ip":"","port":"10502","error":true,"x":830,"y":220,"wires":[["3321436c.0fedec"]]},{"id":"0a2b0250f26a9462","type":"delay","z":"79482abb.5adbc4","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"2","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"x":600,"y":220,"wires":[["a4072613.7124c8"]]},{"id":"849190b691624592","type":"switch","z":"79482abb.5adbc4","name":"","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"CH1 SP","vt":"str"},{"t":"eq","v":"CH1 PV","vt":"str"},{"t":"eq","v":"CH1 PID","vt":"str"},{"t":"eq","v":"CH2 SP","vt":"str"},{"t":"eq","v":"CH2 PV","vt":"str"},{"t":"eq","v":"CH2 PID","vt":"str"}],"checkall":"true","repair":false,"outputs":6,"x":1370,"y":220,"wires":[["12f772e9.2dbc7d"],["b6477711.d78288","53e1130a54788a87"],["7f24adaf81426bb6"],["76b0dcd2bde00df0","850d14e4b44ed963"],["850d14e4b44ed963","99da0eb685f22a41"],["4046ba139c8cd2ad"]]},{"id":"53e1130a54788a87","type":"ui_gauge","z":"79482abb.5adbc4","name":"","group":"792610eb.9e99f","order":18,"width":3,"height":3,"gtype":"gage","title":"CH1 PV","label":"°C","format":"{{value}}","min":"-75","max":"205","colors":["#0c00b3","#e6e600","#ca3838"],"seg1":"25","seg2":"25","className":"","x":1640,"y":180,"wires":[]},{"id":"7f24adaf81426bb6","type":"ui_gauge","z":"79482abb.5adbc4","name":"","group":"792610eb.9e99f","order":19,"width":3,"height":3,"gtype":"gage","title":"CH1 PID Output","label":"%","format":"{{value}}","min":"-100","max":"100","colors":["#002aff","#e6e600","#ff0000"],"seg1":"0","seg2":"0","x":1660,"y":220,"wires":[]},{"id":"76b0dcd2bde00df0","type":"ui_gauge","z":"79482abb.5adbc4","name":"","group":"792610eb.9e99f","order":20,"width":3,"height":3,"gtype":"gage","title":"CH2 SP","label":"% RH","format":"{{value}}","min":"0","max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":1640,"y":260,"wires":[]},{"id":"850d14e4b44ed963","type":"ui_chart","z":"79482abb.5adbc4","name":"","group":"792610eb.9e99f","order":21,"width":25,"height":9,"label":"CH2 PV & SP","chartType":"line","legend":"true","xformat":"HH:mm:ss","interpolate":"linear","nodata":"Please wait...","dot":false,"ymin":"","ymax":"","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"x":1660,"y":300,"wires":[[]]},{"id":"99da0eb685f22a41","type":"ui_gauge","z":"79482abb.5adbc4","name":"","group":"792610eb.9e99f","order":22,"width":3,"height":3,"gtype":"gage","title":"CH2 PV","label":"% RH","format":"{{value}}","min":"0","max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":1640,"y":340,"wires":[]},{"id":"4046ba139c8cd2ad","type":"ui_gauge","z":"79482abb.5adbc4","name":"","group":"792610eb.9e99f","order":23,"width":3,"height":3,"gtype":"gage","title":"CH2 PID Output","label":"%","format":"{{value}}","min":"-100","max":"100","colors":["#1500b3","#e6e600","#ff0000"],"seg1":"0","seg2":"0","x":1660,"y":380,"wires":[]},{"id":"792610eb.9e99f","type":"ui_group","name":"10.10.1.1","tab":"233d7cdb.cb6c34","order":1,"disp":true,"width":28,"collapse":false},{"id":"233d7cdb.cb6c34","type":"ui_tab","name":"10.10.1.1","icon":"dashboard","order":2,"disabled":false,"hidden":false}]