Omron SYSMAC CV Series Operation Manual page 241

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Conversion Instructions
For 16-bit conversion, DMPX(111) determines the position of the highest ON bit
in SB, encodes it into one-digit hexadecimal value corresponding to the bit num-
ber of the highest ON bit, then transfers the hexadecimal value to the specified
4-bit digit in R. The digits to receive the results are specified in Di, which also
specifies the number of digits to be encoded.
The following is an example of a one-digit encode operation to digit number 1 of
R, i.e., here Di would be 0001.
First source word
0
0
0
1
0
0
0
1
C transferred to indicate bit number 12 as
the highest ON bit.
Result word
C
For 256-bit conversion, DMPX(111) determines the position of the highest ON
bit in SB to SB+15, encodes it into two-digit hexadecimal value corresponding to
the bit number of the highest ON bit, then transfers the hexadecimal value to the
specified 8-bit digit in R. The first digit to receive the results is specified in Di,
which also specifies the number of digits to be encoded.
The following is an example of a one-digit encode operation to digit number 1 of
R, i.e., here Di would be 1001.
First source word: SB
0
0
0
0
0
0
0
0
SB + 1
0
1
0
0
0
0
0
0
12 transferred to indicate that the 18th bit
is the highest ON bit.
Result word
12
The number of digits (words) to be encoded and the first digit to receive con-
verted data are specified in Di. If more digits are designated than remain in R
(counting from the designated first digit), the remaining digits will be placed at
digits starting back at the beginning of R.
The final word(s) to be converted must be in the same data area as SB.
0
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Section 5-17
229

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents