Envoy ACP/XF Application Programming Manual
Normal Response Mode (NRM) Protocols
EnvoyACP/XF Application Programming Manual–132179
3-35
ADCCP-NRM Point-to-Point Primary Extended
This SETMODE call ensures that the system-generation parameters are set as follows:
•
Point-to-point primary station
•
Full-duplex line facilities (two-way simultaneous operation)
•
Nonswitched lines
•
REJ supervisory frame allowed
•
RS-232C line interface
For switched line facilities, include the connection requests after the SETMODE call, 
but before the first READ.
To have an operator dial the remote station manually, implement steps similar to the 
following:
1. Issue a WRITE command that displays an appropriate message on the operator’s 
console. The message should include the desired telephone number.
2. Issue a CONTROL 17 call to send a Data Terminal Ready (DTR) signal to the 
modem.
Both of the above calls are nowait requests. For the AWAITIO call for the 
CONTROL 17 request, include a time limit long enough to allow the operator to make 
the connection or specify no time limit (wait indefinitely).
ADCCP-NRM Point-to-Point Primary Extended
The example below shows how to initiate an ADCCP point-to-point primary station 
application that performs two-way alternate communication over half-duplex, 
nonswitched, line facilities.
In this example, the line name is $ADCP0. The application uses a 2-octet address field, a 
2-octet control field, and three line openings.
!Open the line
 OPEN ADCP0,fnum^1,%16
If <> do error handling
 OPEN,ADCP0,fnum^2,%16
If <> do error handling
 OPEN,ADCP0,fnum^3,%16
If <> do error handling
!Get the current line setting.
 SETMODE fnum,16,,,current_value !two words
If <> do error handling
!Set the line for half-duplex, nonswitched
 SETMODE fnum^1,16,%4
If <> do error handling
!Set the line for 2-octet address and extended control










