2024年4月6日 星期六

Node-Red & ModeBus FC=1

Node-Red & ModeBus FC=1

write address=0..7   8bits

read address=16..23 8bits 







[{"id":"cf7c1253d4d997dd","type":"comment","z":"b21d7c01d9cf083f","name":"Setting up a toggle button for a Digital Output","info":"","x":230,"y":40,"wires":[]},{"id":"7fc3d8513f3d9576","type":"ui_switch","z":"b21d7c01d9cf083f","name":"","label":"DO-0","tooltip":"","group":"34544597a4f84d1e","order":1,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"topic","topicType":"msg","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"className":"","x":110,"y":140,"wires":[["66a1fe9e98dffd03"]]},{"id":"66a1fe9e98dffd03","type":"modbus-write","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"unitid":"","dataType":"Coil","adr":"0","quantity":"1","server":"f47b2c4e39c520d2","emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":260,"y":140,"wires":[[],["0763b198c37b8213"]]},{"id":"0763b198c37b8213","type":"debug","z":"b21d7c01d9cf083f","name":"debug  ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":450,"y":140,"wires":[]},{"id":"18da7557ecc67460","type":"ui_switch","z":"b21d7c01d9cf083f","name":"","label":"DO-1","tooltip":"","group":"34544597a4f84d1e","order":2,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"topic","topicType":"msg","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"className":"","x":110,"y":200,"wires":[["8e0a820e40ffb1d0"]]},{"id":"8e0a820e40ffb1d0","type":"modbus-write","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"unitid":"","dataType":"Coil","adr":"1","quantity":"1","server":"f47b2c4e39c520d2","emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":260,"y":200,"wires":[[],["92225964aa233d1f"]]},{"id":"92225964aa233d1f","type":"debug","z":"b21d7c01d9cf083f","name":"debug  ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":450,"y":200,"wires":[]},{"id":"db9793d013588c46","type":"comment","z":"b21d7c01d9cf083f","name":"FC=1  Coil output 00001-","info":"","x":170,"y":80,"wires":[]},{"id":"a7cb78cc3f30c25c","type":"ui_switch","z":"b21d7c01d9cf083f","name":"","label":"DO-2","tooltip":"","group":"34544597a4f84d1e","order":3,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"topic","topicType":"msg","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"className":"","x":110,"y":260,"wires":[["2a3b2f543d1b81a8"]]},{"id":"2a3b2f543d1b81a8","type":"modbus-write","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"unitid":"","dataType":"Coil","adr":"2","quantity":"1","server":"f47b2c4e39c520d2","emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":260,"y":260,"wires":[[],["075fa4f595dea48d"]]},{"id":"075fa4f595dea48d","type":"debug","z":"b21d7c01d9cf083f","name":"debug  ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":450,"y":260,"wires":[]},{"id":"30fdde16d451c341","type":"ui_switch","z":"b21d7c01d9cf083f","name":"","label":"DO-3","tooltip":"","group":"34544597a4f84d1e","order":4,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"topic","topicType":"msg","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"className":"","x":110,"y":320,"wires":[["29d1eebefa35ee0a"]]},{"id":"29d1eebefa35ee0a","type":"modbus-write","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"unitid":"","dataType":"Coil","adr":"3","quantity":"1","server":"f47b2c4e39c520d2","emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":260,"y":320,"wires":[[],["e535632a96d7ddc7"]]},{"id":"e535632a96d7ddc7","type":"debug","z":"b21d7c01d9cf083f","name":"debug  ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":450,"y":320,"wires":[]},{"id":"dd7619bb184051d6","type":"ui_switch","z":"b21d7c01d9cf083f","name":"","label":"DO-4","tooltip":"","group":"34544597a4f84d1e","order":5,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"topic","topicType":"msg","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"className":"","x":110,"y":380,"wires":[["2c455f68aa5a7b84"]]},{"id":"2c455f68aa5a7b84","type":"modbus-write","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"unitid":"","dataType":"Coil","adr":"4","quantity":"1","server":"f47b2c4e39c520d2","emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":260,"y":380,"wires":[[],["5f604eb66ee0dd65"]]},{"id":"5f604eb66ee0dd65","type":"debug","z":"b21d7c01d9cf083f","name":"debug  ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":450,"y":380,"wires":[]},{"id":"8febb4cda908c1b3","type":"ui_switch","z":"b21d7c01d9cf083f","name":"","label":"DO-5","tooltip":"","group":"34544597a4f84d1e","order":6,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"topic","topicType":"msg","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"className":"","x":110,"y":440,"wires":[["ca79707417f82ff5"]]},{"id":"ca79707417f82ff5","type":"modbus-write","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"unitid":"","dataType":"Coil","adr":"5","quantity":"1","server":"f47b2c4e39c520d2","emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":260,"y":440,"wires":[[],["c21a36bb93e41e83"]]},{"id":"c21a36bb93e41e83","type":"debug","z":"b21d7c01d9cf083f","name":"debug  ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":450,"y":440,"wires":[]},{"id":"7c291cf4983a5209","type":"ui_switch","z":"b21d7c01d9cf083f","name":"","label":"DO-6","tooltip":"","group":"34544597a4f84d1e","order":7,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"topic","topicType":"msg","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"className":"","x":110,"y":500,"wires":[["cce3c830c34a5a99"]]},{"id":"cce3c830c34a5a99","type":"modbus-write","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"unitid":"","dataType":"Coil","adr":"6","quantity":"1","server":"f47b2c4e39c520d2","emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":260,"y":500,"wires":[[],["82a7296be86bc7e0"]]},{"id":"82a7296be86bc7e0","type":"debug","z":"b21d7c01d9cf083f","name":"debug  ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":450,"y":500,"wires":[]},{"id":"2f01a13b4cd2b794","type":"ui_switch","z":"b21d7c01d9cf083f","name":"","label":"DO-7","tooltip":"","group":"34544597a4f84d1e","order":8,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"topic","topicType":"msg","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"className":"","x":110,"y":560,"wires":[["0b2ed323153b1067"]]},{"id":"0b2ed323153b1067","type":"modbus-write","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"unitid":"","dataType":"Coil","adr":"7","quantity":"1","server":"f47b2c4e39c520d2","emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":260,"y":560,"wires":[[],["d92bea63d09e35a5"]]},{"id":"d92bea63d09e35a5","type":"debug","z":"b21d7c01d9cf083f","name":"debug  ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":450,"y":560,"wires":[]},{"id":"525a14d406b0f381","type":"modbus-getter","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"logIOActivities":false,"unitid":"","dataType":"Coil","adr":"16","quantity":"1","server":"f47b2c4e39c520d2","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":680,"y":140,"wires":[[],["4b7970cd640c338d"]]},{"id":"59f9ef71948ae9d6","type":"inject","z":"b21d7c01d9cf083f","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"1","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":600,"y":80,"wires":[["525a14d406b0f381","b13b0ad80b6d4abb","a4e5eb356b48866f"]]},{"id":"92bad181ad5475c6","type":"ui_led","z":"b21d7c01d9cf083f","order":1,"group":"f574c0d10afe9b4b","width":2,"height":2,"label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"#ff0000","value":"false","valueType":"bool"},{"color":"#008000","value":"true","valueType":"bool"}],"allowColorForValueInMessage":false,"shape":"circle","showGlow":true,"name":"","x":970,"y":120,"wires":[]},{"id":"bcdcf5b7e3906703","type":"debug","z":"b21d7c01d9cf083f","name":"debug ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":970,"y":80,"wires":[]},{"id":"4b7970cd640c338d","type":"function","z":"b21d7c01d9cf083f","name":"function ","func":"msg.payload=msg.payload.data[0];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":120,"wires":[["92bad181ad5475c6","bcdcf5b7e3906703"]]},{"id":"b13b0ad80b6d4abb","type":"modbus-getter","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"logIOActivities":false,"unitid":"","dataType":"Coil","adr":"17","quantity":"1","server":"f47b2c4e39c520d2","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":680,"y":200,"wires":[[],["941c3badb5b925e0"]]},{"id":"579ebc1b21807253","type":"ui_led","z":"b21d7c01d9cf083f","order":3,"group":"f574c0d10afe9b4b","width":2,"height":2,"label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"#ff0000","value":"false","valueType":"bool"},{"color":"#008000","value":"true","valueType":"bool"}],"allowColorForValueInMessage":false,"shape":"circle","showGlow":true,"name":"","x":970,"y":200,"wires":[]},{"id":"36bc02ecd00540a7","type":"debug","z":"b21d7c01d9cf083f","name":"debug ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":970,"y":160,"wires":[]},{"id":"941c3badb5b925e0","type":"function","z":"b21d7c01d9cf083f","name":"function ","func":"msg.payload=msg.payload.data[0];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":200,"wires":[["579ebc1b21807253","36bc02ecd00540a7"]]},{"id":"baa49e81d1c929d5","type":"modbus-getter","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"logIOActivities":false,"unitid":"","dataType":"Coil","adr":"18","quantity":"1","server":"f47b2c4e39c520d2","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":680,"y":300,"wires":[[],["1d3d5d5578d24f13"]]},{"id":"543aa8493e581591","type":"ui_led","z":"b21d7c01d9cf083f","order":7,"group":"f574c0d10afe9b4b","width":2,"height":2,"label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"#ff0000","value":"false","valueType":"bool"},{"color":"#008000","value":"true","valueType":"bool"}],"allowColorForValueInMessage":false,"shape":"circle","showGlow":true,"name":"","x":970,"y":280,"wires":[]},{"id":"4c391966164f486b","type":"debug","z":"b21d7c01d9cf083f","name":"debug ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":970,"y":240,"wires":[]},{"id":"1d3d5d5578d24f13","type":"function","z":"b21d7c01d9cf083f","name":"function ","func":"msg.payload=msg.payload.data[0];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":280,"wires":[["543aa8493e581591","4c391966164f486b"]]},{"id":"2cb51747de663eee","type":"modbus-getter","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"logIOActivities":false,"unitid":"","dataType":"Coil","adr":"19","quantity":"1","server":"f47b2c4e39c520d2","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":680,"y":360,"wires":[[],["f00baf4abc4df4b4"]]},{"id":"5b03077bb386e14b","type":"ui_led","z":"b21d7c01d9cf083f","order":9,"group":"f574c0d10afe9b4b","width":2,"height":2,"label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"#ff0000","value":"false","valueType":"bool"},{"color":"#008000","value":"true","valueType":"bool"}],"allowColorForValueInMessage":false,"shape":"circle","showGlow":true,"name":"","x":970,"y":360,"wires":[]},{"id":"072f21751ce31ce4","type":"debug","z":"b21d7c01d9cf083f","name":"debug ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":970,"y":320,"wires":[]},{"id":"f00baf4abc4df4b4","type":"function","z":"b21d7c01d9cf083f","name":"function ","func":"msg.payload=msg.payload.data[0];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":360,"wires":[["5b03077bb386e14b","072f21751ce31ce4"]]},{"id":"a4e5eb356b48866f","type":"link out","z":"b21d7c01d9cf083f","name":"link out 56","mode":"link","links":["83d118c954780bdb","bf0722381bc7858c","cb9a17ac39275c73"],"x":735,"y":80,"wires":[]},{"id":"bf0722381bc7858c","type":"link in","z":"b21d7c01d9cf083f","name":"link in 52","links":["a4e5eb356b48866f"],"x":575,"y":280,"wires":[["baa49e81d1c929d5","2cb51747de663eee"]]},{"id":"bf0134580e237fd6","type":"modbus-getter","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"logIOActivities":false,"unitid":"","dataType":"Coil","adr":"20","quantity":"1","server":"f47b2c4e39c520d2","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":680,"y":440,"wires":[[],["8a43ee7051527228"]]},{"id":"e9df24d0ddd80d7a","type":"ui_led","z":"b21d7c01d9cf083f","order":15,"group":"f574c0d10afe9b4b","width":2,"height":2,"label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"#ff0000","value":"false","valueType":"bool"},{"color":"#008000","value":"true","valueType":"bool"}],"allowColorForValueInMessage":false,"shape":"circle","showGlow":true,"name":"","x":970,"y":420,"wires":[]},{"id":"8a43ee7051527228","type":"function","z":"b21d7c01d9cf083f","name":"function ","func":"msg.payload=msg.payload.data[0];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":420,"wires":[["e9df24d0ddd80d7a"]]},{"id":"76e0653b8431dc28","type":"modbus-getter","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"logIOActivities":false,"unitid":"","dataType":"Coil","adr":"21","quantity":"1","server":"f47b2c4e39c520d2","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":680,"y":500,"wires":[[],["6fe93d1106822176"]]},{"id":"fc89367024198c09","type":"ui_led","z":"b21d7c01d9cf083f","order":13,"group":"f574c0d10afe9b4b","width":2,"height":2,"label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"#ff0000","value":"false","valueType":"bool"},{"color":"#008000","value":"true","valueType":"bool"}],"allowColorForValueInMessage":false,"shape":"circle","showGlow":true,"name":"","x":970,"y":500,"wires":[]},{"id":"d8d26c9c55508a96","type":"debug","z":"b21d7c01d9cf083f","name":"debug ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":970,"y":460,"wires":[]},{"id":"6fe93d1106822176","type":"function","z":"b21d7c01d9cf083f","name":"function ","func":"msg.payload=msg.payload.data[0];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":500,"wires":[["fc89367024198c09","d8d26c9c55508a96"]]},{"id":"95a01d2f2a857b4b","type":"modbus-getter","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"logIOActivities":false,"unitid":"","dataType":"Coil","adr":"22","quantity":"1","server":"f47b2c4e39c520d2","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":680,"y":600,"wires":[[],["c105597f083518ef"]]},{"id":"22ca9748df817a5b","type":"ui_led","z":"b21d7c01d9cf083f","order":19,"group":"f574c0d10afe9b4b","width":2,"height":2,"label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"#ff0000","value":"false","valueType":"bool"},{"color":"#008000","value":"true","valueType":"bool"}],"allowColorForValueInMessage":false,"shape":"circle","showGlow":true,"name":"","x":970,"y":580,"wires":[]},{"id":"22a04cd1062a4344","type":"debug","z":"b21d7c01d9cf083f","name":"debug ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":970,"y":540,"wires":[]},{"id":"c105597f083518ef","type":"function","z":"b21d7c01d9cf083f","name":"function ","func":"msg.payload=msg.payload.data[0];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":580,"wires":[["22ca9748df817a5b","22a04cd1062a4344"]]},{"id":"695f038fea5fa07d","type":"modbus-getter","z":"b21d7c01d9cf083f","name":"","showStatusActivities":false,"showErrors":false,"showWarnings":true,"logIOActivities":false,"unitid":"","dataType":"Coil","adr":"23","quantity":"1","server":"f47b2c4e39c520d2","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"keepMsgProperties":false,"delayOnStart":false,"startDelayTime":"","x":680,"y":660,"wires":[[],["266f7533b618ec4a"]]},{"id":"580e3691753a1188","type":"ui_led","z":"b21d7c01d9cf083f","order":21,"group":"f574c0d10afe9b4b","width":2,"height":2,"label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"#ff0000","value":"false","valueType":"bool"},{"color":"#008000","value":"true","valueType":"bool"}],"allowColorForValueInMessage":false,"shape":"circle","showGlow":true,"name":"","x":970,"y":660,"wires":[]},{"id":"8f6c0e5ce42a25c4","type":"debug","z":"b21d7c01d9cf083f","name":"debug ","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":970,"y":620,"wires":[]},{"id":"266f7533b618ec4a","type":"function","z":"b21d7c01d9cf083f","name":"function ","func":"msg.payload=msg.payload.data[0];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":660,"wires":[["580e3691753a1188","8f6c0e5ce42a25c4"]]},{"id":"cb9a17ac39275c73","type":"link in","z":"b21d7c01d9cf083f","name":"link in 53","links":["a4e5eb356b48866f"],"x":575,"y":580,"wires":[["95a01d2f2a857b4b","695f038fea5fa07d"]]},{"id":"83d118c954780bdb","type":"link in","z":"b21d7c01d9cf083f","name":"link in 54","links":["a4e5eb356b48866f"],"x":575,"y":400,"wires":[["bf0134580e237fd6","76e0653b8431dc28"]]},{"id":"34544597a4f84d1e","type":"ui_group","name":"DO","tab":"6208ef5dc023cea8","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"f47b2c4e39c520d2","type":"modbus-client","name":"MODBUS Eth. TCP/IP","clienttype":"tcp","bufferCommands":true,"stateLogEnabled":false,"queueLogEnabled":false,"failureLogEnabled":true,"tcpHost":"127.0.0.1","tcpPort":"502","tcpType":"DEFAULT","serialPort":"/dev/ttyUSB","serialType":"RTU-BUFFERD","serialBaudrate":"9600","serialDatabits":"8","serialStopbits":"1","serialParity":"none","serialConnectionDelay":"100","serialAsciiResponseStartDelimiter":"0x3A","unit_id":"1","commandDelay":"1","clientTimeout":"1000","reconnectOnTimeout":true,"reconnectTimeout":"2000","parallelUnitIdsAllowed":true,"showWarnings":true,"showLogs":true},{"id":"f574c0d10afe9b4b","type":"ui_group","name":"DI","tab":"6208ef5dc023cea8","order":2,"disp":true,"width":"6","collapse":false,"className":""},{"id":"6208ef5dc023cea8","type":"ui_tab","name":"ModBus","icon":"dashboard","order":116,"disabled":false,"hidden":false}]



沒有留言:

張貼留言

113 學年度第 1 學期 RFID應用課程 Arduino程式

113 學年度第 1 學期 RFID應用課程 Arduino程式 https://www.mediafire.com/file/zr0h0p3iosq12jw/MFRC522+(2).7z/file 內含修改過後的 MFRC522 程式庫 (原程式有錯誤) //定義MFRC522...