Im trying to communicate Schneider PM1200 energy meter with Node red. There i have used Brainbox US-324 RS485 to USB converter and i have successfully check my path via modscan.
As per Schneider data sheet i want to read 3709 Float holding register to Node red. I have tried my best to do that and still i could not be able to do what i want to do. Can anyone here help me please. I will add my project below.
Baud rate= 19.2K ,Parity = Even , Device ID = 1, Com port = 3
Thank you.
[{"id":"2da777de.4f8f08","type":"modbus-flex-getter","z":"7024384e.688ae8","name":"","showStatusActivities":true,"showErrors":true,"logIOActivities":false,"server":"82ee0a01.a68618","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":true,"x":340,"y":100,"wires":[[],["44869b94.c9bdf4","ee1e4a00.88aff8","71ef44c1.ca05bc"]]},{"id":"44869b94.c9bdf4","type":"modbus-response","z":"7024384e.688ae8","name":"","registerShowMax":20,"x":570,"y":260,"wires":[]},{"id":"eda55341.ee2be","type":"inject","z":"7024384e.688ae8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":120,"y":100,"wires":[["752f1d16.efc514"]]},{"id":"752f1d16.efc514","type":"function","z":"7024384e.688ae8","name":"","func":"msg.payload = {\n value: msg.payload, \n 'fc': 3, \n 'unitid': 1,\n 'address': 3709 ,\n 'quantity': 2 } \nreturn msg","outputs":1,"noerr":0,"x":180,"y":200,"wires":[["2da777de.4f8f08"]]},{"id":"ee1e4a00.88aff8","type":"debug","z":"7024384e.688ae8","name":"","active":true,"tosidebar":true,"console":true,"tostatus":true,"complete":"payload","targetType":"msg","x":540,"y":60,"wires":[]},{"id":"71ef44c1.ca05bc","type":"ui_gauge","z":"7024384e.688ae8","name":"","group":"c59b5080.b59d4","order":4,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":640,"y":140,"wires":[]},{"id":"82ee0a01.a68618","type":"modbus-client","z":"","name":"RS485","clienttype":"simpleser","bufferCommands":true,"stateLogEnabled":false,"queueLogEnabled":false,"tcpHost":"127.0.0.1","tcpPort":"502","tcpType":"DEFAULT","serialPort":"COM3","serialType":"RTU-BUFFERD","serialBaudrate":"19200","serialDatabits":"8","serialStopbits":"1","serialParity":"even","serialConnectionDelay":"100","unit_id":1,"commandDelay":1,"clientTimeout":1000,"reconnectOnTimeout":false,"reconnectTimeout":2000,"parallelUnitIdsAllowed":true},{"id":"c59b5080.b59d4","type":"ui_group","z":"","name":"Modbus Test","tab":"3deed73f.259758","order":1,"disp":true,"width":"6"},{"id":"3deed73f.259758","type":"ui_tab","z":"","name":"Modbus","icon":"dashboard"}]