Autodial
: 04400 (1130h) It is the responsibility of the PLC application program to
hang up the phone connection. This is accomplished by reissuing the autodial command
and sending the hang up command string.
12.4.10.1
Autodial Command Block
The Autodial command automatically transmits an Escape sequence that follows the
Hayes convention. If you are using a modem that does not support the Hayes convention,
you may be able to use the Write Bytes command to dial the modem.
Examples of commonly used command strings for Hayes-compatible modems are listed
below:
Command String
Length
Function
ATDP15035559999<CR>
16 (10h)
Pulse dial the number 1-503-555-9999
ATDT15035559999<CR>
16 (10h)
Tone dial the number 1-503-555-9999
ATDT9,15035559999<CR>
18 (12h)
Tone dial using outside line with pause
ATH0<CR>
5 (05h)
Hang up the phone
ATZ<CR>
4 (04h)
Restore modem configuration to internally
saved values
12.4.10.2
Example Autodial Command Block
This example COMMREQ command block dials the number 234-5678 using a
Hayes-compatible modem.
Word
Definition
Values
1
0009h
CUSTOM data block length (includes command string)
2
0000h
NOWAIT mode
3
0008h
Status word memory type (%R)
4
0000h
Status word address minus 1 (Register 1)
5
0000h
not used
6
0000h
not used
7
04400 (1130h)
Autodial command number
8
00030 (001Eh)
Modem response timeout (30 seconds)
9
0012 (000Ch)
Number of bytes in command string
10
5441h
A (41h), T (54h)
11
5444h
D (44h), T (54h)
12
3332h
Phone
number:
2 (32h), 3 (33h)
13
3534h
4 (34h), 5 (35h)
14
3736h
6 (36h), 7 (37h)
15
0D38h
8 (38h) <CR> (0Dh)
244
GFK-1503E
VersaMax PLC User Manual
For public disclosure
Summary of Contents for VersaMax PLC
Page 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 317: ......