X25AM Programming Manual

PTP Applications
X25AM Programming Manual527201-001
3-35
PTP Procedure Statements Summary
SETPARAM 5
Get the Restart Cause and Diagnostic codes. Restart Cause and Diagnostic code are
one field. Restart Cause is the left byte, and Diagnostic code is the right byte.
The application cannot initiate a Restart. Therefore, there is no set value for this
SETPARAM.
SETPARAM 7
Get the configured Closed User Group (CUG) ID.
Set the configured Closed User Group (CUG) ID.
SETPARAM 8
Get the protocol identifier.
Set the protocol identifier.
CALL SETPARAM (filenum, operation,
reset^cause^code^and^diagnostic^code,length)
filenum = file number
operation = 5
reset^cause^code
= Reset Cause code
diagnostic^code = Diagnostic code
length = 2 (the length in bytes of the Clear Cause
and Diagnostic codes)
CALL SETPARAM (filenum, function,,, cug^id, length)
CALL SETPARAM (filenum, function, cug^id, length)
filenum = file number
function = 7
cug^id
= Two-digit number (4-digit for extended CUG-
type)
length = 2 bytes (4 bytes for extended CUG-type)
CALL SETPARAM (filenum, function,,, protocol^ID,
length)
CALL SETPARAM (filenum, function, protocol^ID, length)
filenum = file number
function = 8
protocol^ID
= protocol identifier
length = 1, 2, 3, or 4 bytes