Register Description - SeaLevel PLC-16.PCI User Manual

Hide thumbs Also See for PLC-16.PCI:
Table of Contents

Advertisement

Register Description

Address
Mode
Base+0
RD/WR
RD
Base+1
RD/WR
Base+2
RD
Base+3
RD
Base+4
RD/WR
Base+5
RD
Base+6
RD
Base+7
Note: When selecting the Interrupt Mode, always disable interrupts prior to changing or setting states. This will
help prevent inadvertent or un-expected interrupts from occurring. When using the high and low level interrupts, a
change in state of the input must occur before the interrupt can be cleared. The device providing the input to Base
+0, bit D0 must do this.
PAD0-7
= Port A (Base+0) Input port.
PCD0-7
= Port C (Base+2) Output port.
IRC0-1= Interrupt Mode select (Base+5)
IRQEN = enable interrupts (Base+5)
0 = disabled
1 = enabled (disabled after reset or power up).
IRQST = interrupt status (Base+5)
1 = interrupt pending (reading the bit clears interrupt).
Sealevel Systems PLC-16.PCI
D7
D6
D5
PAD7
PAD6
PAD5
{0}
{0}
{0}
PCD7
PCD6
PCD5
{0}
{0}
{0}
{0}
{0}
{0}
IRQEN
IRQST
{0}
{0}
{0}
{0}
{0}
{0}
{0}
IRC1
IRC0
0
0
0
1
1
0
1
1
D4
D3
D2
PAD4
PAD3
PAD2
{0}
{0}
{0}
PCD4
PCD3
PCD2
{0}
{0}
{0}
{0}
{0}
{0}
{0}
{0}
{0}
{0}
{0}
{0}
{0}
{0}
{0}
Interrupt Type
Low Level
High Level
Falling Edge
Rising Edge
Technical Description
D1
D0
PAD1
PAD0
{0}
{0}
PCD1
PCD0
{0}
{0}
{0}
{0}
IRC1
IRC0
{0}
{0}
{0}
{0}
Page 11

Advertisement

Table of Contents
loading

Table of Contents