EasyManuals Logo

Omron SYSMAC CP Series Instruction & Reference Manual

Omron SYSMAC CP Series
467 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 #229 background imageLoading...
Page #229 background image
2-193
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Conversion Instructions
2
MLPX
Hint
Precaution
4-to-16 bit conversion
When two or more digits are being converted, MLPX(076) will read the digits in S from right to left and
will wrap around to the rightmost digit after the leftmost digit, if necessary.
8-to-256 bit conversion
When two bytes are being converted, MLPX(076) will read the bytes in S from right to left and will wrap
around to the rightmost byte if the leftmost byte (byte 1) has been specified as the starting byte.
8-to-256 bit Conversion
When the leftmost digit of C is 1,
MLPX(076) takes the value of the speci-
fied byte in S (00 to FF) and turns ON the
corresponding bit in the range of 16 result
words. All other bits in the result words
will be turned OFF. Up to two bytes can
be converted.
As shown at right, 4 to 16 decoding con-
sists of taking the 4-bit binary value as the
bit number and setting 1 in that bit num-
ber and 0 in the other bit numbers of the
16 bits.
As shown at right, 8 to 256 decoding con-
sists of taking the 8-bit binary value as the
bit number and setting 1 in that bit num-
ber and 0 in the other bit numbers of the
256 bits.
S
R+1
R+14
R+15
R+16
R+17
R+30
R+31
P
1
m
015
16
31
224239
240255
C1 ln
pm
8-to-256 bit decoding
(Bit m of R to R+15 is turned ON.)
R=1 (Convert 2 bytes.)
n=1 (Start with second byte.)
15 0m
001
m
00
4 bits
255 0m
001
m
00
8 bits

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