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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
How can I make a commΔ±nication between Beckhoff TwinCAT 2 Plc and Codesys 3 HMI ?
Thanks in advance.
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
Hello alexgooi,
First of all thank you for reply,
I will try to communicate over modbus server.