Omron CS1G/H-CPUxxH Instructions Manual page 465

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Conversion Instructions
S
C
R
S
C
R
444
C: #
Digits
S: 0100
R:
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: #
Byte 1
S: 0100
R:
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.
Bits 0 to 3: Starting byte (Byte 1)
Bits 4 to 7: Number of bytes (2 bytes)
Byte 0
Byte 1 contains 2D, so bit 13 (D)
of R+2 is turned ON.
Byte 0 contains 1A, so bit 10 (A)
of R+1 is turned ON.
Section 3-12

Advertisement

Table of Contents
loading

Table of Contents