Internet PLC Forum
General => Technical support => Topic started by: cch1955 on October 08, 2007, 04:50:09 PM
-
I think it would be helpful in future documentation to add an entry to
the keywords in TBASIC concerning the setting and reading of counter values using CtrPV[n]. Currently it is only listed under SetCtrSV as a footnote. Also the forn is somewhat differnet since you use the same command to both read and set the counter values. Below is the foot note listed under SetCtrSV :
Related : The present values (P.V.) of counters can be read or written directly as integer variables "CtrPV[n]". But the Set Values can only be changed by this function.
The current reference is a little obscure and takes away from this fine product.
-
Thanks for pointing out the weakness in the reference.
The CtrPV[] and TImerPV[] are also mentioned in the description on system variables in the chapter TBASIC Statement, Functions and Variables but I agree it could have been more clearly stated in the ladder logic descriptions on timers and counters.