Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 538

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Conversion Instructions
C: #0010
R
R+1
498
other bits in the result word will be turned OFF. Up to four digits can be con-
verted.
R
R+1
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 left-
most digit, if necessary.
The following diagram shows some example values for C and the 4-to-16 bit
conversions that they produce.
C: #0030
R
R+1
R+2
R+3
8-to-256 bit Conversion
When the leftmost digit of C is 1, MLPX(076) takes the value of the specified
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.
R+1
R+14
R+15
R+16
R+17
R+30
R+31
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.
C
l =1 (Convert 2 digits.)
n=2 (Start with third digit.)
4-to-16 bit decoding
(Bit m of R is turned ON.)
R
R+1
R+2
R+3
C
l=1 (Convert 2 bytes.)
n=1 (Start with second byte.)
8-to-256 bit decoding
(Bit m of R to R+15 is turned ON.)
16
Section 3-12
C: #0031

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents