Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Best way to connect to V3 Controller with PLC Handler

Anonymous
2011-04-21
2011-06-02
  • Anonymous - 2011-04-21

    Originally created by: crthomas1234

    If I have a V3 PLC that I know is at a defined IP address, what is the best way to connect to that controller with PLC Handler? The V3 connection methods seemed to be limited only to the device name or CoDeSys address. Both of these will change from device to device but the IP is fixed on every controller.

    Is there a way to resolve a device name or address from the IP address?

     
  • eschwellinger

    eschwellinger - 2011-06-02

    if your plc support CmpBlkDrvTcp then you could connect via the IP address:
    this snippet is from the plc-handler documentation 5.1.1.2:

    Starting from version V3.4 SP2 there is also the possibility to use
    the CmpBlkDrvTcp to communicate to the PLC.

    Parameter name Description:
    IpAddress Tcp/Ip address of the PLC
    Port Tcp/Ip port number of the PLC. If not specified, the default value 11740 is used.

     

Log in to post a comment.