Envoy ACP/XF Application Programming Manual

Normal Response Mode (NRM) Protocols
EnvoyACP/XF Application Programming Manual132179
3-39
ADCCP-NRM Multipoint Supervisor
!Multipoint supervisor station
!Half-duplex line facilities (two-way alternate operation)
!Nonswitched lines
!Accept all addresses
!RS-232C line interface
!Use of 1-second poll interval (100 * 10 milliseconds)
SETMODE fnum,16,%1002,100
If <> do error handling
!Define station list
!This DEFINELIST call passes a station list to EnvoyACP/XF,
!specifying the station addresses of all tributary stations
!that the multipoint supervisor is controlling.
!It also specifies that, whenever instigated, polling is to
!be continuous.
DEFINELIST
fnum,poll^list,addr^size,num^entries,poll^count,0
If <> do error handling
!Send SNRM
CONTROL fnum,13
If <> do error handling
.
.
.
ADCCP-NRM Multipoint Supervisor
The example below shows how to open and initialize an ADCCP multipoint supervisor
station that performs two-way alternate communication over half-duplex, nonswitched,
line facilities.
In this example, the line name is $SUPR1. The application uses a 2-octet address field, a
2-octet control field, and three line openings.
!Open the line
OPEN SUPR1,fnum^1,%36
If <> do error handling
OPEN SUPR1,fnum^2,%36
If <> do error handling
OPEN SUPR1,fnum^3,%36
If <> do error handling
!The following SETMODE call ensures that the crucial
! parameters are set as follows:
!Multipoint supervisor station
!Half-duplex line facilities (two-way alternate operation)
!Nonswitched lines
!Accept all addresses