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

Beckhoff TwinCAT 2 Plc and Codesys 3 HMI Communication

AlAsAr
2023-01-16
2023-01-18
  • AlAsAr - 2023-01-16

    Hello,

    How can I make a commΔ±nication between Beckhoff TwinCAT 2 Plc and Codesys 3 HMI ?
    

    Thanks in advance.

     
  • alexgooi

    alexgooi - 2023-01-16

    Hello AIAsAr,

    Is the HMI build in CODESYS (with the webvisu from CODESYS) ,or is it an HMI which also features a CODESYS runtime?

    If it is the first case you probabbly need to make a server in CODESYS (modbus server for example) which handles the data between the webvisu and the controller. From Twincat you can connect to this server and Sync data from there.

    If it is the second case you probabbly need to load in a Twincat driver (maybe a CODESYS V2 driver will do the trick, but I have never tested this).

     

    Last edit: alexgooi 2023-01-16
  • AlAsAr - 2023-01-18

    Hello alexgooi,

    First of all thank you for reply,

    I will try to communicate over modbus server.

     

Log in to post a comment.