Mitsubishi Electronics E60 Video Game Controller User Manual


 
9. Exclusive Commands
- 198 -
9.1.10 Details of Each Command
(1) Tool No. search
This command is used to search for tool No. stored in the tool data table.
When the command tool No. is found, number of searched data and its location are output. If two
or more tool No. are found, the location of tool No. nearest to the pointer is output.
Output...
R500
R501
R530
R540
R2965
R3000
R3001
:
:
:
:
R3008
R3009
530
540
234
3
2
2
234 (0)
567 (1)
100 (2)
234 (3)
101 (8)
102 (9)
Register No. to store search data
Register No. to which data output
Search data (BCD)
Location is "3".
Number of search
data found:2
(for error)
Pointer
Tool data table head (fixed)
There are two data "234", Since location
"3" is nearest to pointer, "3" is output.
(Example for 10 magazines)
(Note 1) Pointer and location are counted up, like 0,1,2 ... 9,
in the tool data table, starting from the tool data table
head.
(Note 2) When pointer is not used, R2965 should be set to
"zero".
Ex.) MOV K0 R2965
R500
S.ATC
K1
M10
R2960
ACT
Based on the output result, the
rotation direction, the number of
steps, etc., are found by using the
ROT K1 command.
: