Quick Start Up Reference Guide
20
Depending on the Output Control Mode, Counter Range or Comparison Data can
be set. Like this, for every Counter, up to a maximum of 32 Ranges or Comparison
Values can be assigned. You can set the Range or Comparison Data in a part of
DM or EM which is not being used. If you only intend to use a limited number of
Ranges or Comparison Values then it is also possible to use the work-words of the
Special I/O Unit DM-Area to store the Range or Comparison Data (287 work-
words for the CT021 are available). Therefore, at the end of every block with Coun-
ter Specific Settings, you can specify an Indirect Address. This Indirect Address
points to the actual memory location where the Range- or Comparison Settings of
that specific Counter are stored.
For a detailed description about the CIO- and DM-Memory Allocation refer to 4-2
"Memory Allocation".
Note
During operation of the Unit, for Circular and Linear Counters run-time configura-
tion is possible by using the IOWR-instruction from the PLC Ladder Program (refer
to 4-5 "Supported IOWR/IORD-Instructions"). Additionally, the Digital Inputs and
Outputs can be configured to generate interrupts to the PLC by setting the appro-
priate Interrupt Masks in DM. (refer to 4-6 "Interrupts")
Section 1-4