Siemens 6AV6651-7KA01-3AA4 - S7-1200 + KTP400 Basic Starter Kit 6AV6651-7KA01-3AA4 Manuel D’Utilisation

Codes de produits
6AV6651-7KA01-3AA4
Page de 364
 
Programming made easy 
 
6.6 High-speed counter (HSC) 
Easy Book 
Manual, 03/2014, A5E02486774-AF 
125
 
 
 
 
Note 
The digital I/O points used by high-speed counter devices are assigned during CPU device 
configuration. When digital I/O point addresses are assigned to HSC devices, the values of 
the assigned I/O point addresses cannot be modified by the force function in a watch table.  
 
6.6.2 
Configuration of the HSC 
 
 
You may configure up to 6 high-speed counters. Edit 
the CPU device configuration and assign the HSC 
properties of each individual HSC.  
Enable an HSC by selecting the "Enable" option for 
that HSC 
Use the CTRL_HSC instruction in your user program to 
control the operation of the HSC. 
 
 
 
 
WARNING 
Risks with changes to filter time setting for digital input channels 
 
If the filter time for a digital input channel is changed from a previous setting, a new "0" 
level input value might need to be presented for up to 20.0 ms accumulated duration before 
the filter becomes fully responsive to new inputs. During this time, short "0" pulse events of 
duration less than 20.0 ms may not be detected or counted. 
This changing of filter times can result in unexpected machine or process operation, which 
can cause death or serious injury to personnel, and/or damage to equipment. 
To ensure that a new filter time goes immediately into effect, power cycle the CPU. 
 
After enabling the HSC, configure the other parameters, such as counter function, initial 
values, reset options and interrupt events.