X25AM Programming Manual

ITI Applications
X25AM Programming Manual527201-001
2-36
ITI Procedure Statements Summary
SETPARAM 6
Read the page-mode terminal error counters.
Initialize the counters.
Restart^Cause^code^byte
= some value
Diagnostic^code^byte = some value
length = 2 bytes
CALL SETPARAM (filenum, function,,, 8 integer
values, length)
CALL SETPARAM (filenum, function, 8 integer values,
length)
filenum
= file number returned by the OPEN procedure
for the subdevice.
function = 6
8 integer values
= For page-mode error counters, see
Ta bl e 2-11 on page 2-36.
length = 16 bytes
Table 2-11. Page-Mode Error Counters
Number Counter Function
1 Response Timeouts # of times ITI failed to obtain a reply from the terminal
before Page Mode Timer expired.
2 LRC Errors # of block checksum errors ITI found in data coming from
the terminal.
3 Bad Text Errors # of out-of-sequence text blocks.
# of text blocks with invalid framing.
# of text blocks received when no READ is pending.
4 Illegal Reply Errors # of unsolicited replies,
# of invalid responses,
# of terminal reset sequence.
5Unused
6Unused
7Unused
8Unused