GE VersaMax PLC User Manual page 244

Table of Contents

Advertisement

244
GFK-1503E
For public disclosure
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
ATDP15035559999<CR>
ATDT15035559999<CR>
ATDT9,15035559999<CR>
ATH0<CR>
ATZ<CR>
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
1
0009h
2
0000h
3
0008h
4
0000h
5
0000h
6
0000h
04400 (1130h)
7
00030 (001Eh)
8
0012 (000Ch)
9
10
5441h
11
5444h
12
3332h
13
3534h
14
3736h
15
0D38h
Length
16 (10h)
Pulse dial the number 1-503-555-9999
16 (10h)
Tone dial the number 1-503-555-9999
18 (12h)
Tone dial using outside line with pause
5 (05h)
Hang up the phone
Restore modem configuration to internally
4 (04h)
saved values
CUSTOM data block length (includes command string)
NOWAIT mode
Status word memory type (%R)
Status word address minus 1 (Register 1)
not used
not used
Autodial command number
Modem response timeout (30 seconds)
Number of bytes in command string
A (41h), T (54h)
D (44h), T (54h)
Phone
2 (32h), 3 (33h)
number:
4 (34h), 5 (35h)
6 (36h), 7 (37h)
8 (38h) <CR> (0Dh)
Function
Values
VersaMax PLC User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents