X25AM Programming Manual

ITI Applications
X25AM Programming Manual527201-001
2-37
ITI Procedure Statements Summary
SETPARAM 7
Get the configured Closed User Group (CUG) ID.
Set the configured Closed User Group (CUG) ID.
SETPARAM 9
Get the reason for call clearing (circuit disconnection).
CALL SETPARAM (filenum, function,,, cug^id,
length)
CALL SETPARAM (filenum, function, cug^id, length)
filenum = file number
function = 7
cug^id
= two-digit number (or four-digit number if
CUGTYPE is EXT or EXTOA).
length = 2 or 4 bytes
CALL SETPARAM (filenum, function,,, reason, length)
filenum = file number returned by the OPEN procedure
for the subdevice.
function = 9
cug^id
= 4 words. For the reasons for circuit
disconnection, see Table 2-12.
length = 8-byte length of reason
Table 2-12. Reasons for Circuit Disconnection (SETPARAM 9)
Integer Reason for Circuit Disconnection
Integer <0>
0 Never connected.
1 Still connected or connecting.
2 CONTROL 12 issued.
3 Subdevice file closed.
4 Processor down.
5 Subdevice aborted with SCF.
6 Subdevice stopped with SCF.
7 Clear request issued.
8 Clear request received.
9 Incoming data packet > PACKETSIZE.
10 Incoming packet invalid for circuit state.