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 #61 background imageLoading...
Page #61 background image
Understanding Module Operation
3-9
High Speed Counter Encoder Module User Manual
The
following paragraphs provide expanded definitions for setup words
WY19 and WY20 in Program mode.
At the start of Program Mode, all counters are inhibited and reset. When
programming is complete, WX18.02 is set and WY19.01 through WY19.08
function normally
.
In Program Mode, when you set any Interrupt Enable bit, the corresponding
output is programmed as an interrupt source. When that output changes
state during RUN mode, an interrupt request to the PLC is generated.
The Program Mode flag is set to start programming the counters. You must
set all other preset and programming words before this bit is set. While
WY20.01 is set, output drive and Interrupt functions are disabled. Bit
WX18.01 is cleared.
When the user power supply fault bit is set, and the user power supply fails
or drops below the minimum voltage for proper operation, the module fails.
Bits WX18.04 (power failure detected) and WX18.07 (outputs disabled) are
set; bits WX18.09 through WX18.16 are cleared, indicating all outputs are
off. The PLC records the module as failed. Restoring power removes the
fault. When WY20.2 is cleared and user power is lost, WX18.04 is set; bit
WX18.07 is cleared; bits WX18.09 through WX18.16 function normally; the
outputs remain operational, and a module failure is not reported
During the first module programming request after base power recovers,
the counter values are read and placed into the Holding Registers. As long
as the programming bit remains set, these values can be read by the PLC.
The data format bit selects the data format for Counters 1 and 4: double
16-bit (0) or 32-bit (1) signed integer format.
Select Counter 1 bit selects a bipolar count format for Counter 1. Clear this
bit to select a unipolar count format for Counter 1.
Select Counter 4 bit selects a bipolar count format for Counter 4. Clear this
bit to select a unipolar count format for Counter 4.
Set the up/down counting bit to select up-counting for Counters 2 and 3.
Clear the bit to select down-counting for Counters 2 and 3.
Set the up/down counting bit to select up-counting for Counters 5 and 6.
Clear the bit to select down-counting for Counters 5 and 6.
T
able 3-8 shows that each of the 16-bit counters is programmed by a pattern
of two bits: 0 0 for retriggerable one-shot operation, 0 1 for divide-by-N
counting, 1 0 for square wave counting, and 1 1 for triggered strobe.
Pr
ogram Mode
Definitions
Interrupt Enable
Bits: WY19.09
thr
ough WY19.16
Pr
ogram Mode
Flag Bit: WY20.01
User Power Supply
Fault Bit: WY20.02
Read V
alues at
Power
-Up Bit:
WY20.03
Data For
mat Bit:
WY20.04
Select Counter 1
For
mat Bit: WY20.05
Select Counter 4
For
mat Bit: WY20.06
Up/Down Counting
Bit: WY20.07
Up/Down Counting
Bit: WY20.08
16-Bit Counter
Mode Bits: WY20.09
thr
ough WY20.16

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