High-Speed Counters Hsc1 And Hsc2 - Siemens SIMATIC S7-200 System Manual

Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

From this table you can see that if you are using HSC0 in modes 3 through 10
(Clock and Direction or any of the two-phase clocking modes), you cannot use
HSC3 because HSC0 and HSC3 both use I0.1. The same is true for HSC4 and
HSC5, which both use I0.4.
You can use I0.0 through I0.3 for high-speed counter inputs, or you can configure
these inputs to provide edge interrupt events. You cannot use these inputs as edge
interrupts and as high-speed counter inputs at the same time.
The same input cannot be used for two different functions; however, any input not
being used by the present mode of its high-speed counter can be used for another
purpose. For example, if HSC0 is being used in mode 2 which uses I0.0 and I0.2,
I0.1 can be used for edge interrupts or for HSC3.
Table 6-2 defines the modes of operations supported by high-speed counters
HSC1 and HSC2. Only the CPU 224 and CPU 226 support these high-speed
counters.
Table 6-2

High-Speed Counters HSC1 and HSC2

Mode
Mode
I0.6
0
Clk
1
Clk
2
Clk
3
Clk
4
Clk
5
Clk
6
Clk Up
7
Clk Up
8
Clk Up
9
Phase A
10
Phase A
11
Phase A
Each counter has dedicated inputs for clocks, direction control, reset, and start,
where these functions are supported. In quadrature modes, an option is provided
to select one or four times the maximum counting rates. HSC1 and HSC2 are
completely independent of each other and do not affect other high-speed functions.
Both counters run at maximum rates without interfering with one another.
For more information about using the high-speed counters, see Section 9.4,
SIMATIC High-Speed Counter Instructions in Chapter 9.
S7-200 Programmable Controller System Manual
A5E00066097-02
HSC1
I0.7
I1.0
I1.1
Reset
Reset
Start
Direction
Direction
Reset
Direction
Reset
Start
Clk Down
Clk Down
Reset
Clk Down
Reset
Start
Phase B
Phase B
Reset
Phase B
Reset
Start
CPU and Input/Output Configuration
HSC2
I1.2
I1.3
I1.4
Clk
Clk
Reset
Clk
Reset
Clk
Direction
Clk
Direction
Reset
Clk
Direction
Reset
Clk Up
Clk Down
Clk Up
Clk Down
Reset
Clk Up
Clk Down
Reset
Phase A
Phase B
Phase A
Phase B
Reset
Phase A
Phase B
Reset
I1.5
Start
Start
Start
Start
6-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents