You can not use return in your callback function, use node.send(), and you need to store the setInterval number between function node calls
[{"id":"9afe566e1146529d","type":"inject","z":"366a43adb328cf95","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"anything","payloadType":"str","x":460,"y":340,"wires":[["7bdc11e490a13e61"]]},{"id":"7bdc11e490a13e61","type":"function","z":"366a43adb328cf95","name":"sendlowvalues","func":"\nconst minvalue = 6.2\nconst intvl = 3000 //Milliseconds\nlet test = msg.payload\nnode.intl = context.get(\"interval\");\n clearInterval(node.intl)\n\nfunction numgen() {\n msg.payload = minvalue\n node.send(msg);\n}\n\nif (test == \"low\") { \n node.intl = setInterval(numgen, intvl)\n context.set(\"interval\",node.intl);\n} else {\n clearInterval(node.intl)\n}\n\n\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":680,"y":380,"wires":[["aefc713a35661715"]]},{"id":"7e524e8530efba7c","type":"inject","z":"366a43adb328cf95","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"low","payloadType":"str","x":450,"y":400,"wires":[["7bdc11e490a13e61"]]},{"id":"aefc713a35661715","type":"debug","z":"366a43adb328cf95","name":"debug 11","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":920,"y":380,"wires":[]}][{"id":"9afe566e1146529d","type":"inject","z":"366a43adb328cf95","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"anything","payloadType":"str","x":460,"y":340,"wires":[["7bdc11e490a13e61"]]},{"id":"7bdc11e490a13e61","type":"function","z":"366a43adb328cf95","name":"sendlowvalues","func":"\nconst minvalue = 6.2\nconst intvl = 3000 //Milliseconds\nlet test = msg.payload\nnode.intl = context.get(\"interval\");\n clearInterval(node.intl)\n\nfunction numgen() {\n msg.payload = minvalue\n node.send(msg);\n}\n\nif (test == \"low\") { \n node.intl = setInterval(numgen, intvl)\n context.set(\"interval\",node.intl);\n} else {\n clearInterval(node.intl)\n}\n\n\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":680,"y":380,"wires":[["aefc713a35661715"]]},{"id":"7e524e8530efba7c","type":"inject","z":"366a43adb328cf95","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"low","payloadType":"str","x":450,"y":400,"wires":[["7bdc11e490a13e61"]]},{"id":"aefc713a35661715","type":"debug","z":"366a43adb328cf95","name":"debug 11","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":920,"y":380,"wires":[]}][{"id":"9afe566e1146529d","type":"inject","z":"366a43adb328cf95","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"anything","payloadType":"str","x":460,"y":340,"wires":[["7bdc11e490a13e61"]]},{"id":"7bdc11e490a13e61","type":"function","z":"366a43adb328cf95","name":"sendlowvalues","func":"\nconst minvalue = 6.2\nconst intvl = 3000 //Milliseconds\nlet test = msg.payload\nnode.intl = context.get(\"interval\");\n clearInterval(node.intl)\n\nfunction numgen() {\n msg.payload = minvalue\n node.send(msg);\n}\n\nif (test == \"low\") { \n node.intl = setInterval(numgen, intvl)\n context.set(\"interval\",node.intl);\n} else {\n clearInterval(node.intl)\n}\n\n\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":680,"y":380,"wires":[["aefc713a35661715"]]},{"id":"7e524e8530efba7c","type":"inject","z":"366a43adb328cf95","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"low","payloadType":"str","x":450,"y":400,"wires":[["7bdc11e490a13e61"]]},{"id":"aefc713a35661715","type":"debug","z":"366a43adb328cf95","name":"debug 11","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":920,"y":380,"wires":[]}]