EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Page 147

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
107
Conversion Instructions
Section 3-10
DATA DECODER
MLPX
@MLPX
076
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
MLPX(076)
S
C
R
S: Source word
C: Control word
R: 1st result word
R+1
R+14
R+15
R+16
R+17
R+30
R+31
R
R+1
C
C
Two 16-word ranges are
used when
l
specifies 2
bytes.
8-to-256 bit decoding
(Bit m of R to R+15 is turned ON.)
n=1 (Start with first byte.)
8-to-256 bit conversion
l
=1 (Convert 2 bytes.)
n=2 (Start with second digit.)
4-to-16 bit decoding
(Bit m of R is turned ON.)
l
=1 (Convert 2 digits.)
Reads the numerical value in the specified digit (or byte) in the source
word, turns ON the corresponding bit in the result word (or 16-word
range), and turns OFF all other bits in the result word (or 16-word
range).
4-to-16 bit conversion

Table of Contents

Related product manuals