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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modem Setup

Status
Not open for further replies.

clayndwoods

IS-IT--Management
Mar 12, 2005
92
US
Anyone have an aspect script or at least what to turn off/on, etc. on a US Robotics modem for TTY access?
 
This is the way I set up the US Robotics to talk to my Meridians and it works everytime.

1. There are (8) dip switches on the rear of the modem. Set switches S1, S3, S7, & S8 in the down position, the rest in the up position.

2. Connect the modem to a terminal or personal computer using a 25 pin RS232 cable.

3. Set the terminal or personal computer serial port to 9,600 baud (8 data bits / no parity / 1 stop bit ).

4. Turn the power ON to the modem.

5. Using the terminal or the terminal portion of the personal computer communications package, issue the following AT command. AT&B1&W&W1

6. Turn the power OFF to the modem, and disconnect it from the terminal or personal computer.

7. Set the (8) dip switches on the rear of the modem as follows. Set switches S1, & S4 in the down
position the rest in the up position.

8. Connect the modem to the Meridian 1 system as instructed in the NTPs.


john poole
bellsouth business
columbia,sc
 
I'll try that tomorrow.

I have one modem line on a TTY port that is disabling the switch. To be quite honest I think there is something wrong with the cable i.e. the ground is broken or something. No matter what modem is on it (I even put the SEB on it) and no matter what port it is connected to the port sees spurious input and disables in a short time. The cable is the only common hardware, odd as that seems. Wierd.

 
make sure you have flow control set to off, you may have a bad port. happens

john poole
bellsouth business
columbia,sc
 
This is my Procomm plus script. Just copy & paste it.

; PROGRAMME TO SET UP A U S ROBOTICS 56K EXTERNAL MODEM 16/04/2004

; These settings should work for a Meridian Option 11 - 81 TTY Port
; Do have "USER" = SCH only, as the TTY port could become disabled!.


STRING F_Time
INTEGER LEN=0
INTEGER CUT_OFF=0
INTEGER EVENT
INTEGER TX_PACE=50
LONG COUNT=0
LONG TOTAL=0
LONG PERCENT=0
INTEGER PERCENT_CHG_CHK=0
; LONG BIT

proc main

CALL US_MODEM

ENDPROC



PROC US_MODEM

STATMSG "Start"
dialogbox 0 173 62 188 201 2 "configuring a US Robotics 56K extr Modem"
; dirpath 1 65 15 121 11 Directory
; dirlistbox 2 73 30 106 140 "D:\PROGRAM FILES\SYMANTEC\PROCOMM PLUS\CAPTURE\*.*" SINGLE readfile 1 SORT
pushbutton 3 133 177 40 13 "OK" OK DEFAULT
pushbutton 4 77 177 40 13 "Cancel"
; text 5 65 2 61 11 "Select READ file" left
radiogroup 6 TX_PACE
radiobutton 18 13 50 80 11 "50 Default Speed"
radiobutton 19 13 73 80 11 "100 "
radiobutton 20 13 96 80 11 "200 Medium Speed"
radiobutton 21 13 118 80 11 "300"
radiobutton 22 13 141 80 11 "400 Slowest Speed"
endgroup
groupbox 26 3 33 95 131 "TXPace"
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 "AT&A3&B0&C1&D0&H1&I0&K0&M4&N6&R1&S0&T5&U0&Y1^M"
PAUSE 6
WAITFOR "OK"
PAUSE 6
TRANSMIT "ATS0=2^M"
WAITFOR "OK"
TRANSMIT "ATS6=4^M"
WAITFOR "OK"
TRANSMIT "ATS10=7^M"
WAITFOR "OK"
TRANSMIT "ATS25=5^M"
WAITFOR "OK"
TRANSMIT "ATS31=0^M"
WAITFOR "OK"
TRANSMIT "ATS32=0^M"
WAITFOR "OK"
TRANSMIT "ATS36=0^M"
WAITFOR "OK"
TRANSMIT "ATS39=11^M"
WAITFOR "OK"
TRANSMIT "ATS41=1^M"
WAITFOR "OK"
TRANSMIT "ATS42=126^M"
WAITFOR "OK"

; TRANSMIT "ATS10=7^M"
; WAITFOR "OK"
; TRANSMIT "ATS25=5^M"
; WAITFOR "OK"

TRANSMIT "ATB0E1F1L2M0Q1V1X4Y0^M"
PAUSE 6
TRANSMIT "AT&W0^M"
PAUSE 6
TRANSMIT "ATI4^M"
PAUSE 2

TRANSMIT "ATS$^M"
PAUSE 6
TRANSMIT "~^M"
PAUSE 6
TRANSMIT "~^M"
PAUSE 6
TRANSMIT "~^M"

PAUSE 6

Capture Off

F_Time=$TIME
usermsg "POWER DOWN & RESET THE ROBOTICS EXTERNAL MODEM NOW!`n`n at %s" F_TIME
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 Q1 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 "ATB0E1F1L2M0Q1V1X4Y0" 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.

All the best

Firebird Scrambler
Meridian Programmer in the UK
 
Thanks. The other short methods I've been given didn't work, or disbled the port due to extraneous outputs to the ports. I did get the modem manuals and go through a long process of switch positions after reading it and got two to work. The older modems ended up dead.
 
if flow control = no, the the only thing that would normally disu the port is voltage back or pins two and three. to do a cable test, put a nul modem in line and short 2 back to 3, the port rec just it's own transmit, but should stay enabled, that may help isolate the problem

john poole
bellsouth business
columbia,sc
 
I tested the cable. What I did to fix it was to set it like you told me, then saved it to both 1 and 2, turned off echo, turned off result codes and set it to default to 1 (F0 I believe). Anyway, I now have two ports working. I have been scripting extensively since I learned aspect and have accomplished a great deal this weekend.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top