Axcess program example – AMX DTMF+ Interface AXB-DTMF+ User Manual

Page 22

Advertising
background image

Programming

18

AXB-DTMF+ DTMF+ Interface

Axcess Program Example

To program the AXB-DTMF+, you will need a personal computer with the Axcess software

program, an Axcess Central controller, an AXlink power/data cable, as well as an CC-COM Axcess

programming cable. For the program example, complete the following steps:

1.

Create a new Axcess program. Then, add the following Axcess programming data from the

following example into the Define_Start section of the new Axcess program.

2.

Compile the Axcess program and download it to the central controller to program the AXB-

DTMF+.

PROGRAM_NAME='REDIAL'

(* DATE:04/15/96 TIME:15:04:04 *)

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

(* REDIAL.AXS *)

(* THIS PROGRAM IMPLEMENTS AN AUTOMATIC DIALER THAT DIALS *)

(* A NUMBER IN RESPONSE TO A BUTTON PUSH ON A KEYPAD. IF THE *)

(* NUMBER IS BUSY, THE USER IS NOTIFIED VIA A RS232 TERMINAL *)

(* ATTACHED TO THE SERIAL PORT ON THE MASTER, AND THE CARD *)

(* WILL RETRY 6 ADDITIONAL TIMES AT 5 SECOND INTERVALS. IF THE *)

(* DIALED NUMBER RINGS, THE USER WILL BE NOTIFIED VIA A RS232 *)

(* TERMINAL ATTACHED TO THE SERIAL PORT ON THE MASTER *)

(* *)

(* NOTE THAT TO DEMO THIS PROGRAM, A MASTER, A AXB-DTMF+, *)

(* A PC RUNNING AXCESS, AND A PHONE LINE ARE ALL THAT ARE *)

(* NECESSARY (IN ADDITION TO AN AXCESS CARDFRAME). *)

(* *)

(* MODIFY THIS PROGRAM WHERE THE COMMENT "(* INSERT DESIRED *)

(* NUMBER HERE IN PLACE OF 555-1212 *)" IS WRITTEN. REPLACE THE *)

(* NUMBER 555-1212 WITH THE NUMBER THAT IS DESIRED TO BE CALLED. *)

(* *)

(* AFTER THE PROGRAM HAS BEEN DOWNLOADED TO THE *)

(* MASTER CARD, HIGHLIGHT THE LINE "PUSH[128,1]" AND PRESS *)

(* CONTROL 'A ' ON THE PC KEYBOARD. THEN, PRESS F4 TO ENTER THE *)

(* TERMINAL PROGRAM. PROGRESS MESSAGES FROM THE MASTER *)

(* SHOULD BE SEEN. *)

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

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

(* DEVICE NUMBER DEFINITIONS GO BELOW *)

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

DEFINE_DEVICE

DTMF_CARD = 96 (* AXB-DTMF+ *)

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

Distinctive Ring Send_Commands (Cont.)

Command

Description

PY_Z-XXX

The remaining Ring Patterns and Parts Send_Commands are used just like the
examples shown for Pattern 1 above. Refer to Figure 12 and the following infor-
mation.

• Y = Pattern number

• Z = Part number

• X = Time increment

Continued

Advertising