Author Topic: Counter - Sequencer suggestion  (Read 12162 times)

cch1955

  • Full Member
  • Posts: 198
  • Automated Machine Systems Designer
    • View Profile
Counter - Sequencer suggestion
« 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.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Counter - Sequencer suggestion
« Reply #1 on: October 08, 2007, 06:10:58 PM »
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.
« Last Edit: October 08, 2007, 06:23:54 PM by support »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS