![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030539.webp)
499
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.
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...