background image

Installation

6

AXP-AI8 Eight-Channel Analog Interface Board

Programming

This section covers programming information and examples for the AXP-AI8 Analog Interface 

Board.

Levels

Send_Commands

Inputs are controlled as Channels 1 through 8. 

Sample Application

This is an example of Axcess programming that is required before using an AXP-AI8. 

Example 1:

PROGRAM_NAME='AI8_EX rev 1'

(* DATE:06/18/02 TIME:17:32:26 *)

(* Date: 12/18/2001 Time: 11:50:50 AM AXedit user: JSHMOE *)

(*{{PS_SOURCE_INFO(PROGRAM STATS) *)

(** FIRST, the program under studio can be written many ways               **)

(** but we have to stay within the boundaries of the compiler and          **)

(** use of KEYWORDS. This file was created for an AXCESS system            **)

(** master and when compiling in AXCESSX, the word BUTTON is NOT a KEYWORD **)

(***********************************************************)

(* FILE CREATED ON: 06/09/2000 AT: 13:56:05 *)

(***********************************************************)

(* FILE_LAST_MODIFIED_ON: 04/25/2001 AT: 16:59:10 *)

(***********************************************************)

Levels

Level Function

1

Voltage output channel 1 and joystick/slider control (0 - 255).

5

Voltage input channel 1 (0 - 255).

2

Voltage output channel 2 and joystick/slider control (0 - 255).

6

Voltage input channel 2 (0 - 255).

Send_Commands

SEND COMMAND AI8,"'DELTA5'"

Puts channel 5 in delta mode.

SEND COMMAND AI8,"'DELTA6'"

Puts channel 6 in delta mode.

SEND COMMAND AI8,"'DELTA7'"

Puts channel 7 in delta mode.

SEND COMMAND AI8,"'DELTA5 ON'"

Puts channel 5 in delta mode.

SEND COMMAND AI8,"'DELTA6 ON'"

Puts channel 6 in delta mode.

SEND COMMAND AI8,"'DELTA7 ON'"

Puts channel 7 in delta mode.

SEND COMMAND AI8,"'DELTA5 OFF'"

Takes channel 5 out of delta mode.

SEND COMMAND AI8,"'DELTA6 OFF'"

Takes channel 6 out of delta mode.

SEND COMMAND AI8,"'DELTA7 OFF'"

Takes channel 7 out of delta mode.

Delta mode should be used with continuous rotation potentiometers. It effectively 
filters out the dead zones and provides for smooth, uninterrupted readings.

Continued

Summary of Contents for AXP-AI8 ANALOG 8-INPUT BOARD

Page 1: ...instruction manual Custom Panel Interfaces AXP AI8 Eight Channel Analog Input Interface Board...

Page 2: ...liability applies whether damages are sought or a claim is made under this warranty or as a tort claim including negligence and strict product liability a contract claim or any other claim This limita...

Page 3: ...s 1 Dimensions and Descriptions 2 Installation 3 Configuring Switches 3 Setting the Device DIP Switch 3 Setting the input SIP switch 3 Setting the joystick range POTs 3 Wiring 4 20 Pin Header 4 AXlink...

Page 4: ...ii AXP AI8 Eight Channel Analog Interface Board Table of Contents...

Page 5: ...wer or the controller is not functioning properly One blink per second Normal operation Device numbers match the programmed device numbers in the Axcess program Cables 3 feet 91 4 cm of ribbon cable w...

Page 6: ...Inch mm Item Description A 0 20 5 10 G 20 Pin Header 025 inch 6 mm square pins 1 inch 2 4 mm typical spacing B 3 50 88 90 H 125 inch 3 2 mm mounting holes for 4 40 3 mm screws C 3 10 78 70 D 2 75 69 9...

Page 7: ...ed inputs For example switch position 1 corresponds to input 1 In the illustration above switches 1 and 8 are ON designating that input 1 and 8 are disabled The default setting is all switch positions...

Page 8: ...screws clockwise to secure the fit Do not over torque the screw doing so can bend the seating pin and damage the connector FIG 5 shows the wiring configuration for AXlink cables Be sure that the boar...

Page 9: ...control system Master port 2 Select Diagnostics and Watch Variable enter the name of the variable for Input 1 Note the value of the variable when the joystick is in the center position Note the value...

Page 10: ...T 13 56 05 FILE_LAST_MODIFIED_ON 04 25 2001 AT 16 59 10 Levels Level Function 1 Voltage output channel 1 and joystick slider control 0 255 5 Voltage input channel 1 0 255 2 Voltage output channel 2 an...

Page 11: ...hese array elements below Or setup the variables without an array IN1 2 VARIABLES IN WHICH TO STORE IN2 2 ANALOG INPUT VALUES LEVELS IN3 2 IN4 2 IN5 2 IN6 2 IN7 2 IN8 2 IN1 VARIABLES IN WHICH TO STORE...

Page 12: ...CREATE_LEVEL AI8 4 IN4 1 ANALOG VALUE LEVEL CREATE_LEVEL AI8 5 IN5 1 CREATE_LEVEL AI8 6 IN6 1 CREATE_LEVEL AI8 7 IN7 1 CREATE_LEVEL AI8 8 IN8 1 THE ACTUAL PROGRAM GOES BELOW DEFINE_PROGRAM IF IN1 1 5...

Page 13: ...___________________ Date _____________________________________________ PO __________________________________________ SO _____________________________________________ Serial ___________________________...

Page 14: ...e richardson TX 75082 USA 469 624 8000 800 222 0193 fax 469 624 7153 technical support 800 932 6993 038 004 1034 12 03 2003 AMX Corporation All rights reserved AMX the AMX logo the building icon the h...

Reviews: