Transferringthecountingvalue Tothelnterruptregister(Tcar) - Siemens SIMATIC S5 IP 281 Equipment Manual

Hide thumbs Also See for SIMATIC S5 IP 281:
Table of Contents

Advertisement

Transferring the Counting Value to the Interrupt Register (TCAR)
6.4.2
Method of
The counting value of counter 1 is entered in the interrupt register of
operation
counter 2 when internal gate 1 closes (+ section 6.6).
Gate control
The gate functions available are specified by setting the autonomous oper-
ating mode (+ section 6.3) for the individual counters.
Load counter
All load capabilities described in section 6.5.1 and allowed by the autono-
mous operating
Read counter
All read capabilities are permitted (+ section 6.5.3).
Digital output
All methods of operation are permitted (+ section 6.7).
Interrupt
All interrupt settings are permitted (+ section 4.4).
Special
Both counters must operate in the same counting mode. The IOM bit is set
notes
in status register
When operating mode TCAR is used, interrupt register 2 (counter 2)
be written by the S5.
The interrupt value transferred to counter 2 can be determined by reading
counter value register 1 after the internal gate of counter 1 has closed (bit O
in status register 1 =
Parameter
Operating mode TCAR is set in parameter register 2.
register
Parameter register 2
15
6 – 18
the interrupt value to be transferred.
mode (+ section 6.3) are permitted.
3 and the ERROR LED goes on when two different count-
. . .
modes are Selected.
O).
14
13
12
11
10
9
8
0
7
6
5
4
3
2
1
1
R 11/92
cannot
0

Advertisement

Table of Contents
loading

Table of Contents