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 #101 background imageLoading...
Page #101 background image
Applications
A-6
High Speed Counter Encoder Module User Manual
A.3 Cascade Counting Applications
The
32-bit cascade counting mode cascades the output of one channel’
s
16-bit counter (3 or 6), in Divide-by-N mode, into the clock input of the other
16-bit counter (2 or 5) of the same channel.
When both channel counters, 2
and
3 or 5
and
6, are configured in Up
Counting, Divide-by-N mode, the module assumes 32-bit cascaded counting
has been configured and converts the count value by adding 1. This
configuration sets the 32-bit data word order as MSW
ord, followed by the
LSW
ord to be read by the PLC.
Counter Configuration:
Channel Count Format:
Up Counting.
Count Range:
Unsigned Integer
, 0 to 65535.
Counter Preset V
alue: 0.
Counter Mode:
Divide-by-N.
Internal Gate (Channel 1):
Reset Flags, WY19.03 and .04
Internal Gate (Channel 2):
Reset Flags, WY19.07 and .08
External Gate:
Not allowed for proper operation.
Initial Output:
Off.
The counter counts in recycle mode. When the count value rolls over from
65535 to 0, the rollover signal clocks the input of the second 16-bit counter
.
The output of each 16-bit counter is the OR’d output [8, 7, 4, or 3] and the
corresponding Force Output On bit (WY19.09, .10, .13, or .14). If the
corresponding Force Output On bit is 1, the output is forced On and
overrides the counter output.
The first valid clock sets the 32-bit count value to 0:1. The counter
increments the LSW
ord until the count value reaches 65535. The output
turns On and remains On for one clock period, incrementing the second
16-bit counter
. The first 16-bit counter is loaded with the preset value 0, and
counting continues. The count value is 1:0. The output of the first counter
pulses every 65536 clocks.
Setting the Reset Counter flag, WY19.03, .04, .07, or .08 for the
corresponding counter 2, 3, 5, or 6, pauses the 16-bit counters counter;
clearing the Reset Counter flag reloads the preset values. The maximum
count value is 65535:65535 (2
32
–1
or 4,294,967,295) which increments to
0:0.
32-Bit Cascade
Counting

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