
5. FUNCTIONAL INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
234
DSCH is only valid for data tables (see section 6.3) which can be used by
the PMC. DSCH searches the data table for a specified data, outputs an
address storing it counting from the beginning of the data table. If the data
cannot be found, an output is made accordingly.
Search data
Data table
100
0
1
2
n
Table internal number
100
2
Search data result output
Fig. 5.29.1
NOTE
Parameter of this functional instruction and the data table
heading address specified here are table internal number 0.
The table internal number specified here, however, is
different from that mentioned in Sec. 6.3.
Fig.5.29.2 shows the expression format and Table 5.29.2 shows the
coding format.
DSCH
(SUB 17)
RST
(1)
ffff
ffff.f
ACT
ffff.f
W1
ffff.f
(2)
ffff
(3)
ffff
Control condition
Instruction
Number of data of the data table (Table capacity)
Data table heading address
Search data address
Search data
presence/absence
output address
BYT
ffff.f
(2)
(1)
(0)
Search result output address
(4)
ffff
Fig. 5.29.2 DSCH instruction format
5.29
DSCH
(DATA SEARCH)
5.29.1
Function
5.29.2
Format