how hmi communicate with plc?
So basically the HMI prepares a list of tags it needs to write to the PLC tag addresses, and values it has to read in the CPU mamory everytime it becomes active (when it has control of the communication link), using the tag addresses configured in both PLC and HMI programs to connect the two.