|
The oCountDown Object monitors the value of the Object to which the output property links and determines whether it is greater than zero. If it is zero, then the NonZero property is cleared. If it is greater than Zero, then the NonZero property is set and the Flag property to which the ClockIn property links is used as a clock signal that will decrement the value of the Object to which the Output property links 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. An 8-Bit Value property can be substituted for the Output property by specifying the appropriate property options.
|