Hi Benedek,
5-10 seconds is an excessive delay. Surely you need to optimize something at the communication driver level (driver settings) or try to act on the cycle time on the PLC. Which settings did you configured?
Some personal recommendations:
-Use a recent version of the driver
-Check the settings / special configurations of the PLC involved to use this PLC with the S7TCP driver (driver Help > Hardware Information > S71200/1500
-If the slowness is only in the commands , check the communication task configuration in the variable.
If the task is :
Input/Output
This option sets the task as ‘Read-Write’.
try to set:
Exception Output This option sets the task as ‘Write Only’, thus managing data on exception, which means only when there is a data change in the Supervisor.
This I hope will solve your problem , because it does not wait the reading from the PLC, it immediately write the value over the exchanged variable , it is the correct setting for buttons to dispatch manual commands from the HMI …
Regards
Robin