Siemens 6AV6651-7KA01-3AA4 - S7-1200 + KTP400 Basic Starter Kit 6AV6651-7KA01-3AA4 사용자 설명서

제품 코드
6AV6651-7KA01-3AA4
다운로드
페이지 364
Programming made easy 
 
6.3 Powerful instructions make programming easy 
 
Easy Book 
110
 
Manual, 03/2014, A5E02486774-AF 
Table 6- 17  CTU (count up) counter 
LAD / FBD 
SCL 
Operation 
 
"ctu_db".CTU( 
     CU:=_bool_in,  
     R:=_bool_in,  
     PV:=_undef_in,  
     Q=>_bool_out,  
     CV=>_undef_out); 
 
The timing diagram shows the operation of a CTU counter with an unsigned integer count 
value (where PV = 3). 
●  If the value of parameter CV (current count value) is greater than or equal to the value of 
parameter PV (preset count value), then the counter output parameter Q = 1. 
●  If the value of the reset parameter R changes from 0 to 1, then CV is reset to 0. 
Table 6- 18  CTD (count down) counter 
LAD / FBD 
SCL 
Operation 
 
"ctd_db".CTU( 
     CD:=_bool_in,  
     LOAD:=_bool_in,  
     PV:=_undef_in,  
     Q=>_bool_out,  
     CV=>_undef_out); 
 
 
 
The timing diagram shows the operation of a CTD counter with an unsigned integer count 
value (where PV = 3). 
●  If the value of parameter CV (current count value) is equal to or less than 0, the counter 
output parameter Q = 1. 
●  If the value of parameter LOAD changes from 0 to 1, the value at parameter PV (preset 
value) is loaded to the counter as the new CV.