EasyManuals Logo

Omron SYSMAC CP Series User Manual

Omron SYSMAC CP Series
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #486 background imageLoading...
Page #486 background image
Appendices
A-26
CP2E CPU Unit Software User’s Manual(W614)
DATA
ENCODER
DMPX @ FInds the location of the first or last ON bit within the source word
(or 16-word range), and writes that value to the specified digit (or
byte) in the result word.
C: Control Word
• 16-to-4 bit conversion
• 256-to-8 bit conversion
Instruction Mnemonic Variations Symbol/Operand Function
DMPX(077)
S
R
C
S: 1st source word
R: Result word
C: Control word
C
R
C
R
FInds leftmost bit
(Highest bit address)
Finds leftmost bit
(Highest bit address)
Leftmost bit Rightmost bit
Leftmost bit
16-to-4 bit conversion
l
=1 (Convert
2 words.)
16-to-4 bit decoding
(Location of leftmost
bit (m) is writ-ten to R.)
n=2 (Start with digit 2.)
256-to-8 bit conversion
l
=0 (Convert one 16-word range.)
256-to-8 bit decoding
(The location of the leftmost bit in the
16-word range (m) is written to R.)
n=1 (Start with byte 1.)
C0
8
111215
ln
03
47
Conversion process
0: 16-to-4 bits (word to digit)
Bit to encode
0: Leftmost bit (highest bit address)
1: Rightmost bit (lowest bit address)
Number of digits/bytes to be converted
0 to 3 (1 to 4 digits)
Specifies the first digit/byte
to receive converted data.
0 to 3 (digit 0 to 3)
C1
Specifies the first digit/byte
to receive converted data.
0 or 1 (byte 0 or 1)
Number of digits/bytes to be converted
0 or 1 (1 or 2bytes)
8111215
ln
03
47
Bit to encode
0: Leftmost bit (highest bit address)
1: Rightmost bit (lowest bit address)
Conversion process
1: 256-to-8 bits (16-word range to byte)

Table of Contents

Other manuals for Omron SYSMAC CP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP Series and is the answer not in the manual?

Omron SYSMAC CP Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals