Omron CS1G/H-CPUxxH Instructions Manual page 468

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Conversion Instructions
C: #0011
R
Digit 3 Digit 2
Digit 1 Digit 0
C: #0032
R
Digit 3 Digit 2
Digit 1 Digit 0
The following diagram shows some example values for C and the 16-to-4 bit
conversions that they produce.
C: #0030
R
Digit 3 Digit 2
Digit 1 Digit 0
256-to-8 bit Conversion
When the fourth (leftmost) digit of C is 1, DMPX(077) finds the locations of the
leftmost (highest bit address) or rightmost (lowest bit address) ON bits in one
or two 16-word ranges of source words. The locations of these bits are written
to R beginning with the specified byte. (Set the third digit of C to 0 to find the
leftmost ON bits or 1 to find the rightmost ON bits.)
l =0 (Convert one 16-word range.)
R
R
Digit 3 Digit 2
C
Leftmost
bit
Finds leftmost bit
(Highest bit address)
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.)
Section 3-12
C: #0013
Digit 1 Digit 0
Rightmost
bit
447

Advertisement

Table of Contents
loading

Table of Contents