Scaler 2 (Fout) Enable: Mm1; Scaler 1 Counting Mode: Mm1; Bits Mm1 4 And Mm1 - Siemens 6ES5-424 Technical Reference Manual

Counter module
Table of Contents

Advertisement

Chapter 3
Register Details And Use
3.3.5 Scaler 2 (FOUT) Enable: MM12
This bit of the MM register is used to enable and disable the
output of scaler 2 (FOUT). The default value of 0 will enable
the FOUT signal.
MM12
Description
0
FOUT enabled
1
FOUT disabled
3.3.6 Scaler 1 Counting Mode: MM1 5
I
This bit is used to set the counting mode of Scaler 1. The
default value of 0 will place the output of Scaler 1 in the
binary counting mode.
I
MM1 5
Description
0
Scaler 1 in binary counting mode
1
Scaler 1 in BCD counting mode
Scaler 1 Outputs
-
Input Frequency: 2MHz
Output
BCD Mode
.
Binary Mode
F1
:l
2000kHz
: l
2000kHz
F2
: l 0
2OOkHz
: l 6
125kHz
F3
:l00
20kHz
:256
7.81 2kHz
F4
:l 000
2 kHz
:4096
488.3Hz
F5
:l 0000
200Hz
:65536
30.5Hz
3.3.7 Bits MM14 and MM 13
Bits MM 14 and MM1 3 of the MM register are not available to
the user on the 6ES5 242 module. These bits are used by
the 8085 firmware. The condition of these bits is irrelevant.
3.4 CM -Counter Mode Register (AM 9513)
There are,five CM registers on the AM 9513, one for each
counter. The CM register is used to assign the operation
parameters for the counters.
The CM register is a 16-bit register that is divided into nine
sections. These nine sections are used to select the operating
mode of the counter. The bit assignments of the CM register
and their meanings are listed below.
CM-Low Order Byte
Subaddres xxx9, Write
Bit
7
6
5
4
3
2
1
0
Reloading Selection
CM-High Order
Subaddress xxx8, Write
Bit
15
14
13
12
11
10
9
8
Pulse Source
Selection
Pulse Edge Selection
I
Gate Control
3.4.1 Output Selection: CM2
-
CM0
Bits CM2
-
CM0 of the CM registers allow selection of several
different counter output modes. The output of each counter
is connected to the' AM 9519 interrupt controller and also to
the respective front connector of the module.
CM2
CM1
CM0
0
0
0
0
0
1
0
1
0
0
1
l
l
0
0
1
0
1
1
1
0
1
1
1
TC
=
Terminal Count
Description
lllegal
Active high, TC Pulse mode
TC Toggled mode, start low
TC Toggled mode, start high
lllegal
Active low, TC Pulse mode
lllegal
Illegal
DEFINITIONS:
Terminal Count: The point in time where the counter value
reaches a value of zero. This is the point where the counter
output will change state. The following is a listing of the
conditions that will cause TC to occur on the next count.
Counter Value
Direction
Counting Mode
0001
down
BCD or,binary
9999
U P
BCD
FFFF
U P
binary
When using the counter outputs of the AM 9513 you must
remember that all outputs switch on TC, which means that
all counting operations depending on a switched output must
either count down to TC, or count up to TC, to achieve the
expected output.
TC Pulse mode: This mode will produce an output when the
count value equals zero. The output will become active on the
leading edge of TC. The width of the output pulse depends on
the time the counter isat azerovalue. Active high and active low
simply mean the state of the pulse during the time the counter
is at zero value.
TC Toggle mode: This mode will produce an output level
instead of a pulse. This level will toggle between the high and
the low states on the trailing edge of TC.
1
Special Function enable

Advertisement

Table of Contents
loading

Table of Contents