A1-26
IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00
A1.8 Connecting to a Modem
n
Setting and Sample Program when Connecting to a Modem
We describe here how to connect to an external modem and send a message to a
beeper. Sending a message to a beeper requires programming in ladder or BASIC.
The program writes the telephone number of the beeper and the message to be
transmitted to the internal registers of this module, turns on the Dial Request relay to
start auto-dialing. Once connected, it turns on the Request to Send output relay (internal
dummy relay of this module) to start transmission.
1. Set the switches
Turn on (“Yes”) bit 8 of SW3 (External Modem: Yes/No) .
Set the other switches to default.
2. Connect to the modem using a straight cable.
If the cable provided with the modem is female and does not match, use a gender
changer.
3. A sample ladder program is shown below.
Transmit 0 for external transmission. The beeper number is 1234-5678-9999.
The send message is “LC11-1F” in the sample program.
If I1001 is turned on, the program dials the beeper and sends a message.
FA10801.VSD
WRITE
$3936
2
107
1
WRITE
$3936
2
106
1
WRITE
$3138
2
105
1
WRITE
$3337
2
104
1
WRITE
$2A32
2
103
1
WRITE
$2A32
2
102
1
WRITE
12
2
29
1
WRITE
1
2
30
1
0015
0014
0013
0012
0011
0010
M00035
0009
0008
0007
0006
0004
0003
0002
0001
M00035
Transmission message ("LC11-1F") Transmission data area=101-111
Setting beeper telephone number (0-1234-5678-9999)
Telephone number area=31-34
Number of digits for telephone number (12) and
number of digits for external line transmission (1)
96"1"
96"1"
18"C"
37"L"
*2
*2 free words
WRITE
$4567
2
32
1
WRITE
$8999
2
33
1
WRITE
$9000
2
34
1
0005
M00035
WRITE
$123
2
31
1
M00035
WRITE
18
2
101
1
0016
Transmission data
size
Summary of Contents for F3LC11-1F
Page 2: ......
Page 12: ...Blank Page...
Page 48: ...Blank Page...
Page 65: ...A3 7 IM 34M6H41 02E 2nd Edition Aug 1 2005 00 430 PR CLOSE 440 450 FIN 460 470 END...
Page 74: ...Blank Page...
Page 82: ...Blank Page...
Page 92: ...Blank Page...
Page 94: ...Blank Page...
Page 120: ...Blank Page...
Page 136: ...B3 6 IM 34M6H41 02E 2nd Edition Aug 1 2005 00 450 460 END...
Page 140: ...Blank Page...
Page 142: ...Blank Page...
Page 146: ...Blank Page...
Page 148: ...Blank Page...
Page 168: ...Blank Page...
Page 176: ...Blank Page...
Page 200: ...Blank Page...
Page 202: ...Blank Page...