
5. FUNCTIONAL INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
244
DT[0] D
DT[1]
DT[2]
DT[3]
DT[4]
DT[5]
DT[M–1]
Data table:DT
I[0] 1
Index
array:I
S[0] A
Input/Output
data array:S
The operation of the instruction :
S[n] ³ DT[I[n]] (n=0,1,2, . . . ,N–1)
The number of data table elements : M (It specifies the storage address of number
of data table elements)
The number of index array elements : N (It specifies the format specification)
A
B
C
I[1] 3S[1] B
I[2] 5S[2] C
I[3] 0S[3] D
I[N–1]S[N–1]
Fig. 5.32.1 (d) Write data to data table (expended specification)
(only for PMC–SB5/SB6/SB7 for Series 16i/160i/18i/180i Power Mate i,
PMC–SA5/SB6/SB7 for Series 21i/210i, PMC–SB7 for Series 0i–B, and
PMC–NB6 for Series 15i)
XMOVB
(SUB 35)
RST
f
Format
designa
–tion
ACT
W1
ffff
Storage
address
of
number
of data
in data
table
ffff
Data
table
head
address
DT[ ]
RW
ffff
I/O data
storage
address
S
ffff
Table
number
storage
address
I
Fig. 5.32.2 (a) XMOVB instruction format
XMOVB
(SUB 35)
RST
ffff
Format
designa
–tion
ACT
W1
ffff
Storage
address
of
number
of data
in data
table
ffff
Data
table
head
address
DT[ ]
RW
ffff
I/O data
storage
address
S[ ]
ffff
Table
number
storage
address
I[ ]
Fig. 5.32.2 (b) XMOVB (expended specification)
(only for PMC–SB5/SB6/SB7 for Series 16i/160i/18i/180i Power Mate i, PMC–SA5 for Series 21i/210i,
PMC–SB7 for Series 0i–B, and PMC–NB6 for Series 15i)
5.32.2
Format