Siemens SIMATIC S7-200 System Manual page 134

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

Advertisement

S7-200 Programmable Controller System Manual
Defining Counter Modes and Inputs
Use the High-Speed Counter Definition instruction to define the counter modes and inputs.
Table 6-26 shows the inputs used for the clock, direction control, reset, and start functions
associated with the high-speed counters. The same input cannot be used for two different
functions, but 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 1, which uses I0.0 and
I0.2, I0.1 can be used for edge interrupts or for HSC3.
Tip
Note that all modes of HSC0 (except mode 12) always use I0.0 and all modes of HSC4 always
use I0.3, so these points are never available for other uses when these counters are in use.
Table 6-26
Inputs for the High-Speed Counters
Mode
Description
0
Single-phase counter with internal
di
direction control
ti
1
2
Single-phase counter with external
3
di
direction control
ti
4
5
Two-phase counter with 2 clock inputs
6
7
8
9
A/B phase quadrature counter
10
11
12
Only HSC0 and HSC3 support
mode12.
HSC0 counts the number of pulses
going out of Q0.0.
HSC3 counts the number of pulses
going out of Q0.1.
120
HSC0
HSC1
HSC2
HSC3
HSC4
HSC5
t l
t l
Inputs
I0.0
I0.1
I0.6
I0.7
I1.2
I1.3
I0.1
I0.3
I0.4
I0.4
Clock
Clock
Clock
Clock
Direction
Clock
Direction
Clock
Direction
Clock Up
Clock Down
Clock Up
Clock Down
Clock Up
Clock Down
Clock A
Clock B
Clock A
Clock B
Clock A
Clock B
I0.2
I1.0
I1.1
I1.4
I1.5
I0.5
Reset
Reset
Start
Reset
Reset
Start
Reset
Reset
Start
Reset
Reset
Start

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents