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 #64 background imageLoading...
Page #64 background image
Understanding Module Operation
3-12
High Speed Counter Encoder Module User Manual
3.6 Setting Preset Values and Programming Options for Channel 1
The
lower byte of WY21 and all of WY22 contain the Preset 1 24-bit integer
value. Use the upper byte of WY21 to configure programming values.
Together
, the preset value and the programming values determine the count
method and how Output 1 functions when count and preset are equal, or
when the count value overflows or underflows. T
able 3-10 (shaded areas)
shows the word formats. T
able 3-1
1 lists the programming values of WY21.
T
able 3-10
Channel 1, 24-Bit Counter: Pr
eset 1 V
alue
Word MSByte LSByte
WY21 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
WY22 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
T
able 3-11
Channel 1, 24-Bit Counter: WY21 Pr
ogramming Bit V
alues
Bit Position Description
01 02 03 04 05 06 07 08 Mode
0 0 0
Direction counting (count: input A, direction: input B)
0 0 1
Direction counting (count: input A, direction: input B)
0 1 0
Up/Down counting (count up: input A, count down: input B)
0 1 1
Up/Down counting (count up: input A, count down: input B)
1 0 0 Quadrature 1X (input A pulses, input B pulses)
1 0 1 Quadrature 2X (input A pulses, input B pulses)
1 1 0
Quadrature 4X (input A pulses, input B pulses)
1 1 1
Quadrature 4X (input A pulses, input B pulses)
01 02 03 04 05 06 07 08 Counter Mode Setup
0 0 0 Binary counting, recycle mode
0 0 1 Binary counting, non-recycle mode*
0 1 0 Divide-by-N counting, recycle mode
0 1 1 Divide-by-N counting, non-recycle mode*
01 02 03 04 05 06 07 08 Internal Sample Interval
1 0 0 1 millisecond sample, (binary, recycle mode)
1 0 1 10 millisecond sample, (binary, recycle mode)
1 1 0 100 millisecond sample, (binary, recycle mode)
1 1 1 1 second sample, (binary, recycle mode)
0 Index or Period pulse latches counter value
1 Index or Period pulse loads counter with preset 1 value
0 Output Compare, Latch, Compare Toggle, (select jumper to match)
1 Output Rollover, (select jumper to match)
*In this mode, the output is configured as borrow toggle and carry toggle. These outputs are the cycle completion indicator.
Channel
1,
24-Bit Counter 1,
Pr
eset 1

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