srain Member S Join Date May 2008 Location Qinhuangdao City Posts 12 Jun 11, 2008 #1 I use s7 STL to set break point in FC ,but I can't watch variable value ,is anybody can give me some advice ,thanks!
I use s7 STL to set break point in FC ,but I can't watch variable value ,is anybody can give me some advice ,thanks!
RMA Member Join Date Sep 2004 Location North of Hamburg, Germany Posts 2,052 Jun 12, 2008 #2 Why not copy the temp to a marker variable during testing? Then you can look at it in a VAT. It's possible to update the VAT even when the CPU is in STOP at the breakpoint, I'm not certain, but it might be F7 that refreshes the VAT.
Why not copy the temp to a marker variable during testing? Then you can look at it in a VAT. It's possible to update the VAT even when the CPU is in STOP at the breakpoint, I'm not certain, but it might be F7 that refreshes the VAT.
srain Member OP S Join Date May 2008 Location Qinhuangdao City Posts 12 Jun 13, 2008 #3 thank you RMA,that's a good idea!but if simatic has some functions to let us to know the temporary variable ?
thank you RMA,that's a good idea!but if simatic has some functions to let us to know the temporary variable ?
L D[AR2P#0.0] Lifetime Supporting Member L Join Date Nov 2006 Location UK Posts 6,695 Jun 13, 2008 #4 When the CPU is in hold, you can inspect the Local data area of the block, for example:
srain Member OP S Join Date May 2008 Location Qinhuangdao City Posts 12 Jun 18, 2008 #5 yes!I'm using this method to inpect the local data now,thanks a lot!