Envoy ACP/XF Application Programming Manual

Normal Response Mode (NRM) Protocols
EnvoyACP/XF Application Programming Manual132179
3-40
SDLC Multipoint Tributary
!RS-232C line interface
!Use of 1-second poll interval (100 * 10 milliseconds)
SETMODE fnum^1,16,%1002,100
If <> do error handling
!The following SETMODE call specifies
!2-octet address field
!2-octet control field
SETMODE fnum^1,19,,%30000
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^1,poll^list,addr^size,
num^entries,poll^count,0);
If <> do error handling
!Send SNRME
CONTROL fnum^1,13,3
If <> do error handling
.
.
.
SDLC Multipoint Tributary
The example below is for an SDLC multipoint tributary station that performs two-way,
alternate communication over half-duplex, nonswitched, line facilities:
!Open the line
!This opens the line $TRIB1 for exclusive read or write
!access and for nowait I/O with a maximum of 14 concurrent
!outstanding requests (the flags parameter specifies all of
!those characteristics)
!The OPEN procedure assigns a unique line number to this
!particular opening of the line $TRIB1 and returns it to the
!application process by way of the line^fnum integer
!variable
OPEN TRIB1,line^fnum,%36
If <> do error handling
!Set line configuration parameters
!The following SETMODE specifies
!multipoint tributary station
!half-duplex
!nonswitched