toonvl
Member
Hi guys!
I've got a quite annoying problem
I've made a program for an S7-300 PLC (cpu314) to regulate the temperatures of fermentation tanks and a few hot water tanks.
This program seems to be running fine.
As an interface, I've used WinCC to make the control of the settings userfriendly.
This interface works fine for all the tanks, except for one.
When I try to change the settings for this tank, the connection to the PLC crashes, the changes aren't written to the datablocks I'm using to store the settings per tank. Even more, after trying to change the settings of this tank, most of the time, after trying to change the settings for this last tank, the connection fails when trying to change the settings on other tanks.
Sometimes the connection is also lost for a few seconds without changing anything. When I restart WinCC runtime, the problems (except with the last tank) are gone.
In the PLC program I used one function block for the regulation of a tank and I use an instance coupled to an instance DB for each tank. The last tank, is just a copy like all the others. I've already tried to delete the data block and delete the network from OB1 and make a new copy from one of the other tanks, did'nt help.
As for the WinCC part, I've already checked all the parameters, whether the addresses of the tags are correct, whether I used a bad conversion routine, whether I used the wrong tags in the pictures.. Can't find a fault.
Has anyone here got the faintest idea of what could be the cause of this type of problem?
Thanks in advance!!
I've got a quite annoying problem
I've made a program for an S7-300 PLC (cpu314) to regulate the temperatures of fermentation tanks and a few hot water tanks.
This program seems to be running fine.
As an interface, I've used WinCC to make the control of the settings userfriendly.
This interface works fine for all the tanks, except for one.
When I try to change the settings for this tank, the connection to the PLC crashes, the changes aren't written to the datablocks I'm using to store the settings per tank. Even more, after trying to change the settings of this tank, most of the time, after trying to change the settings for this last tank, the connection fails when trying to change the settings on other tanks.
Sometimes the connection is also lost for a few seconds without changing anything. When I restart WinCC runtime, the problems (except with the last tank) are gone.
In the PLC program I used one function block for the regulation of a tank and I use an instance coupled to an instance DB for each tank. The last tank, is just a copy like all the others. I've already tried to delete the data block and delete the network from OB1 and make a new copy from one of the other tanks, did'nt help.
As for the WinCC part, I've already checked all the parameters, whether the addresses of the tags are correct, whether I used a bad conversion routine, whether I used the wrong tags in the pictures.. Can't find a fault.
Has anyone here got the faintest idea of what could be the cause of this type of problem?
Thanks in advance!!