Siemens Simatic S7-200 System Manual page 125

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

Advertisement

Defining Counter Modes and Inputs
Use the High-Speed Counter Definition instruction to define the counter modes and inputs.
Table 6-25 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 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-25
Inputs for the High-Speed Counters
Mode
Description
0
Single-phase counter with internal
direction control
1
2
3
Single-phase counter with external
direction control
4
5
Two-phase counter with 2 clock inputs
6
7
8
9
A/B phase quadrature counter
10
11
Inputs
HSC0
I0.0
HSC1
I0.6
HSC2
I1.2
HSC3
I0.1
HSC4
I0.3
HSC5
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
S7-200 Instruction Set
I0.1
I0.2
I0.7
I0.2
I1.3
I1.1
I0.4
I0.5
Reset
Reset
Start
Reset
Reset
Start
Reset
Reset
Start
Reset
Reset
Start
Chapter 6
I1.1
6
I1.2
113

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents