12/7/2024 8:41 PM | |
Joined: 10/19/2015 Last visit: 12/12/2024 Posts: 5 Rating:
|
I am having the same issue with a KTP400 and a 1214F DC/DC/DC AT first I had the buttons in the HMI set bits that were used as IN-OUT parameters in FBs. After I saw this post I changed my code and the bits are now reset OUTSIDE any FB and are not used as input / output ou in/out in any block. It didn't change the behaviour. I press the button and it works sometimes, sometimes I have to press 5 ou 6 times to accomplish the task. I tryed a lot of things now. Erasing almost all my project in the HMI to keep only a few tags, change the update rate to 100ms, change the HMI tags (instead of using datatype tags which import a huge amount of smaller tags, now I upload bool by bool), change the PLC code... Nothing has worked so far. Only thing that I have not tryed is changing the hardware. I have used this type of HMI, PLC and method (setting tag im HMI and resetting in PLC) in many projects and I can't understand why this time it is not working. I am using TIA Portal V19. The original code was reused from other projetcs in TIA Portal V19 and it worked without problems. I am accepting any help on this issue. Thank you! ------------------------------------------------------------------------------------------ |
Last edited by: Moderator_Lan at: 12/09/2024 10:33:24New subject after splitting |
|
Follow us on