Siemens SIMATIC TI505 Service Manual Page 94

  • Download
  • Add to my manuals
  • Print
  • Page
    / 127
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 93
Optional Configurations
5-20
High Speed Counter Encoder Module User Manual
5.10 Basic Programming Steps
To
program the High Speed Counter module and place it in Run Mode,
perform the procedure at the beginning of each paragraph heading.
Additional paragraphs provide descriptions of status bits and other actions
that occur as you program the module.
NOTE:
At power
-up, the module runs an internal software diagnostic. When
the diagnostic successfully completes, the red
MOD GOOD
LED is turned on.
T
o signal that the module has not been programmed, the green
RUN
LED
blinks fast, and bits WX18.03 (Error Flag) and WX18.07 (Outputs Disabled)
are set.
Y
ou can write the counter preset values to the module in two ways:
Forcing the output word values.
W
riting constants or memory locations in RLL.
Because forcing output word values must be done after every power cycle,
use of RLL programming automates this task, and also updates all of the
I/O words during the same I/O scan.
If you choose to force all of the preset words, do it
before
setting WY20.01
(Program Mode).
In your RLL program, write the preset values to the words that correspond
to the counters you are setting up. A preset value of all zeros is valid. As
described in Chapter 3, preset values for each counter are stored in the WY
words listed in T
able 5-12.
T
able 5-12
Wor
d Outputs for Pr
eset V
alues
Word Description Counter
WY21
WY22
WY23
WY24
PRESET 1, high word
PRESET 1, low word
PRESET 2, high word
PRESET 2, low word
Counter 1
WY25
WY26
PRESET 3, word
PRESET 4, word
Counter 2
Counter 3
WY27
WY28
WY29
WY30
PRESET 5, high word
PRESET 5, low word
PRESET 6, high word
PRESET 6, low word
Counter 4
WY31
WY32
PRESET 7, word
PRESET 8, word
Counter 5
Counter 6
Writing
the Pr
esets
to the Counters
Page view 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 126 127

Comments to this Manuals

No comments