Envoy ACP/XF Application Programming Manual

Normal Response Mode (NRM) Protocols
EnvoyACP/XF Application Programming Manual132179
3-23
Station List Format
CALL DEFINELIST (fnum,station^list,entry^size,num^entries,
polling^count,polling^type);
The following example applies to ADCCP-NRM only (extended address mode). This
sample code shows a station list for a multipoint supervisor station using 2-octet
addresses:
LITERAL addr^aa = %040501, ! Station AA address
addr^ab = %040502, ! Station AB address
addr^ac = %040503, ! Station AC address
entry^size = 4, ! Entry size (4 octets)
num^entries = 3, ! Number of entries in list
polling^count = 3, ! Number of entries in list
polling^type = 0; ! Continuous polling
INT .STATION^LIST[0:11] := ! AUTO-POLL station list
[ addr^aa,3 * [0], ! Station AA entry
addr^ab,3 * [0], ! Station AB entry
addr^ac,3 * [0] ]; ! Station AC entry
CALL DEFINELIST (fnum,station^list,entry^size,num^entries,
polling^count,polling^type);
The following sample code shows a station list for a multipoint supervisor station using
3-octet addresses:
DEFINES addr^ab1 = %040502,%030400#, !Station AB1 address
addr^ab2 = %040502,%031000#, !Station AB2 address
addr^ab3 = %040502,%031400#; !Station AB3 address
LITERALS entry^size = 4, !Entry size (4 octets)
num^entries = 3, !Number entries in list
polling^count = 3, !Number entries in list
polling^type = 0; !continuous polling
INT .STATION^LIST[0:11] := !AUTO-POLL station list
[ addr^ab1,2 * [0], !Station AB1 entry
addr^ab2,2 * [0], !Station AB2 entry
addr^ab3,2 * [0] ]; !Station AB3 entry
CALL DEFINELIST (fnum,station^list,entry^size,num^entries,
polling^count,polling^type);
The following sample code shows a station list for a multipoint supervisor station using
4-octet addresses:
DEFINES addr^ab15 = %040502,%030465#, !Station AB15 address
addr^ab25 = %040502,%031065#, !Station AB25 address
addr^ab35 = %040502,%031465#; !Station AB35 address
LITERALS entry^size = 4, !Entry size (4 octets)
num^entries = 3, !Number entries in list
polling^count = 3, !Number entries in list
polling^type = 0; !Continuous polling
INT .STATION^LIST[0:11] := ! AUTO-POLL station list