Hi!
I am trying to set up a datapoint to be and "In/Out" via the S7 driver. I would also like to use the "low level comparison" option to avoid unnecessary load on the Event Manager.
What I noticed is if I write TRUE to this datapoint fromn WinCC OA and then reset it back to FALSE in the PLC (as soon as it sees TRUE) WinCC OA only updates it to FALSE about 10 seconds later.
If I make this point just an "In" type with "Low level comparison" and change the value in the PLC, WinCC OA updates it without any delay, but "In/Out" seems very slow to update.
Is that a known bug/feature?
S7 driver and In/Out datapoints
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: S7 driver and In/Out datapoints
With "In/Out" the written values are confirmed by reading them back. When the written value is not read back after the 'IOTransitionTimeout' (default 10s) the previous value is set back and possible an invalid bit.
When you reset the value in the PLC immediately back, the driver does not have time to read the value back. Then the transition bit stays high and is reset after the timeout.
To solve this you should wait some time before resetting the value in the PLC or disable 'IOTransitionTimeout'.
When you reset the value in the PLC immediately back, the driver does not have time to read the value back. Then the transition bit stays high and is reset after the timeout.
To solve this you should wait some time before resetting the value in the PLC or disable 'IOTransitionTimeout'.
- n_lev
- Posts:73
- Joined: Tue May 28, 2013 2:24 am
Re: S7 driver and In/Out datapoints
Thanks Gertjan, exactly what I needed