Omega Engineering OMG-PCI-DIO48 manual Bit Set or Reset Port C

Page 23

Technical Description

Bit Set or Reset Port C

n = port number

CWnD0

 

 

 

 

 

 

1 = set to +5V

 

 

0 = Reset to GND

CWnD4

 

 

 

 

 

 

 

 

 

 

 

0 or 1 (no effect)

 

 

 

CWnD5

 

 

 

 

 

 

 

 

 

 

 

0 or 1 (no effect)

 

 

 

CWnD6

 

 

 

 

 

 

 

 

 

 

 

0 or 1 (no effect)

 

 

 

CWnD7

 

 

 

 

 

 

Always a zero when using Bit set/reset

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit Select

 

 

 

 

 

 

 

 

 

 

CWnD3

 

 

CWnD2

 

 

CWnD1

 

 

C1 Bit

 

 

 

 

 

 

0

 

 

 

0

 

 

 

 

0

 

 

= 0

 

 

 

 

 

 

 

0

 

 

 

0

 

 

 

 

1

 

 

= 1

 

 

 

 

 

 

 

0

 

 

 

1

 

 

 

 

0

 

 

= 2

 

 

 

 

 

 

 

0

 

 

 

1

 

 

 

 

1

 

 

= 3

 

 

 

 

 

 

 

1

 

 

 

0

 

 

 

 

0

 

 

= 4

 

 

 

 

 

 

 

1

 

 

 

0

 

 

 

 

1

 

 

= 5

 

 

 

 

 

 

 

1

 

 

 

1

 

 

 

 

0

 

 

= 6

 

 

 

 

 

 

 

1

 

 

 

1

 

 

 

 

1

 

 

= 7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Control Word (X = 0)

 

Hex Value

 

Port C

 

 

7

 

6

5

4

 

 

3

2

 

1

0

 

 

 

 

Bit

 

 

 

 

 

 

 

 

 

 

 

 

Reset

 

 

 

 

 

 

 

 

 

0

 

X

X

X

 

0

0

 

0

0

00

 

0

 

 

0

 

X

X

X

 

0

0

 

1

0

02

 

1

 

 

0

 

X

X

X

 

0

1

 

0

0

04

 

2

 

 

0

 

X

X

X

 

0

1

 

1

0

06

 

3

 

 

0

 

X

X

X

 

1

0

 

0

0

08

 

4

 

 

0

 

X

X

X

 

1

0

 

1

0

 

 

0A

 

5

 

 

0

 

X

X

X

 

1

1

 

0

0

 

 

0C

 

6

 

 

0

 

X

X

X

 

1

1

 

1

0

 

 

0E

 

7

 

 

 

 

 

 

 

 

 

 

 

 

Set

 

 

 

 

 

 

 

 

 

0

 

X

X

X

 

0

0

 

0

1

01

 

0

 

 

0

 

X

X

X

 

0

0

 

1

1

03

 

1

 

 

0

 

X

X

X

 

0

1

 

0

1

05

 

2

 

 

0

 

X

X

X

 

0

1

 

1

1

07

 

3

 

 

0

 

X

X

X

 

1

0

 

0

1

09

 

4

 

 

0

 

X

X

X

 

1

0

 

1

1

 

 

0B

 

5

 

 

0

 

X

X

X

 

1

1

 

0

1

 

 

0D

 

6

 

OMG-PCI-DIO48

Page 19

Image 23
Contents User’sGuide Czech Republic CanadaMexico BeneluxContents Figures Introduction InstallationSystem Installation Software Technical Description3rd Party Software Support Electrical Characteristics Electrical CharacteristicsPull Up Resistors Pull Ups50 Pin Ribbon Cable Pin Out Pin Ribbon Pin OutInterrupts Presetting an Output PortPort C absolute addressing when port C is split Application Programmers Interface APIRelative Addressing vs. Absolute Addressing Port C relative addressing when port C is splitPort Configuration OMG-PCI-DIO48 Port API Port # Absolute Address Function Port Absolute AddressRelative Byte Address Reading the Outputs Bit Set/ResetDirect Hardware Control Reading the InputsInterrupts can be set up as shown in the tables on the next IRQST2 IRQST1 Register Description for direct hardware controlOMG-PCI-DIO48 Control Words Bit Set or Reset Port C OMG-PCI-DIO48 Interrupt mode select table Physical Dimensions SpecificationsEnvironmental Specifications Power ConsumptionAppendix a Troubleshooting Appendix B How To Get Assistance Appendix C Silk-Screen Appendix D Compliance Notices WARRANTY/DISCLAIMER Temperature