![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030538.webp)
498
Conversion Instructions
Section 3-12
other bits in the result word will be turned OFF. Up to four digits can be con-
verted.
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.
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.
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.
R
R+1
C
4-to-16 bit decoding
(Bit m of R is turned ON.)
n=2 (Start with third digit.)
l
=
1 (Convert 2 digits.)
C: #0010
C: #0030
C: #0031
R
R+1
R
R+1
R+2
R+3
R
R+1
R+2
R+3
R+1
R+14
R+15
R+16
R+17
R+30
R+31
C
16
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.)
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...