DIGITAL INPUT/OUTPUT CARD

IOD-144

USER MANUAL

PROGRAMMING EXAMPLE

The following programming example is provided as a guide to assist you in developing your working software. In this example, the card base address is 2D0 hex and I/O lines of Port 0 are to be setup as follows:

port A

= Input

port B

=Output

port C hi

= Input

port C lo

=Output

Configure bits of the Control Register as:

D7

D6

D5

D4

D3

D2

D1

D0

1

0

0

1

1

0

0

0

____ Port C Lo = output

I

 

_________ Port B = output

I

I

 

 

______________ Mode 0

 

 

 

___________________ Port C Hi = input

 

 

 

 

________________________ Port A = input

 

 

 

 

 

_____________________________ Mode 0

 

 

 

 

 

 

__________________________________ Mode 0

 

 

 

 

 

 

 

_______________________________________ Active Mode Set

This corresponds to 98 hex. If the card base address is 2D0 hex, use the BASIC OUT command to write to the control register as follows:

10 BASEADDR=&H2D0

20 OUT BASEADDR+3,&H98

To read the inputs at Port A and the upper nybble of Port C, use the BASIC INPUT command:

30

X=INP(BASEADDR)

'Read Port A

40

Y=INP(BASEADDR+2)/16

'Read Port C Hi

To set outputs high ("1") at Port B and the lower nybble of Port C:

6-4

Page 17
Image 17
Access IOD-144 user manual Programming Example, BASEADDR=&H2D0 OUT BASEADDR+3,&H98, =Inpbaseaddr, =INPBASEADDR+2/16

IOD-144 specifications

Access IOD-144 is a cutting-edge device that has garnered significant attention within the field of connectivity solutions. Designed primarily for industrial applications, the IOD-144 is an Internet of Things (IoT) gateway that facilitates seamless communication between devices and applications in a robust and reliable manner. This device is particularly suited for environments that require real-time data processing and monitoring, making it an ideal choice for sectors like manufacturing, transportation, and smart cities.

One of the standout features of the Access IOD-144 is its versatility in supporting multiple connectivity options. It is equipped to handle various protocols, including Ethernet, Wi-Fi, Bluetooth, and cellular networks. This broad support ensures that users can choose the most suitable connectivity method based on their specific requirements and existing infrastructure. The device's ability to adapt to different network environments enhances its utility in diverse operational settings.

In terms of processing power, the IOD-144 prides itself on having a powerful microprocessor, allowing it to perform complex computations and data processing locally. This edge computing capability reduces latency by enabling real-time data analysis and decision-making without the need to constantly communicate with a cloud service. As a result, businesses benefit from faster response times and reduced bandwidth costs.

Moreover, the Access IOD-144 is designed with scalability in mind. It can support an extensive array of sensors and actuators, making it an ideal solution for organizations looking to expand their IoT ecosystems over time. The device can easily integrate with various third-party applications and platforms, ensuring compatibility and allowing for future growth.

Security is another key focus of the IOD-144. With built-in encryption protocols and secure authentication methods, the device helps to safeguard data transmitted across networks. This emphasis on security is crucial, particularly in industrial settings where data breaches can have severe consequences.

Additional features of the Access IOD-144 include user-friendly management software that simplifies deployment, monitoring, and maintenance of connected devices. The device also supports over-the-air firmware updates, ensuring that users can keep their systems up-to-date with the latest features and security enhancements.

In summary, the Access IOD-144 stands out due to its multifaceted connectivity options, powerful processing capabilities, scalability, robust security measures, and user-friendly management tools. These characteristics make it a leading choice for businesses looking to enhance their IoT capabilities while ensuring reliable performance in challenging environments.