RELAY OUTPUT CARD PCI

4.4 Programming Examples

Below are several simple examples using 80x86 assembly code for energizing and checking the state of the reed relays on the Relay Output Card PCI. All examples assume a base address of 300 Hex.

Example #1: Programming example to set Relay #27 on, write a “1” in bit position D2, to port address Base+3, or 303 Hex.

MOV DX, 303H

;Set DX to

Port D

MOV AL,

00001000B

;Set bit 3

to a ‘1’

OUT DX,

AL

 

 

Example #2: Another method that takes into account the read-back capability of the output ports.

MOV DX, 303H

;Set DX to Port D

IN AL, DX

;Get old port setting

NOT AL

;Invert bits - see note below

OR AL, 00001000B

;OR in bit 3

OUT DX, AL

;Set Bit 3

NOTE

Reading back the ports results in the binary complement of the output.

4.5 Register Description

Table 4-1. Registers.

Address

Mode

D7

D6

D5

D4

D3

D2

D1

D0

 

 

 

 

 

 

 

 

 

 

Base+0

R/W

P1D7

P1D6

P1D5

P1D4

P1D3

P1D2

P1D1

P1D0

Base+1

R/W

P2D7

P2D6

P2D5

P2D4

P2D3

P2D2

P2D1

P2D0

Base+2

R/W

P3D7

P3D6

P3D5

P3D4

P3D3

P3D2

P3D1

P3D0

Base+3

R/W

P4D7

P4D6

P4D5

P4D4

P4D3

P4D2

P4D1

P4D0

 

 

 

 

 

 

 

 

 

 

R/W = Read/Write bits

NOTE

The reed relay ports have a non-destructive readback capability. Reading back the ports results in the binary complement of the output. This is particularly useful when writing software that queries the last value written to prevent in advertently changing the state of the relays.

10

Page 11
Image 11
Black Box IC907C manual Programming Examples, Register Description

IC907C specifications

The Black Box IC908C and IC907C are cutting-edge communication devices designed for high-performance networking solutions. These two models have become increasingly popular due to their advanced features and capabilities, making them suitable for a wide array of applications, from small business networks to large enterprise environments.

One prominent feature of both the IC908C and IC907C is their ability to support high-speed data transmission. They utilize Ethernet technology, ensuring seamless connectivity and optimal performance across various devices. This technology enables users to enjoy fast and reliable data transfers, which is crucial for maintaining productivity in today’s fast-paced business environment.

The IC908C model is designed to accommodate a broader range of applications, making it an ideal choice for organizations with diverse networking needs. It supports IEEE 802.3 standards, enabling compatibility with a wide array of networking hardware. Additionally, the IC908C supports various cabling standards, including twisted pair and fiber optics, ensuring versatility in installation and configuration.

On the other hand, the IC907C is optimized for higher-density applications, making it perfect for data centers and large networks. It features advanced load balancing and traffic management capabilities, ensuring efficient data flow and reducing latency issues. This model is engineered with robust security features, including VLAN tagging and port security, to protect sensitive information from potential threats.

Both models are equipped with user-friendly interfaces, making them accessible for IT professionals of all levels. The intuitive management applications allow for straightforward configuration and monitoring, enabling administrators to easily manage network settings and performance metrics.

The energy-efficient design of the IC908C and IC907C is another noteworthy characteristic. Incorporating innovative power-saving technologies, these devices minimize energy consumption without sacrificing performance. This feature is particularly beneficial for organizations seeking to reduce their environmental impact and lower operating costs.

In conclusion, the Black Box IC908C and IC907C represent significant advancements in networking technology. With their high-speed capabilities, robust security features, and energy-efficient designs, these devices cater to a variety of networking requirements. Whether it's supporting small teams or managing large enterprise networks, these models offer flexibility and reliability, ensuring seamless connectivity and communication for all users.