Connecting Two Pods Back-To-Back - HP 82718A Expansion Pod Reference Manual

For use with the hp-75
Hide thumbs Also See for HP 82718A Expansion Pod:
Table of Contents

Advertisement

r
Software Usage and Examples
3) When finished dialing, the user must leave the phone off-hook or the call will be terminated. Then
~.
the user presses the key to signal the end of dialing. The program must then take the modem
~
off-hook and monitor the line status using the 0 (ORIGINATE) command. The program would then
proceed as if it had dialed the number itself. The user can put the phone back on-hook any time
after the 0 command is executed.
This program gives an example of manual dialing. The
~'J.:=.
it. ••
message is needed because the H
command takes 3 s to hang up the modem.
1 (1 I t·tpUT
II
t'l.:=.nu.:t 1 d i.:t I? 1::I.····n:
"; A$
2~:1
IF UPPC$ Ui$::' =
II
'y'
II
THEt·~
:::0
EL~:;E
BEEP
I~
D I
~:;F'
II
Done
II
I~
~:;TOP
:::(1 D I
~:;P
II
~'J.::J
it. •••
II
I~
t'10DOUT
II
~·~h
II
:~.:CHF::$
( 1 :::::.
I~
F $=
II
~·~OK
II
I~
GOSUB 1
~3~30
4(1 D I
~::P
II
Pt-e::":.s
[PTt·~
]
I ..
Jhen done d i.31 in';.
II
50 IF KEY$#CHR$(13::' THEN 50
60 t'10DOUT
II
~·~o
II
:~.:CHR$'::
1 :::::.
I~
F$=
II
~·~CCtl··H·~ECT
II
I~
C;O~:;UB
1000
7(1 BEEP
I~
D I
~:;;P
II
Connect. ed !
II
I~
~:;TOP
1000 2$=""
1010 2$=2$&MODIN$ @ IF
POS(2$~F$::'
THEN PETURN ELSE 1010
Connecting Two Pods Back-to-Back
The modem can be placed in either of two opposing modes of operation: ANSWER mode and ORIGINATE
mode. When the modem enters ANSWER mode, it goes off-hook, transmits an answer tone, and waits 20 s
for an originate tone.
Conversely, when the modem enters ORIGINATE mode, it goes off-hook and
monitors the phone line for an answer tone for about SO s.
If one HP 82718A is in ANSWER mode and another is in ORIGINATE mode, the two modems can
communicate with each other directly.
The only hardware necessary for this modem-to-modem
connection is a piece of telephone cable with a male modular connector on each end. By connecting the
two modems with the cable, placing one modem in ANSWER mode and the other in ORIGINATE mode, and
synchronizing them so that the answer tone and the originate tone occur concurrently, the communication
link is established.
Below are two programs, one for each of two HP 82 718As; the first one will put its modem into ANSWER
mode, and the second one will put its modem into ORIGINATE mode. The programs then monitor the
status of the modems to see when they are communicating with each other. The two programs need to be
run at approximately the same time, since the originating modem only has 20 s to detect the answer tone
issued by the answering modem.
The program for the answering modem is as follows:
10 ! This ModeM is set to ANSWEP Mode
20 MODEM ON ! Turn on ModeM
::;:0 t'10DOUT
II
~.~.:t
II
:3.:CHP$':: 13::' ! Ent. et-
At·~S~'JEF.:
Plode
40 IF NOT HOOK? THEN 40 ! Wait unt.il ModeM is off-hook
50 ON l+HOOK?+CAPRIEP? GOTO 60,50,70
6~:1
D I
~:;P
II
tkl connect. i on
II
I~
BEEP
22~J,
1
~
STOP
7(1 D I SP
II
Connect. i on est. .:tb 1 i shed
II
80 MODOUT KEY$
~
DISP MODIN$;
~
GOTO 80
40

Advertisement

Table of Contents
loading

Table of Contents