CTU  | 
    
     
       
     
     		  
     
      
     
     | 
  
IEC / CEI 1131-3 Compliant

The CTU object represents an UP COUNTER. A rising-edge on CU input will increment the counting by one. When the programmed value, applied to the input PV, is reached, the Q output become TRUE.
Applying a TRUE signal on R input will reset the counter to zero ( Asyncronous reset ).
The CV output pin reports the current counting value.
Net plugs
Plug  | 
Description  | 
CU  | 
A rising-edge on this input will increment the counter by one  | 
  | 
  | 
R  | 
Applying a TRUE signal on this input will reset the counter  | 
  | 
  | 
PV  | 
The Q output become TRUE when the current counting value reaches the value applied to this input. User should use a CONST or IDENT object to enter numerical constant  | 
  | 
  | 
Q  | 
This output become TRUE when the counting is equal or greater than the programmed value  | 
  | 
  | 
CV  | 
This output reports the current counting value  | 
See also : COUNTER, CTD, CTUD, IDENT, CONST