
5. FUNCTIONAL INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
242
Alike the XMOV instruction of Section 5.31, this function instruction
instructs reading and rewriting of data in the data.
There are two differences; the numerical data handled in this instruction
are all in binary format; and number of data (table capacity) in the data
table can be specified by specifying the address, thus allowing change in
table capacity even after writing the sequence program in the ROM.
In 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 the setting of the format specification parameter
is extended. With this setting, XMOVB can read/write the multiple data
in 1 instruction. For the details of the setting of a format specification
parameter, refer to “5.32.4 Parameters”.
(a) Read data from data table
The number of data table elements : M (It specifies the storage address of number
of data table elements)
DT[0] D
DT[1] A
DT[2]
DT[3] B
DT[4]
DT[5] C
DT[M–1]
Data table:DT
I 3
Index:I
S B
Input/Output data:S
The operation of the instruction :
DT[I] ³ S
Fig. 5.32.1 (a) Read data from data table (basic specification)
5.32
XMOVB (BINARY
INDEX MODIFIER
DATA TRANSFER)
5.32.1
Function