node-red-contrib-mcprotocol icon indicating copy to clipboard operation
node-red-contrib-mcprotocol copied to clipboard

Error conecction with Fx3U-Enet-ADP protocol UDP frame 1E

Open john102594 opened this issue 2 years ago • 1 comments

When trying to connect to the fx3ge, fx3u or fx3u-enet-adp plc via udp protocol, the gx work 2 software requires a destination port, consequently the communication node shows timeout, reading the library I was able to solve it in the following way in the mcprotocol file: add into function MCProtocol.prototype.connectNow under in the line self.netClient = dgram.createSocket("udp4"); (Line359) the next code if (cParam.frame == "1E") { self.netClient.bind(cParam.port); }

image

image

image

please your comments on these modifications I am very grateful with your module and I am implementing it with several Mitsubishi PLC

john102594 avatar Jul 26 '22 04:07 john102594

Hi john,Steve, As I follow your advise. But still error timeout. Please support me. image

Huynhbaoky avatar Mar 20 '23 15:03 Huynhbaoky