![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.
Содержание 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 ...