Access IOD-144 user manual TURBO-C Program

Page 22

DIGITAL INPUT/OUTPUT CARD

IOD-144

USER MANUAL

{to wait to be re-armed}

end.

TURBO-C PROGRAM

#define BASEADDR 0x300

/*declare base address for IOD card*/

#define ON

1

/*create useful constant*/

#define OFF

0

/* " "

" */

#include "stdio.h"

 

 

#include "conio.h"

 

 

#include "time.h"

 

 

#include "dos.h"

 

 

int sensors_at_arm[15];

 

 

int sensors_now[15];

/*bit-by-bit status of sensors at current time. When*/

 

 

/*compared against status of sensors at arm, indicates

 

 

*/

 

 

 

/*break-in if there is a change.*/

int arming_stations;

/*variables representing all four arming stations. If the*/

int_old_arming_stations;

/*value changes, toggle alarm ON/OFF*/

char key;

 

/*useful temporary variable*/

int i;

 

/*useful temporary variable used in loops*/

int j;

 

/*useful temporary variable*/

initialize(){

outportb(BASEADDR+3,0x93); /*outportb(addr,byte) is C's method of */ /*accessing port memory. This procedure sets*/ /*cPort A, B, and C LO as inputs and Port C Hi as*/ /*outputs. Address hex 303 is the control register */ /*The bit pattern needed to set the desired mode */ /*and port designation is 10010011, 93 hex */

} /*procedure initialize*/

read_sensors(int *ary){ unsigned char tempA; unsigned char tempB;

tempA = inportb(BASEADDR); tempB = inportb(BASEADDR+1);

for(i-0;i<8;i++){

 

if((tempA>> i) & ON){

/*this determines if bit #i is on and sets the

corresponding*/

 

*ary++=ON;}

/*array element to ON if it is. If not, sets the array */

else{

/*to OFF*/

*ary++=OFF;

 

}

 

for(i=0;i<8;i++){

 

6-9

Image 22
Contents Digital INPUT/OUTPUT Card Model IOD-144 Digital INPUT/OUTPUT Card Table of Contents Installing the Card Functional Description FeaturesApplications IOD-144 Block Diagram Option Selection Option Selection MAP Address Selection Standard Address Assignments for PC XT ComputersOFF SETUP.EXE SoftwareWindows Utility Drivers InPortbDigital INPUT/OUTPUT Card Developing Your OWN Software ProgrammingPort Address Selection Table Digital INPUT/OUTPUT Card Digital INPUT/OUTPUT Card =INPBASEADDR Programming ExampleBASEADDR=&H2D0 OUT BASEADDR+3,&H98 =INPBASEADDR+2/16Sample Programs Digital INPUT/OUTPUT Card Digital INPUT/OUTPUT Card Alarm TURBO-C Program Alarm Digital INPUT/OUTPUT Card =-1 Flag used to signal alarm is Standard for accessing the IRQ line as follows Sharing Interrupts on the ISA BUSConnector PIN Assignments Specifications FeaturesWarranty Appendix aPPI Data Sheets

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.