Omron C40K 用户手册

下载
页码 222
Programming Instructions and Execution Times
Appendix B
180
Name
Mnemonic
Operands
Function
Symbol
END WAIT
ENDW(62)
ENDW(62)
N
Used to force a cycle time longer than
normal causing the CPU to wait.
N:
IR
HR
TC
DM
#
NOTATION
INSERT
NETW(63)
NETW(63)
C1
C2
Used to leave comments in the pro-
gram.
#
4-TO-16
DECODER
MLPX(76)
MLPX(76)
S
Di
R
Converts up to four hexadecimal digits
in source word (S) into decimal values
from 0 to 15 and turns ON, in result
word(s) (R), bit(s) corresponding to
converted value. Digits designated in
Di digits (rightmost digit: first digit to be
converted; next digit to left: number of
digits to be converted minus 1).
S
  3       2      1      0
3
0 to F
Di
S:
IR
SR
HR
TC
DM
Di:
IR
HR
TC
DM
#
R:
IR
HR
DM
16-TO-4
ENCODER
DMPX(77)
DMPX(77)
S
R
Di
Determines position of highest ON bit in
source word(s) (starting word: S) and
turns ON corresponding bit(s) in result
word (R). Digit designations made with Di
digits (rightmost digit: first digit to receive
converted value; next digit to left: number
of words to be converted minus 1).
.
S
15
0
3
0
R     3      2      1      0
0 to F
S:
IR
SR
HR
TC
DM
R:
IR
HR
DM
Di:
IR
HR
TC
DM
#
REVERSIBLE
SHIFT REGISTER
SFT(84)
SFTR(84)
C
St
E
Shifts data in a specified word or series
of words one bit to either the left or the
right.
St/E:
IR
HR
DM
C:
IR
HR
DM
SUBROUTINE
ENTER
SBS(91)
SBS(91) N
Transfers control of a program over to
a subroutine N.
N:
00 to 15
SUBROUTINE
DEFINE
SBN(92)
SBN(92) N
Indicates the beginning of a subroutine
definition.
N:
00 to 15
Refer to table at beginning of Appendix B for page references.