X25AM Programming Manual

ITI Applications
X25AM Programming Manual527201-001
2-35
ITI Procedure Statements Summary
SETPARAM 2
Get the Clear Cause and Diagnostic codes:
Set the Clear Cause and Diagnostic codes:
SETPARAM 4
Get the Reset Cause and Diagnostic codes:
Set the Reset Cause and Diagnostic codes:
SETPARAM 5
Get the Restart Cause and Diagnostic codes:
CALL SETPARAM (filenum, function,,,
Clear^Cause^code^byte^and^Diagnostic^
code^byte, length)
CALL SETPARAM (filenum, function,
Clear^Cause^code^byte^and^Diagnostic^code^byte,length)
filenum = file number returned by the OPEN
procedure for the subdevice.
function = 2
Clear^Cause^code^byte
= some value
Diagnostic^code^byte = some value
length = 2 bytes
CALL SETPARAM (filenum, function,,,
Reset^Cause^code^byte^and^Diagnostic^
code^byte, length)
CALL SETPARAM (filenum, function,
Reset^Cause^code^byte^and^Diagnostic^code^byte, length)
filenum = file number returned by the OPEN
procedure for the subdevice.
function = 4
Reset^Cause^code^byte
= some value
Diagnostic^code^byte = some value
length = 2 bytes
CALL SETPARAM (filenum, function,
Restart^Cause^code^byte^and^Diagnostic^code^byte,
length)
filenum = file number returned by the OPEN
procedure for the subdevice.
function = 5