Omron C500-LDP01-V1 Operation Manual page 53

Ladder program i/o unit
Table of Contents

Advertisement

Name
Mnemonic
ONE DIGIT SHIFT
RIGHT
SRD(75)
4-TO-16
DECODER
MLPX(76)
16-TO-4
ENCODER
DMPX(77)
Symbol
Shifts all data, between starting word (St)
and ending word (E), one digit (four bits) to
the right, writing zero into the leftmost digit
SRD(75)
of the ending word. St and E must be in the
E
same data area.
St
E
E -- 1
0
Converts up to four hexadecimal digits in
the source word (S), into decimal values
MLPX(76)
from 0 to 15, and turns ON the
S
corresponding bit(s) in the result word(s)
Di
(R). There is one result word for each
converted digit. Digits to be converted are
R
designated by Di. (The rightmost digit
specifies the first digit. The next digit to the
left gives the number of digits to be
converted minus 1. The two leftmost digits
are not used.)
S
R
Determines the position of the leftmost ON
bit in the source word(s) (starting word: S)
DMPX(77)
and turns ON the corresponding bit(s) in
S
the specified digit of the result word (R).
One digit is used for each source word.
R
Digits to receive the converted values are
Di
designated by Di. (The rightmost digit
specifies the first digit. The next digit to left
gives the number of words to be converted
minus 1. The two leftmost digits are not
used.)
Function
St
0 to F
15
00
15
00
S
R
0 to F
Appendix C
Operand Data Areas
St/E:
IR
Work bits (except word 12)
DM
S:
Di:
R:
IR
IR
IR
SR
Work
Work
Work
bits (ex-
bits
bits
cept
(ex-
TC
word
cept
DM
12)
word
TC
12)
DM
DM
#
S:
R:
Di:
IR
IR
IR
SR
Work
Work
Work
bits (ex-
bits
bits
cept
(ex-
TC
word
cept
DM
12)
word
DM
12)
TC
DM
#

Advertisement

Table of Contents
loading

Table of Contents