
5. FUNCTIONAL INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
240
Table 5.31.2 XMOV instruction coding
Coding sheet Memory status of control conditions
Step
Number
Instruc-
tion
Address
No.
Bit No. Remarks ST3 ST2 ST1 ST0
1 RD fff . f BYT BYT
2 RD. STK fff . f RW BYT RW
3 RD. STK fff . f RST BYT RW RST
4 RD. STK fff . f ACT BYT RW RST ACT
5 SUB 18 XMOV instruction
6 (PRM) ffff Number of data of the data table
7 (PRM) ffff Data table heading address
8 (PRM) ffff Address storing input/output data
9 (PRM) ffff Address storing table internal number
10 WRT fff . f Error output W1
(a) Specify the number of digits of data.
BYT=0 : Data stored in the data table, BCD in two digits long.
BYT=1 : Data stored in the data table, BCD in four digits long.
(b) Specify read or write
RW=0 : Data is read from the data table.
RW=1 : Data is write in the data table.
(c) Reset
RST=0 : Release reset.
RST=1 : Enables reset, that is, sets W1 to 0.
(d) Execution command
ACT=0 : The XMOV instruction is not executed. W1 does not
change.
ACT=1 : The XMOV instruction is executed.
Specifies the size of the data table. If the beginning of the data table is 0
and the end is n, n+1 is set as the number of data of the data table.
Address that can be used in a data table are fixed. When preparing a data
table, the addresses to be used must be determined beforehand, and the
head address placed in that data table .
The input/output data storage address is the address storing the specified
data, and is external to the data table. The contents of the data table is read
or rewritten.
5.31.3
Control Conditions
5.31.4
Number of Data Of the
Data Table
5.31.5
Data Table Head
Address
5.31.6
Address Storing
Input/Output Data