EasyManuals Logo

Siemens SIMATIC TI505 User Manual

Siemens SIMATIC TI505
127 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #38 background imageLoading...
Page #38 background image
Product Overview
1-22
High Speed Counter Encoder Module User Manual
Counting with 16-Bit Counters (continued)
The
square-wave generator generates an active output for one-half of the
preset number of clocks. The length of the down count cycle is the preset
number of clocks.
For an even preset count, the preset is loaded, the output is Off, and the
counter starts decrementing by two after the first clock pulse. The output
turns On when the count value is zero. The counter automatically reloads
the preset value into the counter and starts decrementing by two again.
The output turns Off when the count value is zero again. The counter
automatically reloads the preset value into the counter and starts
decrementing by two.
This cycle repeats until an Off Gate control signal pauses the counting. The
output is On and Off for (preset value/2) clocks.
This cycle repeats until an high gate control signal pauses the counting. A
gate can be an external input or the PLC can set the Reset Counter flags,
WY19.03, .04, .07, or .08 corresponding to counter 2, 3, 5, or 6. When the
gate is On, the counting pauses and the outputs turn Off. When the gate is
released (turns Off) or the Reset Counter flag is cleared, the counter is
loaded with the preset value, and counting resumes on the next valid clock.
The square-wave generator waveform, Figure 1-16, shows that for an even
initial preset value of four
, the output is Off and remains Off until the
counter decrements to one-half the initial value. When the counter counts
the preset value down (two clocks On and two clocks Off), the output goes
On for the other half of the initial count. The gate input Off enables the
counter; On inhibits the counter
.
Pulse
Input
Starts Of
f
Gate, Reset, or
Programming
Output
Starts On
20 4 2 4 2 4 2 4 4 420 4 2 4 2 4
20 4 2 4 2 4 2 4 4 419 4 2 4 2 4
Figure 1-16 Square-Wave
Generator (Even Pr
eset V
alue)
Square-Wave
Generator Even
Pr
eset V
alue

Table of Contents

Other manuals for Siemens SIMATIC TI505

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC TI505 and is the answer not in the manual?

Siemens SIMATIC TI505 Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC TI505
CategoryControl Unit
LanguageEnglish

Related product manuals