
B–61863E/15
5. FUNCTIONAL INSTRUCTIONS
PMC SEQUENCE PROGRAM
243
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 :
DT[I[n]] ³ S[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] 3 S[1] B
I[2] 5 S[2] C
I[3] 0 S[3] D
I[N–1] S[N–1]
Fig. 5.32.1 (b) Read data from 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)
(b) Write data to data table
The number of data table elements : M (It specifies the storage address of number
of data table elements)
DT[0]
DT[1]
DT[2]
DT[3] B
DT[4]
DT[5]
DT[M–1]
Data table:DT
I 3
Index:I
S B
Input/Output data:S
The operation of the instruction :
S ³ DT[I]
Fig. 5.32.1 (c) Write data to data table (basic specification)