EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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: #1011C: #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.

Table of Contents

Related product manuals