node-red-contrib-mcprotocol
node-red-contrib-mcprotocol copied to clipboard
Error conecction with Fx3U-Enet-ADP protocol UDP frame 1E
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); }
please your comments on these modifications I am very grateful with your module and I am implementing it with several Mitsubishi PLC
Hi john,Steve,
As I follow your advise. But still error timeout. Please support me.