i'am trying to read data using serial port, but i always get this error "msg : PortNotOpenError "PortNotOpenError: Port Not Open" ". How can i fix it ??
[{"id":"fadac826.dbf338","type":"modbus-flex-getter","z":"ab90743a.06b9b8","name":"Modbus Flexible Read","showStatusActivities":false,"showErrors":true,"logIOActivities":false,"server":"afde9269.cbd15","useIOFile":false,"ioFile":"","useIOForPayload":false,"x":618,"y":406,"wires":[["797c5709.714ef8","a550ca71.058e88","cc5f74e3.a11198"],["ecb30d00.d549d","515a9f89.d9c41"]]},{"id":"e8a6de28.e63fb","type":"inject","z":"ab90743a.06b9b8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":238,"y":346,"wires":[["15af9210.916a6e"]]},{"id":"15af9210.916a6e","type":"function","z":"ab90743a.06b9b8","name":"FC1","func":"msg.payload = { 'fc': 1, 'unitid': 1, 'address': 0 , 'quantity': 16 }\nreturn msg;","outputs":1,"noerr":0,"x":388,"y":346,"wires":[["fadac826.dbf338"]]},{"id":"797c5709.714ef8","type":"debug","z":"ab90743a.06b9b8","name":"","active":false,"console":"false","complete":"payload","x":868,"y":306,"wires":},{"id":"ecb30d00.d549d","type":"debug","z":"ab90743a.06b9b8","name":"","active":false,"console":"false","complete":"true","x":848,"y":446,"wires":},{"id":"515a9f89.d9c41","type":"modbus-response","z":"ab90743a.06b9b8","name":"","registerShowMax":20,"x":888,"y":486,"wires":},{"id":"cc5f74e3.a11198","type":"debug","z":"ab90743a.06b9b8","name":"","active":true,"console":"false","complete":"true","x":848,"y":386,"wires":},{"id":"a550ca71.058e88","type":"debug","z":"ab90743a.06b9b8","name":"","active":false,"console":"false","complete":"responseBuffer","x":898,"y":346,"wires":},{"id":"eaf14b08.129128","type":"inject","z":"ab90743a.06b9b8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":238,"y":386,"wires":[["5e8b0622.f6b668"]]},{"id":"5e8b0622.f6b668","type":"function","z":"ab90743a.06b9b8","name":"FC2","func":"msg.payload = { 'fc': 2, 'unitid': 1, 'address': 0 , 'quantity': 8 }\nreturn msg;","outputs":1,"noerr":0,"x":388,"y":386,"wires":[["fadac826.dbf338"]]},{"id":"730c158f.78f8ec","type":"inject","z":"ab90743a.06b9b8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":238,"y":426,"wires":[["accaf902.ef2de8"]]},{"id":"accaf902.ef2de8","type":"function","z":"ab90743a.06b9b8","name":"FC3","func":"msg.payload = { 'fc': 3, 'unitid': 1, 'address': 0 , 'quantity': 8 }\nreturn msg;","outputs":1,"noerr":0,"x":388,"y":426,"wires":[["fadac826.dbf338"]]},{"id":"15363396.cc2b6c","type":"inject","z":"ab90743a.06b9b8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":238,"y":466,"wires":[["695b87a1.e4c808"]]},{"id":"695b87a1.e4c808","type":"function","z":"ab90743a.06b9b8","name":"FC4","func":"msg.payload = { 'fc': 4, 'unitid': 1, 'address': 0 , 'quantity': 10 }\nreturn msg;","outputs":1,"noerr":0,"x":388,"y":466,"wires":[["fadac826.dbf338"]]},{"id":"83991e00.6596a","type":"comment","z":"ab90743a.06b9b8","name":"Flexible Read and Write","info":"","x":258,"y":286,"wires":},{"id":"afde9269.cbd15","type":"modbus-client","z":"","name":"","clienttype":"tcp","bufferCommands":true,"stateLogEnabled":false,"tcpHost":"127.0.0.1","tcpPort":"502","tcpType":"C701","serialPort":"COM6","serialType":"RTU-BUFFERD","serialBaudrate":"9600","serialDatabits":"7","serialStopbits":"2","serialParity":"even","serialConnectionDelay":"100","unit_id":"11","commandDelay":"1","clientTimeout":"30000","reconnectTimeout":"2000"}]