X25AM Programming Manual

PTP Applications
X25AM Programming Manual527201-001
3-34
PTP Procedure Statements Summary
SETPARAM 2
Get the Clear Cause and Diagnostic codes. This is one field; Clear Cause is the left
byte, and Diagnostic code is the right byte.
Set the Clear Cause and Diagnostic codes. This is one field; Clear Cause is the left
byte, and Diagnostic code is the right byte.
SETPARAM 4
Get the Reset Cause and Diagnostic codes. Reset Cause and Diagnostic code are one
field. Reset Cause is the left byte, and Diagnostic code is the right byte.
Set the Reset Cause and Diagnostic codes. Reset Cause and Diagnostic code are one
field. Reset Cause is the left byte, and Diagnostic code is the right byte.
CALL SETPARAM (filenum, operation,,,
clear^cause^code^byte^and^diagnostic^
code^byte, length)
CALL SETPARAM (filenum, operation,
clear^cause^code^byte^and^diagnostic^code^byte,length)
filenum = file number
operation = 2
clear^cause^code
= Clear Cause code
diagnostic^code = Diagnostic code
length = 2 (the length in bytes of the Clear Cause
and Diagnostic codes)
CALL SETPARAM (filenum, operation,,,
reset^cause^code^and^diagnostic^code,
length)
CALL SETPARAM (filenum, operation,
reset^cause^code^and^diagnostic^code,length)
filenum = file number
operation = 4
reset^cause^code
= Reset Cause code
diagnostic^code = Diagnostic code
length = 2 (the length in bytes of the Clear Cause
and Diagnostic codes)