Examples and register assignments
4.3 Registers
SIMATIC PCIe DIO4
20
Compact Operating Instructions, 11/2011, A5E03493449-01
4.3
Registers
The following abbreviations are used in the description of the registers:
●
RO = Read Only. Read-only access.
●
RW = Read, Write. Read and write access
●
RWC = Read, Write/Clear. Read access. A write process deletes the corresponding bit.
Block
Address Size
(bit)
Access Register
Description
General
BASE +
0x0000
32
RO
VER
Version: ID/Version/Capabilities
BASE +
0x0004
32
RW
GCR
General Control Register: Global Enable,
Global Interrupt Enable, ...
BASE +
0x0008
32
RWC GSR
General Status Register: INUSE flag, Global
Interrupt flag, ...
Input
BASE +
0x0100
32
RO
INP
Inputs 0-31 current value of the input signal
(after the input filter)
BASE +
0x0110
32
RWC INPIF
Inputs 0-31 Interrupt flags, Input Interrupt
flags
BASE +
0x0120
32
RWC INPIFR
Inputs 0-31 Interrupt flags (rising edge)
BASE +
0x0130
32
RWC INPIFF
Inputs 0-31 Interrupt flags (falling edge)
BASE +
0x0200
64
RW
INP0C
Configuration of input 0: Filter, inversion,
interrupt, ..
BASE +
0x0208
64
RW
INP1C
Configuration of input 1: Filter, inversion,
interrupt, ..
BASE +
0x0210
64
RW
INP2C
Configuration of input 2: Filter, inversion,
interrupt, ..
BASE +
0x0218
64
RW
INP3C
Configuration of input 3: Filter, inversion,
interrupt, ..
...
64
RW
INPnC
Configuration of input n: Filter, inversion,
interrupt, ..
BASE +
0x02F8
64
RW
INP31C
Configuration of input 31: Filter, inversion,
interrupt, ..
Output
BASE +
0x0400
32
RW
OUTP
Output 0-31 values
BASE +
0x0410
32
RWC OUTPIF
Outputs 0-31 Interrupt flags
BASE +
0x0420
32
RWC OUTPIFR
Outputs 0-31 Interrupt flags (rising edge)
BASE +
0x0430
32
RWC OUTPIFF
Outputs 0-31 Interrupt flags (falling edge)
BASE +
0x0500
64
RW
OUTP0C
Configuration of output 0: Inversion, source,
...
BASE +
0x0508
64
RW
OUTP1C
Configuration of output 1: Inversion, source,
...
Содержание 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 ...