AMX AXP-AI8 Programming, Levels, SendCommands, Sample Application, Example, Installation

Models: AXP-AI8

1 14
Download 14 pages 53.61 Kb
Page 10
Image 10
Programming

Installation

Programming

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

Board.

Levels

Levels

Level Function

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

5Voltage input channel 1 (0 - 255).

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

6Voltage input channel 2 (0 - 255).

Send_Commands

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.

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 Continued

 

6

AXP-AI8 Eight-Channel Analog Interface Board

 

 

 

Page 10
Image 10
AMX AXP-AI8 Programming, Levels, SendCommands, Sample Application, Example, SEND COMMAND AI8,DELTA5, Installation