AMX AXB-DTMF+ instruction manual Busycount Number of Retries

Page 23

Programming

(* CONSTANT DEFINITIONS GO BELOW*)

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

DEFINE_CONSTANT

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

(* VARIABLE DEFINITIONS GO BELOW*)

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

DEFINE_VARIABLE

 

 

STATE

(* STATE OF THE SOFTWARE "STATE MACHINE"

*)

BUSY_COUNT

(* NUMBER OF RETRIES

*)

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

(*LATCHING DEFINITIONS GO BELOW*) (*********************************************************************)

DEFINE_LATCHING

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

(* MUTUALLY EXCLUSIVE DEFINITIONS GO BELOW*)

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

DEFINE_MUTUALLY_EXCLUSIVE

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

(*STARTUP CODE GOES BELOW*)

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

DEFINE_START

 

 

BUSY_COUNT=0

 

 

STATE=255

(* ESSENTIALLY "NO STATE"

*)

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

(* THE ACTUAL PROGRAM GOES BELOW*)

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

DEFINE_PROGRAM

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

(*

IF KEY

1 ON THE KEYPAD

IS PUSHED, PLACE THE

*)

(*

CARD

ON HOOK (IN CASE

IT WAS OFF-HOOK).

*)

(*

WAIT

2

SECONDS BEFORE CHANGING STATE TO

*)

(*

STATE 2.

 

*)

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

PUSH[128,1](* 1 * )

{

SEND_COMMAND DTMF_CARD,'ON HOOK'

WAIT 20

STATE=2

}

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

(*

TAKE THE

CARD

OFF-HOOK.

WAIT

2 SECONDS

 

*)

(*

FOR DIAL

TONE. IF

IT IS

( NOT

RECEIVED,

SEND AN

*)

(*

ERROR MESSAGE

AND

SHUT

DOWN (GO TO ( "NO STATE").

*)

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

Continued

AXB-DTMF+ DTMF+ Interface

19

 

 

 

 

Image 23
Contents AXB-DTMF+ AMX Limited Warranty and Disclaimer Table of Contents Table of Contents AXB-DTMF+ Specifications SpecificationsRear panel components Front panel components FIGAuto Answer mode Setting the Internal JumpersWiring guidelines Wiring the AXB-DTMF+Line Setting mode Preparing captive wiresAudio Out Connecting External Telephone LinesAudio Off-hook line and off-hook phone troubleshooting Testing the AXB-DTMF+Operative System SendCommands SendCommandsOperative SendCommands Sendcommand DTMF, AUTO-ON Sendcommand DTMF, AUDIO-ONSendcommand DTMF, AUDOUT-OFF Sendcommand DTMF, AUDOUT-ONSendcommand DTMF, OFF Hook Sendcommand DTMF, EXTEN-OFFSendcommand DTMF, EXTEN-ON Sendcommand DTMF, FlashTiming System SendCommands Timing System SendCommandsSendcommand DTMF, OBUONMAX-65 Sendcommand DTMF, LOSSLCMIN-15Sendcommand DTMF, OBUOFFMAX-65 Sendcommand DTMF, OBUOFFMIN-45Sendcommand DTMF, ORIOFFMAX-50 Sendcommand DTMF, OREOFFMAX-45Sendcommand DTMF, OREOFFMIN-20 Sendcommand DTMF, OREONMIN-20Sendcommand DTMF, ROHOFFMAX-65 Sendcommand DTMF, ORIONMAX-30Sendcommand DTMF, ORIONMIN-25 Sendcommand DTMF, PAUSE-25Fine Tuning SendCommands Fine Tuning SendCommandsDTMF+ distinctive ring default patterns and time values Distinctive Ring Patterns and SendCommandsChanging a Default Ring Pattern Distinctive Ring SendCommands Distinctive Ring SendCommandsPYZ-XXX Axcess Program ExampleBusycount Number of Retries Or RINGING, Send This Is not the 7TH RETRY, Wait Operation Channel # Description on Indicates Channel CodesChannel Codes Minute after call termination Data String Description CLID-mmddhhii-nnnnnnnnnn-text,0 Caller IDCaller ID Program Example for Caller IDDtmf Card Defineprogram If FINDSTRINGDTMFBUFFER,CLID-,1 Start Programming AXB-DTMF+ DTMF+ Interface AMX,