Dear all,
I try to comuicate with STONE Panel via Serial Port. This is working with hex commands as you can read in the screenshot below.
I tried out folloiwing with serial nodes. But it does not work and I dont know why.
Someone have expirence with this kind of Panel or similar?
[{"id":"2d25e76c.f15d2","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"680ef872.5eb5a8","type":"s7comm read","z":"2d25e76c.f15d2","connection":"d4a46384.90c6b8","payload":"{\"S7_Type\":\"DB\",\"S7_DBnum\":\"5\",\"S7_Datatype\":\"W\",\"S7_Offset\":\"2\",\"S7_BitOffset\":\"0\",\"S7_Quantity\":\"1\",\"S7_Name\":\"test16\"}","s7Name":"test16","topic":"S7_312","name":"DB5.DBW2","signalSetted":false,"none":"false","repeat":"10","once":false,"x":488.5,"y":418,"wires":[["476f533a.b50634","3a290f42.312de","5a0b9feb.b2d59"]]},{"id":"f47c82d8.28c22","type":"inject","z":"2d25e76c.f15d2","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":290.5,"y":421,"wires":[["680ef872.5eb5a8","a695edb7.a202f"]]},{"id":"476f533a.b50634","type":"debug","z":"2d25e76c.f15d2","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":703.5,"y":422,"wires":[]},{"id":"3a290f42.312de","type":"function","z":"2d25e76c.f15d2","name":"Msg to int","func":"msg.payload=msg.payload.value[0];\nreturn msg;","outputs":1,"noerr":0,"x":610.5,"y":565,"wires":[["ad76d300.136f68","8f7cbbfe.6b0ba8"]]},{"id":"ad76d300.136f68","type":"ui_gauge","z":"2d25e76c.f15d2","name":"","group":"11555359.e3265d","order":3,"width":0,"height":0,"gtype":"gage","title":"Analogwert","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":817.5,"y":573,"wires":[]},{"id":"8f7cbbfe.6b0ba8","type":"debug","z":"2d25e76c.f15d2","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":761.5,"y":636,"wires":[]},{"id":"36a7e77d.d50e28","type":"serial out","z":"2d25e76c.f15d2","name":"Analog Panel1","serial":"e6c39153.e8eab8","x":948.5,"y":694,"wires":[]},{"id":"5a0b9feb.b2d59","type":"function","z":"2d25e76c.f15d2","name":"Msg to hex Command","func":"var msg1 = { payload:\"0xA5 0x5A 0x05 0x82 0x00 0x06 0x00 0x08\" };\nreturn msg1;","outputs":1,"noerr":0,"x":660,"y":695,"wires":[["36a7e77d.d50e28","a050eb95.d7edd"]]},{"id":"a050eb95.d7edd","type":"debug","z":"2d25e76c.f15d2","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":929.5,"y":753,"wires":[]},{"id":"898152e6.a6b92","type":"debug","z":"2d25e76c.f15d2","name":"","active":true,"tosidebar":true,"console":true,"tostatus":true,"complete":"payload","targetType":"msg","x":853.5,"y":896,"wires":[]},{"id":"2d377948.e3da86","type":"serial request","z":"2d25e76c.f15d2","name":"","serial":"e6c39153.e8eab8","x":611.5,"y":894,"wires":[["898152e6.a6b92"]]},{"id":"a695edb7.a202f","type":"function","z":"2d25e76c.f15d2","name":"Msg to hex Command","func":"var msg1 = { payload:\"0xA5 0x5A 0x04 0x83 0x00 0x06 0x02\" };\nreturn msg1;","outputs":1,"noerr":0,"x":373,"y":900,"wires":[["2d377948.e3da86"]]},{"id":"d4a46384.90c6b8","type":"s7comm","z":"","ip":"192.168.0.20","port":"102","rack":"0","slot":"2","payload":[{"S7_Type":"DB","S7_DBnum":"5","S7_Datatype":"W","S7_Offset":"2","S7_BitOffset":"0","S7_Quantity":"1","S7_Name":"test16"}]},{"id":"11555359.e3265d","type":"ui_group","z":"","name":"S7_312","tab":"b23ac66c.9f67a8","disp":true,"width":"6","collapse":false},{"id":"e6c39153.e8eab8","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"","bin":"false","out":"char","addchar":"","responsetimeout":"10000"},{"id":"b23ac66c.9f67a8","type":"ui_tab","z":"","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]
Best Regards
Denis