Selasa, 21 Februari 2023

polling multi addres modbus di node red


 



[{"id":"b2210d86.89956","type":"modbus-read","z":"eda7f4a8.523008","name":"Baterai ","topic":"Baterai","showStatusActivities":false,"logIOActivities":false,"showErrors":false,"unitid":"1","dataType":"HoldingRegister","adr":"2001","quantity":"5","rate":"100","rateUnit":"ms","delayOnStart":false,"startDelayTime":"","server":"509989e4.29d898","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"x":110,"y":340,"wires":[["5c3a88ac.191508"],[]]},{"id":"5c3a88ac.191508","type":"Input Split","z":"eda7f4a8.523008","name":"","inputProps":["payload.0","payload.1","payload.2","payload.3","payload.4","payload.5","payload.6","payload.7","payload.8","payload.9","payload.10","payload.11","payload.12","payload.13","payload.14","payload.15"],"outputs":16,"x":460,"y":420,"wires":[["77233c34.82c8b4"],["d0be2e91.8f48c"],[],["862ee1bf.507f1"],["d3871bcf.af9658"],[],[],[],[],[],[],[],[],[],[],[]]},{"id":"77233c34.82c8b4","type":"function","z":"eda7f4a8.523008","name":"","func":"msg.payload=Number(msg.payload)/10\nmsg.payload = parseFloat ( msg.payload.toFixed(1))\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":620,"y":280,"wires":[["d76fd025.03964"]]},{"id":"d0be2e91.8f48c","type":"function","z":"eda7f4a8.523008","name":"","func":"msg.payload=Number(msg.payload)\nmsg.payload = parseFloat ( msg.payload.toFixed(1))\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":620,"y":320,"wires":[["f1e5fedc.82769"]]},{"id":"862ee1bf.507f1","type":"function","z":"eda7f4a8.523008","name":"","func":"msg.payload=Number(msg.payload)\nmsg.payload = parseFloat ( msg.payload.toFixed(1))\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":620,"y":380,"wires":[["378b4e32.d430a2"]]},{"id":"d3871bcf.af9658","type":"function","z":"eda7f4a8.523008","name":"","func":"msg.payload=Number(msg.payload)\nmsg.payload = parseFloat ( msg.payload.toFixed(1))\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":620,"y":440,"wires":[["2a4087f4.ea2a08"]]},{"id":"d76fd025.03964","type":"ui_artlessgauge","z":"eda7f4a8.523008","group":"e0ad5522.86bd48","order":3,"width":4,"height":4,"name":"Baterai 1 Voltage","icon":"fa-battery","label":"Baterai 1 Voltage","unit":"V","layout":"radial","decimals":"1","differential":false,"minmax":true,"colorTrack":"#555555","style":"","colorFromTheme":true,"property":"payload","secondary":"secondary","inline":false,"animate":true,"sectors":[{"val":0,"col":"#ff9900","t":"min","dot":0},{"val":10,"col":"#ff9900","t":"max","dot":0}],"lineWidth":3,"bgcolorFromTheme":true,"diffCenter":"","x":850,"y":280,"wires":[]},{"id":"f1e5fedc.82769","type":"ui_artlessgauge","z":"eda7f4a8.523008","group":"e0ad5522.86bd48","order":8,"width":4,"height":4,"name":"Baterai 2 Voltage","icon":"fa-battery","label":"Baterai 2 Voltage","unit":"V","layout":"radial","decimals":"1","differential":false,"minmax":true,"colorTrack":"#555555","style":"","colorFromTheme":true,"property":"payload","secondary":"secondary","inline":false,"animate":true,"sectors":[{"val":0,"col":"#ff9900","t":"min","dot":0},{"val":10,"col":"#ff9900","t":"max","dot":0}],"lineWidth":3,"bgcolorFromTheme":true,"diffCenter":"","x":830,"y":320,"wires":[]},{"id":"378b4e32.d430a2","type":"ui_artlessgauge","z":"eda7f4a8.523008","group":"e0ad5522.86bd48","order":2,"width":4,"height":4,"name":"Baterai 1 Current","icon":"fa-battery","label":"Baterai 1 Current","unit":"A","layout":"radial","decimals":0,"differential":false,"minmax":true,"colorTrack":"#555555","style":"","colorFromTheme":true,"property":"payload","secondary":"secondary","inline":false,"animate":true,"sectors":[{"val":0,"col":"#1e00ff","t":"min","dot":0},{"val":10,"col":"#1e00ff","t":"max","dot":0}],"lineWidth":3,"bgcolorFromTheme":true,"diffCenter":"","x":830,"y":380,"wires":[]},{"id":"2a4087f4.ea2a08","type":"ui_artlessgauge","z":"eda7f4a8.523008","group":"e0ad5522.86bd48","order":7,"width":4,"height":4,"name":"Baterai 2 Current","icon":"fa-battery","label":"Baterai 2 Current","unit":"A","layout":"radial","decimals":0,"differential":false,"minmax":true,"colorTrack":"#555555","style":"","colorFromTheme":true,"property":"payload","secondary":"secondary","inline":false,"animate":true,"sectors":[{"val":0,"col":"#0011ff","t":"min","dot":0},{"val":10,"col":"#0011ff","t":"max","dot":0}],"lineWidth":3,"bgcolorFromTheme":true,"diffCenter":"","x":830,"y":440,"wires":[]},{"id":"509989e4.29d898","type":"modbus-client","d":true,"name":"vizi","clienttype":"tcp","bufferCommands":true,"stateLogEnabled":false,"queueLogEnabled":false,"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","unit_id":"1","commandDelay":"1","clientTimeout":"1000","reconnectOnTimeout":true,"reconnectTimeout":"2000","parallelUnitIdsAllowed":true},{"id":"e0ad5522.86bd48","type":"ui_group","name":"Default","tab":"737a5cf4.89d5d4","order":1,"disp":false,"width":25,"collapse":false},{"id":"737a5cf4.89d5d4","type":"ui_tab","name":"Tornatech","icon":"airplay","order":2,"disabled":false,"hidden":false}]

Tidak ada komentar:

Posting Komentar

Frekwensi LoRa yang legal di Indonesia

 menurut kepmen 2024-05 standar teknis perangkat LPWAN berikut frekwensi LoRa : link KEPMEN: download