Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 100

Table of Contents

Advertisement

2. Summary of Instructions
Instruction
Symbol/Operand
Mnemonic
Code
DATA DECODER
MLPX(076)
MLPX
@MLPX
076
S: Source word
C: Control word
R: 1st result word
64
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
S
range).
C
4-to-16 bit conversion
R
4-to-16 bit decoding
(Bit m of R is turned ON.)
R
R+1
8-to-256 bit conversion
8-to-256 bit decoding
(Bit m of R to R+15 is turned ON.)
R+1
R+14
R+15
R+16
R+17
R+30
R+31
Function
C
l=1 (Convert 2 digits.)
n=2 (Start with second digit.)
C
l=1 (Convert 2 bytes.)
n=1 (Start with first byte.)
Two 16-word ranges
are used when l
specifies 2 bytes.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Output
389
Required

Advertisement

Table of Contents
loading

Table of Contents