![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268539.webp)
500
Conversion Instructions
Section 3-12
The following diagram shows some example values for C and the 8-to-256 bit
conversions that they produce.
Flags
Examples
4-to-16 bit Conversion
When CIO 000000 is ON in the following example, MLPX(076) will convert 3
digits in S beginning with digit 1 (the second digit), as indicated by C (#0021).
The corresponding bits in D00100, D00101, and D00102 will be turned ON.
8-to-256 bit Conversion
When CIO 000000 is ON in the following example, MLPX(076) will convert the
2 bytes in S beginning with byte 1 (the leftmost byte), as indicated by C
(#1011). The corresponding bits in D00100 to D00115 and D00116 to D00131
will be turned ON.
C: #1011
C: #1010
Digit 1
Digit 0
Digit 1
Digit 0
Name
Label
Operation
Error Flag
ER
ON if C is not within the specified ranges.
OFF in all other cases.
C: #
S: 0100
R:
S
C
R
Digits
Bits 0 to 3: Starting digit (Digit 1)
Bits 4 to 7: Number of digits (3 digits)
Digit 1 contains 6, so bit 6 is turned ON.
Digit 2 contains A, so bit 10 is turned ON.
Digit 3 contains F, so bit 15 is turned ON.
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...