求教!NodeRED里的Loop节点如何控制启动停止?

最近研究一个设备需要给它 逐条循环 发送代码,逐条发送已经用 split 节点实现了。然后后面想用 loop节点(node-red-contrib-loop) 来时代码循环发送,没想到出发循环之后无法停止,不知道哪里错了,求高人指点,真心拜谢!!本人不懂代码,研究了好久都没解决,特来求教。

前面的部分去掉了,只循环一个字符消息。


不知道这样连接是否正确,我试过其他连接方式都没有循环输出。

loop节点也没有设置,就是默认的。

按照说明文档,当有 break 命令注入时 就会停止,我试过好几种写法仍然无法停止。


注入的break 也进入了循环

[{"id":"24b722dec35294cf","type":"tab","label":"流程 1","disabled":false,"info":"","env":[]},{"id":"0723c60fa376e15c","type":"loop","z":"24b722dec35294cf","name":"","kind":"fcnt","count":"","initial":"1","step":"1","condition":"","conditionType":"js","when":"before","enumeration":"enum","enumerationType":"msg","limit":"","loopPayload":"loop-index","finalPayload":"final-count","x":630,"y":320,"wires":[["1ae11afc1d1b6946"],[]]},{"id":"7836154a88986f0b","type":"delay","z":"24b722dec35294cf","name":"","pauseType":"rate","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":true,"outputs":1,"x":630,"y":220,"wires":[["0723c60fa376e15c"]]},{"id":"1ae11afc1d1b6946","type":"debug","z":"24b722dec35294cf","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":950,"y":320,"wires":[]},{"id":"b5251f09dbaabbbc","type":"inject","z":"24b722dec35294cf","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"break","payloadType":"str","x":350,"y":340,"wires":[["0723c60fa376e15c"]]},{"id":"661c461a4312b893","type":"inject","z":"24b722dec35294cf","name":"","props":[{"p":"command","v":"break","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":350,"y":400,"wires":[["0723c60fa376e15c"]]},{"id":"fad02c4e294cd213","type":"inject","z":"24b722dec35294cf","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"AAAAAAABBBBBBB","payloadType":"str","x":340,"y":240,"wires":[["0723c60fa376e15c"]]}]

请教如何控制loop,或者有没有其他可以控制 开始、暂停的循环方式?