Examples and register assignments
4.3 Registers
SIMATIC PCIe DIO4
22
Compact Operating Instructions, 11/2011, A5E03493449-01
Block
Address Size
(bit)
Access Register
Description
BASE +
0x1160
56
RW
C1COMR
Counter 1 Compare Register
BASE +
0x1170
56
RW
C1RELR
Counter 1 Reload Register
BASE +
0x1178
56
RW
C1CAPR
Counter 1 Capture Register
Counter n The registers are repeated accordingly.
See description above.
Counter 7 BASE +
0x1778
56
RW
C7CAPR
Counter 7 Capture Register
Block
Address Size
(bit)
Access Register
Description
BASE +
0x4040
32
RO
PCIEIS
PCIe core Interrupt Status Register
BASE +
0x4050
32
RW
PCIEIE
PCIe core Interrupt Enable Register
General Register
VER: Version (BASE + 0x0000)
Bit
Access Name
Default Description
31
RO
0
Reserved
30..26 RO
NRCT
8
Number of counters/timers
25..21 RO
NROP
4
Number of output signals
20..16 RO
NRIP
4
Number of input signals
15..8
RO
REV
00
Revision
7..0
RO
VER
10
Version of the DIO interface (1.0)
GCR: General Control Register (BASE + 0x0004)
Bit
Access Name
Default Description
31..10 RO
0
Reserved
9
RW
GATERST 0
If "1", the external reset is disabled (gated) so that the
DIO continues its operation even if the system restarts.
8
RW
ENLOOP 0
Enables the loopback mode. If "1", all inputs are
internally connected with the output registers. The output
signals do not change their last value.
7
RW
EIEN
0
Error interrupt enabled. If "1" and GSR.EIF = 1, GSR.IF
is set.
6..5
RO
0
Reserved
4
RW
CIEN
0
Counter interrupt enabled. If "1" and GSR.CIF = 1,
GSR.IF is set.
3
RW
OIEN
0
Output interrupt enabled. If "1" and GSR.OIF = 1, GSR.IF
is set.
Содержание SIMATIC PCIe DIO4
Страница 2: ...SIMATIC IPC227D Compact Operating Instructions 11 2011 A5E03493449 01 ...
Страница 6: ...Inhaltsverzeichnis SIMATIC PCIe DIO4 4 Kompaktbetriebsanleitung 11 2011 A5E03493449 01 ...
Страница 36: ...Table of contents SIMATIC PCIe DIO4 4 Compact Operating Instructions 11 2011 A5E03493449 01 ...