The oCountDown Object monitors a value to and determine whether it is greater than zero. If it is zero, then the Counting property is cleared. If it is greater than Zero, then the Counting property is set and the value is decreased until it is. When the value is being decreased, the oLogic Object pointed to by the ClockIn property is used as a clock signal that will decrement the value of the Object that the output property points to by 1 for each clock cycle. The PreScale property is used to divide the ClockIn cycle rate. If PreScale is set to a value greater than 0, then the ClockIn cycle rate will be divided by that number + 1. For example, if the ClockIn property is linked to ooPIC.Hz60 and the PreScale property is set to 59, then the count down rate will be once every second. The value that is decremented can be either the oValue Object that the Output property points to or the Value property. Which one of the two that gets decremented is determined by the property option that is used. |