Envoy ACP/XF Application Programming Manual

Normal Response Mode (NRM) Protocols
EnvoyACP/XF Application Programming Manual132179
3-22
Station List Format
addr^d = %42000, ! Station D address
entry^size = 4, ! Entry size (4 octets)
num^entries = 4, ! Number of entries in list
polling^count = 4, ! Number of polling addresses
! in station list array
polling^type = 0, ! Continuous polling
no^poll = 1; ! Disable poll state bit
! The station address is one octet left-justified;
! addr^a = A, null
INT .STATION^LIST[0:15] := ! AUTO-POLL Station List
[ addr^a,3 * [0], ! Station A entry
addr^b,3 * [0], ! Station B entry
addr^c,2 * [0],no^poll, ! Station C entry
addr^d,3 * [0] ]; ! Station D entry
CALL DEFINELIST (fnum,station^list,entry^size,num^entries,
polling^count,polling^type);
In the above example, station C is not polled because its poll state bit is disabled.
Each tributary station application must define a station list even if a particular tributary
answers to only one station address.
In the following example, a tributary application responds to a single station address:
LITERAL addr^c = %41400, ! Station C address
entry^size = 4; ! Entry size (4 octets)
num^entries = 1, ! Number of entries in list
polling^count = 1, ! Number of entries in list
polling^type = 0; ! Dummy parameter
INT .STATION^LIST[0:3] :=
[ addr^c,3 * [0] ]; ! Station C entry
CALL DEFINELIST (fnum,station^list,entry^size,num^entries,
polling^count,polling^type);
In the following example, a tributary application controlling a single SDLC line
responds to two station addresses:
LITERAL addr^a = %40400, ! Station A address
addr^b = %41000, ! Station B address
entry^size = 4, ! Entry size (4 octets)
num^entries = 2, ! Number of entries in list
polling^count = 2, ! Number of entries in list
polling^type = 0; ! dummy parameter
INT .STATION^LIST[0:7] :=
[ addr^a,3 * [0], ! Station A entry
addr^b,3 * [0] ]; ! Station B entry
Note. Although you must specify the polling^count parameter for EnvoyACP/XF, the parameter
has no function; specify the same value as the num^entries variable. The polling^type
parameter specifies the number of polling cycles.