Herunterladen Inhalt Inhalt Diese Seite drucken
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

14.6 OPERATION IN STL

Utilizing the three counters and the reference or interrupt input can also be done in STL. The settings
are made in the END routine.
If the settings must be used immediately, operating system routines can be called. This is done with a
pointer in the operating system. The pointer refers to the address of the routine.
Actual values and preset values of the counter sit at operating system addresses. The counter initializa-
tion is done with three registers (control register, mode register and initialization register).
14.6.1 Counter Operating System Addresses
Actual value
Addresses
$2100 - $2103
$2104 - $2107
$2108 - $210B
$210C - $210F
$2123 - $2124
Preset values
Addresses
$2110 - $2113
$2114 - $2117
$2118 - $211B
$211C - $211F
1)
If counter 0 is used as a hardware counter, the preset value is between 3 and 65535 (2 byte counter).
Actual value
Counter 0
Counter 1
Counter 2
2 channel counter (Encoder)
Hardware counter 0
Preset values
Counter 0
Counter 1
Counter 2
2 channel counter (Encoder)
B&R COMPACT PLC
Range
0 - 4 294 967 295
0 - 4 294 967 295
0 - 4 294 967 295
0 - 4 294 967 295
0 - 65535
Range
0 - 4 294 967 295
1)
0 - 4 294 967 295
0 - 4 294 967 295
0 - 4 294 967 295
- 183 -

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Brcomp2-0

Inhaltsverzeichnis