Technology instructions
10.1 Counting (High-speed counters)
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
583
HSC input memory addresses
Each HSC uses a double word section of I-memory that stores the current count. If you
configure the HSC for frequency, then the frequency is stored in that input memory location.
The available input address range is I0.0 to I1023.7 (maximum start address is I1020.0). The
HSC cannot use an input address that overlaps with an input address mapped to another
component. For further information on the process image, refer to "Execution of the user
program (Page 83)".
The following table shows the default addresses assigned for each HSC:
Table 10- 11 HSC default addresses
Default current value address
HSC4 DInt ID 1012
Each HSC has a unique hardware identifier, which is used by the HSC_CTRL and
HSC_CTRL_EXT instructions. You can find the PLC tag for the hardware identifier under
"System Constants". An HSC with the name "HSC_1" has the tag "Local~HSC_1" and data
type "Hw_Hsc". This tag is also shown in the dropdown menu when selecting the HSC input
of the CTRL_HSC_EXT instructions.