| The oCounter2H Object counts each cycle of the input on I/O Line 16 by incrementing the 16-Bit Count property each time the input cycles. When the Count property reaches 65535, the next cycle will cause the Count property to roll to 0. The Operate property specifies if the Count property will increase each time the input cycles. An MSB oLogic property is provided which reflects the 16th bit of the Count property's data and can be pointed to by a virtual circuit in which it can be used as the input to a oCounter Object to extend the count. The PreScale property divides the input cycles before they are counted. The Timer property is an instance of the oTimer object which is created when the oCounter2H is. It uses this object to maintain the actual 16-bit count. The oCounter2H configures its properties so that it will count the cycles present on I/O Line 16. Changing the oTimer Object's properties can be set and will affect the way the oCounter2H operates. Note that since all instances of the oTimer Object use the same PIC hardware therefore all instances of the oCounter2H Objects will read the same 16-Bit value. Also note that all other objects that use the oTimer object will also use the same 16-Bit value as well. For instance, The oFreqH Object uses an instance of the oTimer object. (see oTimer Object for more detail) |