B-63983EN/02 5.WINDOW FUNCTIONS
- 603 -
[Detailed completion codes]
The detailed completion code is always 0 when the completion code is
other than 3.
When the completion code is 3, the detailed completion code is one of
the following values:
21: The cartridge number is invalid.
22: The pot number is invalid.
[Output data structure]
Top address + 0
+2
+4
+6
+8
+10
(Function code)
330
(Completion code)
See the above explanation of
the completion codes.
(Data length)
4
(Data number)
Cartridge number
(Data attribute)
Search direction
(Data number 2)
Pot number
+12
+14
+16
(Detailed completion code)
See the above explanation of the
detailed completion codes.
Cartridge number (2 bytes)
Pot number (2 bytes)
If the search direction is not specified and if free pots are found at the
same distance in both forward and backward directions, the one found
in the forward direction takes precedence.