Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

US Robotics 9600 Extr Modem Set-up.was

Procomm Plus Nortel Scripts

US Robotics 9600 Extr Modem Set-up.was

by  Firebird Scrambler  Posted    (Edited  )

; Programme to setup a U S Robotics 56K External Modem 10th January 2008

; These settings should work for a Meridian Option 11 - 81 TTY Port
; Do have "USER" = SCH only, as the TTY port could become disabled if not on Opt 11c TTY 0!.
;
; NOTE!
; This program will only work with a WINDOWS version of Procomm Plus.
; The " ; " denotes that the data on the program file line is ignored,
; when the script is run.


STRING F_Time
INTEGER LEN=0
INTEGER CUT_OFF=0
INTEGER EVENT
INTEGER TX_PACE=200
LONG COUNT=0
LONG TOTAL=0
LONG PERCENT=0
INTEGER PERCENT_CHG_CHK=0

proc main

CALL US_MODEM

ENDPROC


PROC US_MODEM

STATMSG " Start of Configuring a US Robotics 56K 9600 Baud Extr Voice Fax Modem"
dialogbox 0 174 48 246 229 2 " Configuring a US Robotics 9600 Baud 56K Extr Modem"
pushbutton 3 132 209 40 13 "Accept" OK DEFAULT
pushbutton 4 76 209 40 13 "Cancel"
radiogroup 6 TX_PACE
radiobutton 18 83 64 80 11 "50 Fastest Speed"
radiobutton 19 83 88 80 11 "100 "
radiobutton 20 83 111 80 11 "200 Medium Speed"
radiobutton 21 83 133 80 11 "300"
radiobutton 22 83 155 80 11 "400 Slowest Speed"
endgroup
groupbox 26 76 48 94 131 " TXPace Settings"
text 43 9 2 224 9 "Do not have USER = (MTC,BUG,CTY, etc). Use only (SCH)!" center
text 55 9 14 224 9 "For the Big Switch Paddle Board, use (DTC) and not DTE!." center
text 27 9 27 224 9 "Also make sure that the standard TTY port settings are used" center
text 28 9 182 224 9 "Option 11c TTY 1 and 2 Ports will need to have Pin 1 disconnected." center
text 29 10 194 224 9 "Before you disconnect key +++ first and wait to get the (OK) prompt" center
text 30 9 39 224 9 "9600 baud rate word length = 8, 1 stop bit and no parity" center
enddialog

while 1
dlgevent 0 event
switch event
case 0
endcase

case 1
endcase

case 3
exitwhile
endcase

case 4
exit
endcase

endswitch
endwhile

if TX_PACE == 19
set TXPACE 100
endif
if TX_PACE == 20
set TXPACE 200
endif
if TX_PACE == 21
set TXPACE 300
endif
if TX_PACE == 22
set TXPACE 400
endif

Capture On

TRANSMIT "ATQ0^M" ; Displays Modem result codes
; WAITFOR "OK "
PAUSE 4
TRANSMIT "ATY2^M" ; Selects power-on reset default configuration to factory configuration 0
; WAITFOR "OK "
PAUSE 4
TRANSMIT "ATZ0^M" ; Resets Modem to NVRAM profile selected by ATYx command
; WAITFOR "OK "
PAUSE 4
TRANSMIT "AT&W0^M" ; Writes current Modem configuration to NVRAM 0 template
; WAITFOR "OK "
PAUSE 4
TRANSMIT "ATI4^M" ; Displays current Modem settings
; WAITFOR "OK "
PAUSE 6

TRANSMIT "AT&A3&B0&C1&D0&H1&I0&K0&M4&N6&R1&S0&T5&U0&Y1^M"
; WAITFOR "OK "
PAUSE 20
TRANSMIT "^M"
PAUSE 4

; TRANSMIT "ATS0=2S6=4S10=7S11=70S25=5S31=0S32=0S36=0S39=10S40=0S41=1S42=126^M"
; PAUSE 8
; TRANSMIT "ATS58=4S59=0^M"
; PAUSE 8

TRANSMIT "ATS0=2^M" ; Sets the number of rings in Auto Answer mode Default = 0 (No Answer)
; WAITFOR "OK "
PAUSE 4
TRANSMIT "ATS6=4^M" ; Sets the number of seconds the modem waits for dial tone before dialling
; WAITFOR "OK " ; If it = ATX2 or ATX4 Default = 2
PAUSE 4
TRANSMIT "ATS10=7^M" ; Sets the duration in tenths of a second before hanging up Default = 14
; WAITFOR "OK "
PAUSE 4
TRANSMIT "ATS25=5^M" ; Sets the duration in hundredths of a second before DTR is dropped
; WAITFOR "OK " ; Default = 20
PAUSE 4
TRANSMIT "ATS31=0^M" ; Reserved Default = 128
; WAITFOR "OK "
PAUSE 4
TRANSMIT "ATS32=0^M" ; Bit mapped register setup bit 0 = value 1 Default = 2 (Value = 4)
; WAITFOR "OK "
PAUSE 4
TRANSMIT "ATS36=0^M" ; Reserved
; WAITFOR "OK "
PAUSE 4
TRANSMIT "ATS39=11^M" ; Reserved
; WAITFOR "OK "
PAUSE 4
TRANSMIT "ATS41=1^M" ; Reserved
; WAITFOR "OK "
PAUSE 4
TRANSMIT "ATS42=126^M" ; Reserved Default = 0
; WAITFOR "OK "
PAUSE 4

TRANSMIT "ATB0E1F1L2M0Q0V1X4Y0^M"
PAUSE 6
TRANSMIT "AT&W0^M" ; Writes current Modem configuration to NVRAM 0 template
; WAITFOR "OK "
PAUSE 6
TRANSMIT "ATZ1^M" ; Resets Modem to NVRAM profile 0
; WAITFOR "OK "
PAUSE 4
TRANSMIT "ATI4^M" ; Displays current Modem settings
; WAITFOR "OK "
PAUSE 2

TRANSMIT "ATS$^M" ; Displays a list of the Modem S-Registers
PAUSE 4
TRANSMIT "~^M"
PAUSE 4
TRANSMIT "~^M"
PAUSE 4
TRANSMIT "~^M"
PAUSE 4
TRANSMIT "~^M"
PAUSE 4
TRANSMIT "~^M"
PAUSE 4
TRANSMIT "~^M"

PAUSE 6

Capture Off

F_Time=$TIME
usermsg "Power down and reset the US Robotics External Modem NOW to apply the changes!`n`n at %s" F_TIME
STATMSG " End of configuring a US Robotics 56K 9600 Baud Extr Voice Fax Modem"
usermsg "Do not have USER = (MTC,BUG,CTY, etc) as the TTY port could become disabled on cleardown!. Use only (SCH) unless a 11c TTY 0 is used!"
STATMSG " Make sure that the TTY port on the Big Switch Paddle Board is set as (DTC) and not DTE"
ENDPROC



; The tests were carried out using "TTY 2" with "USER" = (SCH) ONLY! On a Option 11 system.

; NOTE!

; Do not have "USER" = (MTC,BUG,CTY, etc) as the TTY port could become disabled!.

; Also make sure that the standard TTY port settings are used i.e..
; "9600" baud rate word length = 8, 1 stop bit & no parity.

; ATI3
; U.S. Robotics 56K Voice EXT Rev. 12.1.0 (External stand alone type modem)

; ATI4
; U.S. Robotics 56K Voice EXT Settings...

; B0 E1 F1 L2 M0 Q0 V1 X4 Y0
; SPEED=9600 PARITY=N WORDLEN=8
; DIAL=TONE OFF LINE

; &A3 &B0 &C1 &D0 &H1 &I0 &K0
; &M4 &N6 &R1 &S0 &T5 &U0 &Y1

; S00=002 S01=000 S02=043 S03=013 S04=010 S05=008 S06=004
; S07=060 S08=002 S09=006 S10=007 S11=070 S12=050 S13=000
; S15=000 S16=000 S18=000 S19=000 S21=010 S22=017 S23=019
; S25=005 S27=001 S28=008 S29=020 S30=000 S31=000 S32=000
; S33=000 S34=000 S35=000 S36=000 S38=000 S39=011 S40=000
; S41=001 S42=126

; LAST DIALLED #:

; ATI9
; (1.0USR9180\\Modem\PNPC107\U.S. Robotics 56K Voice EXT)FF

; Some other Notes!
; Use ATS0=2 C/R (Number of rings for modem to answer = 2)
; (I've found that a minimum number of 2 rings is best!)
; Use ATM0 C/R (Speaker on modem = OFF & ATM1 = Speaker on until connected)

; Before you disconnect the line connection,
; Make sure that you are back into the Meridian SL1 program!.
; Also key "+++" first & wait until you get the "OK" prompt.
; (It takes you back to the modem!)
; If you don't do this,
; then the TTY port can disable it's self or the modem will lock up.


; How to configure the US Robotics 56K external Modem via a RS232 lead into your P.C.

; Key in the following à

; "AT&A3&B0&C1&D0&H1&I0&K0&M4&N6&R1&S0&T5&U0&Y1" C/R.
; The modem will answer with "OK"
; Followed by "ATB0E1F1L2M0Q0V1X4Y0" C/R.
; Enter the "S" Registers as shown in bold above. i.e.. "ATS0=2" C/R.

; Finally enter "AT&W0" C/R to store the data into memory.
; Power Modem "OFF" & "ON".
; The prompt "ATI4" C/R will list out the values stored in memory.

; To connect the Modem at 14400 baud rate & Meridian 1 TTY port at 19200 baud rate,
; Then use the settings "AT&N8" C/R followed by
; "AT&W0" C/R & power off & on the Modem again.



; You may want to check your pinouts. I made my own cable for our 61c using the following:
; DB25F - DB9F
; 2 - 2
; 3 - 6
; 4 - 4
; 5 - 9
; 6 - 8
; 7 - 3
; 8 - 1
; 20 - 7


; Make sure the TTY port on the paddle board (whatever type you are using is set up for modem. IE..DTC not DTE
; I've found that Option 11c TTY 1 & 2 Ports will need to have Pin 1 disconnected. It's the ground wire.




; List of the S-Registers
; ATS$
; HELP, S Register Functions (CTRL-S to Stop, CTRL-C to Cancel)

; S0 Ring to Answer ON S27 Bit Mapped
; S1 Counts # of Rings 1 = V21 Mode
; S2 Escape Code Char 2 = Disable TCM
; S3 Carriage Return Char 4 = Disable V32
; S4 Line Feed Char 8 = Disable 2100hz
; S5 Backspace Char 16 = Enable V23 Fallback
; S6 Wait Time/Dial Tone (sec) 32 = Disable V32bis
; S7 Wait Time/Carrier (sec) 64 = Reserved
; S8 Comma Time (sec) 128 = Software Compatibility Mode
; S9 Carrier Detect Time (1/10sec) S28 V32 Handshake Time (1/10sec)
; S10 Carrier Loss Time (1/10sec) S29 V.21 answer mode fallback timer
; S11 Dial Tone Spacing (msec) S30 Reserved
; S12 Escape Code Time (1/50sec) S31 Reserved
; S13 Bit Mapped S32 Connection bit mapped operations.
; 1 = Reset ON DTR Loss 1 = V.8 Call Indicate enable
; 2 = Reduced Non-ARQ TX Buffer 2 = Enable V.8 mode
; 4 = Set DEL=Backspace 4 = Reserved
; 8 = Do DS0 ON DTR 8 = Disable V.34 modulation
; 16 = Do DS0 ON Reset 16 = Disable V.34+ modulation
; Strike a key when ready . . .
; 32 = Reserved 32 = Disable x2 modulation
; 64 = Disable Quick Retrains 64 = Disable V.90 modulation
; 128 = Escape Code Hang Up 128 = Reserved
; S14 Reserved S33 V.34 & V.34+ Connection setup
; S15 Bit Mapped bit mapped control flags.
; 1 = MNP/V.42 Disabled in V.22 1 = Disable 2400 Symbol rate
; 2 = MNP/V.42 Disabled in V.22bis 2 = Disable 2743 Symbol rate
; 4 = MNP/V.42 Disabled in V.32 4 = Disable 2800 Symbol rate
; 8 = Disable MNP Handshake 8 = Disable 3000 Symbol rate
; 16 = Disable MNP Level 4 16 = Disable 3200 Symbol rate
; 32 = Disable MNP Level 3 32 = Disable 3429 Symbol rate
; 64 = Unusual MNP-Incompatibility 64 = Reserved
; 128 = Disable V.42 128 = Disable Shaping
; 136 = Disable V.42 Detect Phase S34 V.34 & V.34+ Connection setup
; S16 Test Modes bit mapped control flags.
; 1 = Reserved 1 = Disable 8S-2D trellis encoding
; 2 = Dial Test 2 = Disable 16S-4D trellis encoding
; 4 = Reserved 4 = Disable 32S-2D trellis encoding
; 8 = Reserved 8 = Disable 64S-4D trellis encoding
; Strike a key when ready . . .
; 16 = Reserved 16 = Disable Non linear coding
; 32 = Reserved 32 = Disable TX level deviation
; 64 = Reserved 64 = Disable Pre-emphasis
; 128 = Reserved 128 = Disable Pre-coding
; S17 Reserved S35 Reserved
; S18 &Tn Test Timeout (sec) S36 Reserved
; S19 Inactivity Timeout (min) S37 Reserved
; S20 Reserved S38 Disconnect Wait Time (sec)
; S21 Break Length (1/100sec) S39 Reserved
; S22 Xon Char S40 Reserved
; S23 Xoff Char S41 Reserved
; S24 Reserved S42 Reserved
; S25 DTR Recognition Time (1/100sec) S43 Reserved
; S26 Reserved


Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top