Skip to content

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

@john102594

Description

@john102594

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions